vcl/source/filter/jpeg/jpegc.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit f3fc5bfaf902052b9e0a1b6e162f9ed836efd090
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Mon May 27 21:32:32 2024 +0100
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Tue May 28 20:46:13 2024 +0200

    ofz: Use-of-uninitialized-value
    
    Change-Id: Ib5220d2f44344455e6333f24b0dc2a20e5f9b0ac
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168126
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Tested-by: Jenkins

diff --git a/vcl/source/filter/jpeg/jpegc.cxx b/vcl/source/filter/jpeg/jpegc.cxx
index d225d135d5c7..bc8a656c890f 100644
--- a/vcl/source/filter/jpeg/jpegc.cxx
+++ b/vcl/source/filter/jpeg/jpegc.cxx
@@ -51,6 +51,11 @@ struct ErrorManagerStruct
 {
     jpeg_error_mgr pub;
     jmp_buf setjmp_buffer;
+
+    ErrorManagerStruct()
+    {
+        pub.msg_parm = {};
+    }
 };
 
 }

Reply via email to