Author: post
Date: 2013-09-10 22:44:24 +0200 (Tue, 10 Sep 2013)
New Revision: 572

Modified:
   RawSpeed/DngOpcodes.h
Log:
Fix too small buffer, reported by  David Binderman.

Modified: RawSpeed/DngOpcodes.h
===================================================================
--- RawSpeed/DngOpcodes.h       2013-08-27 19:48:25 UTC (rev 571)
+++ RawSpeed/DngOpcodes.h       2013-09-10 20:44:24 UTC (rev 572)
@@ -143,7 +143,7 @@
   virtual void apply(RawImage &in, RawImage &out, int startY, int endY);
 private:
   int mFirstPlane, mPlanes, mRowPitch, mColPitch;
-  ushort16 mLookup[65535];
+  ushort16 mLookup[65536];
 };
 
 class OpcodeMapPolynomial: public DngOpcode
@@ -156,7 +156,7 @@
 private:
   int mFirstPlane, mPlanes, mRowPitch, mColPitch, mDegree;
   double mCoefficient[9];
-  ushort16 mLookup[65535];
+  ushort16 mLookup[65536];
 };
 
 class OpcodeDeltaPerRow: public DngOpcode


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to