From 782b17ccc4a134ea12d65136ec71a6baaf21c028 Mon Sep 17 00:00:00 2001 From: Jon Ciesla Date: Thu, 11 Apr 2013 07:48:25 -0500 Subject: [PATCH] Add the patch. --- LibRaw-0.14.7-segfault.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 LibRaw-0.14.7-segfault.patch diff --git a/LibRaw-0.14.7-segfault.patch b/LibRaw-0.14.7-segfault.patch new file mode 100644 index 0000000..6c8a8c0 --- /dev/null +++ b/LibRaw-0.14.7-segfault.patch @@ -0,0 +1,11 @@ +--- internal/dcraw_common.cpp~ 2012-06-27 11:39:05.000000000 -0500 ++++ internal/dcraw_common.cpp 2013-04-11 07:09:04.594518113 -0500 +@@ -7277,7 +7277,7 @@ + if (table[i].t_black) black = (ushort) table[i].t_black; + if (table[i].t_maximum) maximum = (ushort) table[i].t_maximum; + if (table[i].trans[0]) { +- for (j=0; j < 12; j++) ++ for (j=0; j < 3; j++) + #ifdef LIBRAW_LIBRARY_BUILD + imgdata.color.cam_xyz[0][j] = + #endif