Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
p7zip
p7zip-9.20.1-CVE-2016-2335.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File p7zip-9.20.1-CVE-2016-2335.patch of Package p7zip
Index: p7zip_15.14.1/CPP/7zip/Archive/Udf/UdfIn.cpp =================================================================== --- p7zip_15.14.1.orig/CPP/7zip/Archive/Udf/UdfIn.cpp +++ p7zip_15.14.1/CPP/7zip/Archive/Udf/UdfIn.cpp @@ -389,7 +389,11 @@ HRESULT CInArchive::ReadFileItem(int vol return S_FALSE; CFile &file = Files.Back(); const CLogVol &vol = LogVols[volIndex]; - CPartition &partition = Partitions[vol.PartitionMaps[lad.Location.PartitionRef].PartitionIndex]; + unsigned partitionRef = lad.Location.PartitionRef; + + if (partitionRef >= vol.PartitionMaps.Size()) + return S_FALSE; + CPartition &partition = Partitions[vol.PartitionMaps[partitionRef].PartitionIndex]; UInt32 key = lad.Location.Pos; UInt32 value;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor