freebsd-ports/graphics/rawtherapee/files/patch-CVE-2015-3885
Matthias Andree 4379d3cdda Fix CVE-2015-3885.
PR:		200198
Security:	CVE-2015-3885
2015-05-16 00:46:46 +00:00

13 lines
343 B
Text

diff -r 0536e53bb7f3 -r 0440e663ae7f rtengine/dcraw.cc
--- ./rtengine/dcraw.cc Thu May 14 14:16:01 2015 +0200
+++ ./rtengine/dcraw.cc Thu May 14 19:04:32 2015 +0200
@@ -787,7 +787,8 @@
int CLASS ljpeg_start (struct jhead *jh, int info_only)
{
- int c, tag, len;
+ int c, tag;
+ ushort len;
uchar data[0x10000];
const uchar *dp;