python/cryptography: native 64-bit build
[unleashed-userland.git] / components / openexr / patches / 004-openexr-1.6.1-CVE-2009-1721.patch
blobf67c34e99b93349bbaa3daed4c756b92315d98e6
1 --- IlmImf/ImfAutoArray.h 2007-04-23 18:26:56.000000000 -0700
2 +++ IlmImf/ImfAutoArray.h 2011-02-15 09:55:03.919979903 -0800
3 @@ -57,7 +57,9 @@
5 public:
7 - AutoArray (): _data (new T [size]) {}
8 + AutoArray (): _data (new T [size])
9 + { (void) memset(_data, '\0', size * sizeof(T)); }
11 ~AutoArray () {delete [] _data;}
13 operator T * () {return _data;}