diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-05-27 21:32:32 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-05-28 20:46:13 +0200 |
commit | f3fc5bfaf902052b9e0a1b6e162f9ed836efd090 (patch) | |
tree | ed44138f98b7276bad4ab094af7176fc51d9d6a1 | |
parent | 8a5f822897434cffe1991325ea18014734bfa24e (diff) |
ofz: Use-of-uninitialized-value
Change-Id: Ib5220d2f44344455e6333f24b0dc2a20e5f9b0ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168126
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
-rw-r--r-- | vcl/source/filter/jpeg/jpegc.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
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 = {}; + } }; } |