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
./
147
N/A
---
IlmImf/ImfAutoArray.h
2007-04-23 18:26:56.000000000 -0700
147
N/A
+++
IlmImf/ImfAutoArray.h
2011-02-15 09:55:03.919979903 -0800
147
N/A
@@ -57,7 +57,9 @@
147
N/A
{
147
N/A
public:
147
N/A
147
N/A
- AutoArray (): _data (new T [size]) {}
147
N/A
+ AutoArray (): _data (new T [size])
147
N/A
+ { (void) memset(_data, '\0', size * sizeof(T)); }
147
N/A
+
147
N/A
~AutoArray () {delete [] _data;}
147
N/A
147
N/A
operator T * () {return _data;}