diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-30 11:28:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-08-30 17:53:56 +0200 |
commit | 34f54a86d02513c1859ca9529da7b2d3a3eb9bb1 (patch) | |
tree | c7c157d1d7e05a699b0abaa4d2e1683819a6d33a /vcl/source/bitmap/dibtools.cxx | |
parent | 0c7b733c2b9f2454717f94e2ae3b483e1bd3e830 (diff) |
ofz: MemorySanitizer: use-of-uninitialized-value
Change-Id: I931c104c2b0072146580996b6adc0bb36f328083
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121294
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/bitmap/dibtools.cxx')
-rw-r--r-- | vcl/source/bitmap/dibtools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/bitmap/dibtools.cxx b/vcl/source/bitmap/dibtools.cxx index 17e5c51c88ca..6665d09daa41 100644 --- a/vcl/source/bitmap/dibtools.cxx +++ b/vcl/source/bitmap/dibtools.cxx @@ -1771,7 +1771,7 @@ bool ReadDIBBitmapEx( tools::GenericTypeSerializer aSerializer(rIStm); aSerializer.readColor(aTransparentColor); - bRetval = !rIStm.GetError(); + bRetval = rIStm.good(); if(bRetval) { |