emfio/source/reader/wmfreader.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 05335fa0ca398b92726d5e892cc1fb156f43a014 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Sep 2 11:01:51 2021 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Fri Sep 3 10:03:23 2021 +0200 ofz: MemorySanitizer: use-of-uninitialized-value Change-Id: I3eaf680052ada10b6a6e8fded6e806d6045d0fac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121538 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/emfio/source/reader/wmfreader.cxx b/emfio/source/reader/wmfreader.cxx index 62f03fc8df25..5c8a4d095a39 100644 --- a/emfio/source/reader/wmfreader.cxx +++ b/emfio/source/reader/wmfreader.cxx @@ -1413,7 +1413,7 @@ namespace emfio if (bPlaceable) { //TODO do some real error handling here - sal_Int16 nVal; + sal_Int16 nVal(0); // Skip reserved bytes mpInputStream->SeekRel(2);