Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:FrontRunner
p7zip.34730
CVE-2021-3465.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CVE-2021-3465.patch of Package p7zip.34730
Index: p7zip_16.02/CPP/7zip/Common/StreamObjects.cpp =================================================================== --- p7zip_16.02.orig/CPP/7zip/Common/StreamObjects.cpp +++ p7zip_16.02/CPP/7zip/Common/StreamObjects.cpp @@ -157,6 +157,8 @@ STDMETHODIMP CDynBufSeqOutStream::Write( STDMETHODIMP CBufPtrSeqOutStream::Write(const void *data, UInt32 size, UInt32 *processedSize) { + if(_buffer == nullptr || _size == _pos) + return E_FAIL; size_t rem = _size - _pos; if (rem > size) rem = (size_t)size;
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