1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/multimedia/kodi/files/patch-lib_cximage-6.0_raw_dcraw.c
Xin LI 9a8324cb89 Fix CVE-2015-3885.
PR:		200200
Submitted by:	maintainer
Reported by:	Sevan Janiyan
Tested by:	Jason Unovitch
Security:	57325ecf-facc-11e4-968f-b888e347c638
Security:	CVE-2015-3885
MFH:		2015Q2
2015-06-01 07:29:02 +00:00

13 lines
290 B
C

--- lib/cximage-6.0/raw/dcraw.c.orig 2015-03-26 18:25:20 UTC
+++ 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();