From 9520ff2c4d08123490496a914f2d4c1a2039d258 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 28 Aug 2024 08:39:52 +0100 Subject: cid#1618667 Uninitialized pointer field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iaf23214c6931d068b37dbb04cfc73ae7f9a3d7ad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172506 Reviewed-by: Caolán McNamara Tested-by: Jenkins --- package/source/zipapi/Inflater.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package/source') 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 */ -- cgit