Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:GA
poppler-qt5
CVE-2018-19058.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CVE-2018-19058.patch of Package poppler-qt5
From 6912e06d9ab19ba28991b5cab3319d61d856bd6d Mon Sep 17 00:00:00 2001 From: Adam Reichold <adam.reichold@t-online.de> Date: Tue, 6 Nov 2018 09:00:02 +0100 Subject: [PATCH] Check for stream before calling stream methods when saving an embedded file. Closes #659 --- poppler/FileSpec.cc | 3 +++ 1 file changed, 3 insertions(+) Index: poppler-0.62.0/poppler/FileSpec.cc =================================================================== --- poppler-0.62.0.orig/poppler/FileSpec.cc 2017-12-03 19:25:06.000000000 +0000 +++ poppler-0.62.0/poppler/FileSpec.cc 2019-03-20 11:20:50.360442049 +0000 @@ -92,6 +92,9 @@ GBool EmbFile::save(const char *path) { GBool EmbFile::save2(FILE *f) { int c; + if (unlikely(!m_objStr.isStream())) + return false; + m_objStr.streamReset(); while ((c = m_objStr.streamGetChar()) != EOF) { fputc(c, f);
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