From: Robert Luberda Date: Sat, 19 Nov 2016 08:48:08 +0100 Subject: Fix nullptr dereference (CVE-2016-9296) Patch taken from https://sourceforge.net/p/p7zip/bugs/185/ This patch file taken from Debian's patch set for p7zip --- CPP/7zip/Archive/7z/7zIn.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CPP/7zip/Archive/7z/7zIn.cpp b/CPP/7zip/Archive/7z/7zIn.cpp index b0c6b98..7c6dde2 100644 --- a/CPP/7zip/Archive/7z/7zIn.cpp +++ b/CPP/7zip/Archive/7z/7zIn.cpp @@ -1097,7 +1097,8 @@ HRESULT CInArchive::ReadAndDecodePackedStreams( if (CrcCalc(data, unpackSize) != folders.FolderCRCs.Vals[i]) ThrowIncorrect(); } - HeadersSize += folders.PackPositions[folders.NumPackStreams]; + if (folders.PackPositions) + HeadersSize += folders.PackPositions[folders.NumPackStreams]; return S_OK; } ='submit' value='switch'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/system/hurd.scm
AgeCommit message (Expand)Author
2023-07-13system: hurd: Add netdde to %base-packages/hurd....Janneke Nieuwenhuizen
2023-06-17gnu: Use target-hurd?, system-hurd? instead of hurd-target?, hurd-system?....Janneke Nieuwenhuizen
2023-03-30system: hurd: Use shepherd-0.8 in the package list....Josselin Poiret
2023-03-03services: base: Deprecate 'syslog-service' procedure....Bruno Victal
2022-11-28system: hurd: Create more ttys....Ludovic Courtès
2022-04-08system: hurd: Fix bogus 'initrd-modules' field....Ludovic Courtès
2022-03-09system: hurd: Move the Shepherd before the Hurd in %BASE-PACKAGES/HURD....Ludovic Courtès