[Libreoffice-commits] core.git: Branch 'libreoffice-7-2' - vcl/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Aug 25 08:01:25 UTC 2021
vcl/source/filter/iras/iras.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d230a5caa7af87b9a2f5a642e7502f5b10cd952b
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Aug 24 20:47:30 2021 +0100
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Wed Aug 25 10:00:51 2021 +0200
ofz: MemorySanitizer: use-of-uninitialized-value
Change-Id: I8bac670cb289d7b8636535c1b1fb2f4fc9f03afe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120891
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>
diff --git a/vcl/source/filter/iras/iras.cxx b/vcl/source/filter/iras/iras.cxx
index 415e3224d6fb..128255fed025 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