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');