diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2015-04-25 20:14:26 +0200 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-04-25 20:14:26 +0200 |
commit | 02bfb82da0dc693a6c14d25d65f47b5630e3db15 (patch) | |
tree | 4657d6f87111ff015b2605c33b7b44de65085c1c | |
parent | eaf9822094ac02631216ab0b79849392034b9f8f (diff) | |
download | efl-02bfb82da0dc693a6c14d25d65f47b5630e3db15.tar.gz |
eet: fix interger overflow
CID 1256196
-rw-r--r-- | src/lib/eet/eet_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eet/eet_lib.c b/src/lib/eet/eet_lib.c index ef4d75c7f5..129e93fbd5 100644 --- a/src/lib/eet/eet_lib.c +++ b/src/lib/eet/eet_lib.c @@ -1701,7 +1701,7 @@ _base64_dec(const char *file, int *size_ret) if (tmp) { - int len = _b64_dec(tmp, buf, end - buf); + size_t len = _b64_dec(tmp, buf, end - buf); char *str = malloc(end - buf + 1); strncpy(str, buf, end - buf); str[end - buf] = 0; |