diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-04-09 20:16:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-04-09 20:16:16 +0100 |
commit | 1b04d59eb8d3411111ee393289d2c0703c68643c (patch) | |
tree | 98117ce0ff06437622993251bffd3a75ec967a8e /include/oox | |
parent | b5a33af1989b92285c89cc108806f296afea33c7 (diff) |
valgrind: use of uninitialized data on load of ooo98646-1.doc
Change-Id: If6aab00a5b2283376a04b70580df6c1c4e5304a2
Diffstat (limited to 'include/oox')
-rw-r--r-- | include/oox/helper/binaryinputstream.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oox/helper/binaryinputstream.hxx b/include/oox/helper/binaryinputstream.hxx index 4655b8ab250f..88e9033be26d 100644 --- a/include/oox/helper/binaryinputstream.hxx +++ b/include/oox/helper/binaryinputstream.hxx @@ -213,7 +213,7 @@ typedef std::shared_ptr< BinaryInputStream > BinaryInputStreamRef; template< typename Type > Type BinaryInputStream::readValue() { - Type ornValue; + Type ornValue = Type(); readMemory( &ornValue, static_cast< sal_Int32 >( sizeof( Type ) ), sizeof( Type ) ); ByteOrderConverter::convertLittleEndian( ornValue ); return ornValue; |