[Libreoffice-commits] core.git: vcl/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Aug 30 14:14:29 UTC 2021
vcl/source/filter/ipbm/ipbm.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 6e4f728dc93a4e849d2396bacd672e2df3274cc1
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Aug 30 12:34:00 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Aug 30 16:13:56 2021 +0200
ofz: MemorySanitizer: use-of-uninitialized-value
Change-Id: Ifb7e4d51ee946ceb62abf7e5d30da0f04c49282e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121302
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/source/filter/ipbm/ipbm.cxx b/vcl/source/filter/ipbm/ipbm.cxx
index 87065a81c1ba..37736a48f36f 100644
--- a/vcl/source/filter/ipbm/ipbm.cxx
+++ b/vcl/source/filter/ipbm/ipbm.cxx
@@ -177,11 +177,11 @@ bool PBMReader::ImplReadHeader()
}
while ( !bFinished )
{
+ mrPBM.ReadUChar( nDat );
+
if (!mrPBM.good())
return false;
- mrPBM.ReadUChar( nDat );
-
if ( nDat == '#' )
{
mbRemark = true;
More information about the Libreoffice-commits
mailing list