From 35c674b633fa7521094f41ccf848f1f32190a9d9 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 20 Mar 2023 10:11:05 -0400 Subject: [PATCH] Fix another build issue. --- CHANGES.md | 4 ++-- testpdfio.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 620c14a..f607e06 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,8 +5,8 @@ Changes in PDFio v1.1.1 (March 20, 2023) ----------------------- -- CVE-2023-NNNNN: Fixed a potential denial-of-service with corrupt PDF files. -- Fixed a build issue. +- CVE-2023-28428: Fixed a potential denial-of-service with corrupt PDF files. +- Fixed a few build issues. v1.1.0 (February 6, 2023) diff --git a/testpdfio.c b/testpdfio.c index 64d0c49..18ea175 100644 --- a/testpdfio.c +++ b/testpdfio.c @@ -406,7 +406,7 @@ do_test_file(const char *filename, // I - PDF filename filter = pdfioDictGetName(dict, "Filter"); - if ((st = pdfioObjOpenStream(obj, (filter && !strcmp(filter, "FlateDecode")) ? PDFIO_FILTER_FLATE : PDFIO_FILTER_NONE)) == NULL) + if ((st = pdfioObjOpenStream(obj, filter && !strcmp(filter, "FlateDecode"))) == NULL) { _pdfioValueDebug(&obj->value, stdout); putchar('\n');