components/openexr/patches/004-openexr-1.6.1-CVE-2009-1721.patch
changeset 7697 8a41b565423d
parent 7696 3d9ec1a1fe4e
child 7698 3e4a47d57825
--- a/components/openexr/patches/004-openexr-1.6.1-CVE-2009-1721.patch	Tue Feb 14 16:38:32 2017 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
---- IlmImf/ImfAutoArray.h	2007-04-23 18:26:56.000000000 -0700
-+++ IlmImf/ImfAutoArray.h	2011-02-15 09:55:03.919979903 -0800
-@@ -57,7 +57,9 @@
-     {
-       public:
- 
--	 AutoArray (): _data (new T [size]) {}
-+	AutoArray (): _data (new T [size])
-+	{ (void) memset(_data, '\0', size * sizeof(T)); }
-+
- 	~AutoArray () {delete [] _data;}
- 
- 	operator T * ()			{return _data;}