summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorsj <sj@openoffice.org>2010-07-22 13:19:35 +0200
committersj <sj@openoffice.org>2010-07-22 13:19:35 +0200
commit5168f157283efd30a48dbfc767a4ff726ce77ed3 (patch)
tree2d1ee89f367846cb532c4b9d439834808c1440f9 /svtools
parenta1e6cecc361c2f6e26ee6738231184022f6b18dd (diff)
impress196: #i111356# applied patch (uninitialized buffer)
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/filter.vcl/filter/filter2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/filter.vcl/filter/filter2.cxx b/svtools/source/filter.vcl/filter/filter2.cxx
index de2bef64ba6e..6abab2626516 100644
--- a/svtools/source/filter.vcl/filter/filter2.cxx
+++ b/svtools/source/filter.vcl/filter/filter2.cxx
@@ -1201,7 +1201,7 @@ BOOL GraphicDescriptor::ImpDetectPCT( SvStream& rStm, BOOL )
nFormat = GFF_PCT;
else
{
- BYTE sBuf[4];
+ BYTE sBuf[3]={0};
rStm.Seek( nStmPos + 522 );
rStm.Read( sBuf, 3 );