Cross Reference: 004-openexr-1.6.1-CVE-2009-1721.patch
xref
: /
solaris-userland
/
components
/
openexr
/
patches
/
004-openexr-1.6.1-CVE-2009-1721.patch
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
004-openexr-1.6.1-CVE-2009-1721.patch revision 147
213
N/A
---
IlmImf/ImfAutoArray.h
2007-04-23 18:26:56.000000000 -0700
213
N/A
+++
IlmImf/ImfAutoArray.h
2011-02-15 09:55:03.919979903 -0800
213
N/A
@@ -57,7 +57,9 @@
213
N/A
{
213
N/A
public:
213
N/A
213
N/A
- AutoArray (): _data (new T [size]) {}
213
N/A
+ AutoArray (): _data (new T [size])
213
N/A
+ { (void) memset(_data, '\0', size * sizeof(T)); }
213
N/A
+
213
N/A
~AutoArray () {delete [] _data;}
213
N/A
213
N/A
operator T * () {return _data;}
213
N/A