[Libreoffice-commits] core.git: vcl/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Aug 26 09:12:33 UTC 2021
vcl/source/filter/iras/iras.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ca04310f3149e85cf4aaa0728168263f9c54f953
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Aug 24 20:47:30 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Aug 26 11:11:58 2021 +0200
ofz: MemorySanitizer: use-of-uninitialized-value
Change-Id: I8bac670cb289d7b8636535c1b1fb2f4fc9f03afe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120965
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/source/filter/iras/iras.cxx b/vcl/source/filter/iras/iras.cxx
index cc0c2a5062a9..49cfe2bef2cc 100644
--- a/vcl/source/filter/iras/iras.cxx
+++ b/vcl/source/filter/iras/iras.cxx
@@ -365,7 +365,7 @@ bool RASReader::ImplReadBody(vcl::bitmap::RawBitmap& rBitmap, std::vector<Color>
sal_uInt8 RASReader::ImplGetByte()
{
- sal_uInt8 nRetVal;
+ sal_uInt8 nRetVal(0);
if ( mnType != RAS_TYPE_BYTE_ENCODED )
{
m_rRAS.ReadUChar( nRetVal );
More information about the Libreoffice-commits
mailing list