Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Staging:N
exempi
CVE-2018-12648.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CVE-2018-12648.patch of Package exempi
The WEBP::GetLE32 function in XMPFiles/source/FormatSupport/WEBP_Support.hpp in Exempi 2.4.5 has a NULL pointer dereference. https://bugs.freedesktop.org/show_bug.cgi?id=106981 #9Signed-off-by: 's avatarVictor Rodriguez <victor.rodriguez.bahena@intel.com> Signed-off-by: Hubert Figuiere's avatarHubert Figuière <hub@figuiere.net> diff --git a/XMPFiles/source/FormatSupport/WEBP_Support.cpp b/XMPFiles/source/FormatSupport/WEBP_Support.cpp index ffaf220..4fe705b 100644 --- a/XMPFiles/source/FormatSupport/WEBP_Support.cpp +++ b/XMPFiles/source/FormatSupport/WEBP_Support.cpp @@ -160,9 +160,11 @@ bool VP8XChunk::xmp() } void VP8XChunk::xmp(bool hasXMP) { - XMP_Uns32 flags = GetLE32(&this->data[0]); - flags ^= (-hasXMP ^ flags) & (1 << XMP_FLAG_BIT); - PutLE32(&this->data[0], flags); + if (&this->data[0] != NULL) { + XMP_Uns32 flags = GetLE32(&this->data[0]); + flags ^= (-hasXMP ^ flags) & (1 << XMP_FLAG_BIT); + PutLE32(&this->data[0], flags); + } } Container::Container(WEBP_MetaHandler* handler) : Chunk(NULL, handler)
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