diff options
author | Fneufneu <fneufneu@xbmc.org> | 2015-05-15 15:55:52 +0200 |
---|---|---|
committer | Fneufneu <fneufneu@xbmc.org> | 2015-05-15 15:55:52 +0200 |
commit | 78a4b8f9e23f2c3dffe198f71730917308605298 (patch) | |
tree | d75b6fd24ba23d2e9fe23c8daf1bb48868dfc7db /lib | |
parent | a7769c603a017706253271daf802364d34087618 (diff) |
Avoid overflow in ljpeg_start().
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cximage-6.0/raw/dcraw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/cximage-6.0/raw/dcraw.c b/lib/cximage-6.0/raw/dcraw.c index 45cd7a96b4..5ab24987a9 100644 --- a/lib/cximage-6.0/raw/dcraw.c +++ b/lib/cximage-6.0/raw/dcraw.c @@ -820,7 +820,8 @@ struct jhead { int CLASS ljpeg_start (struct jhead *jh, int info_only) { - int c, tag, len; + int c, tag; + ushort len; uchar data[0x10000], *dp; init_decoder(); |