summaryrefslogtreecommitdiff
path: root/package/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-28 08:39:52 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-28 12:16:38 +0200
commit9520ff2c4d08123490496a914f2d4c1a2039d258 (patch)
tree3b821ad160c31c61b7a8334d2c0232b890decc5c /package/source
parentffcd44ce7c109ca6daf9b9a339609af92f163ecf (diff)
cid#1618667 Uninitialized pointer field
Change-Id: Iaf23214c6931d068b37dbb04cfc73ae7f9a3d7ad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172506 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'package/source')
-rw-r--r--package/source/zipapi/Inflater.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/source/zipapi/Inflater.cxx b/package/source/zipapi/Inflater.cxx
index 7867259aa764..acabee88fb45 100644
--- a/package/source/zipapi/Inflater.cxx
+++ b/package/source/zipapi/Inflater.cxx
@@ -139,7 +139,8 @@ InflaterBytes::InflaterBytes(bool bNoWrap)
bNeedDict(false),
nOffset(0),
nLength(0),
- nLastInflateError(0)
+ nLastInflateError(0),
+ sInBuffer(nullptr)
{
pStream.reset(new z_stream);
/* memset to 0 to set zalloc/opaque etc */