[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - vcl/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Apr 6 10:15:40 UTC 2021
vcl/source/filter/ipdf/pdfread.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 3607b1a5c229b87174a7ea2fb80af0e783cbff54
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Apr 1 21:25:10 2021 +0100
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Tue Apr 6 12:15:08 2021 +0200
ofz#32796: no pdfium during wmf fuzzing
Change-Id: I418615dd68618bb8623a052cf52a85b917d4382d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113492
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113527
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>
diff --git a/vcl/source/filter/ipdf/pdfread.cxx b/vcl/source/filter/ipdf/pdfread.cxx
index a36eacbfd41a..80f207a68196 100644
--- a/vcl/source/filter/ipdf/pdfread.cxx
+++ b/vcl/source/filter/ipdf/pdfread.cxx
@@ -74,6 +74,8 @@ bool getCompatibleStream(SvStream& rInStream, SvStream& rOutStream)
{
// Downconvert to PDF-1.6.
auto pPdfium = vcl::pdf::PDFiumLibrary::get();
+ if (!pPdfium)
+ return false;
// Read input into a buffer.
SvMemoryStream aInBuffer;
More information about the Libreoffice-commits
mailing list