From 1ec1b12864c60b9cc6750c7f175a9262f2efd558 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 17 Mar 2013 13:16:14 -0400 Subject: [PATCH] Improve idea for corrupted stream handling --- TODO | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index b56dba8..97e7d2c 100644 --- a/TODO +++ b/TODO @@ -16,9 +16,11 @@ - Files that have no whitespace token after "endobj" such that endobj collides with the start of the next object - - Files with individual corrupted streams. Just replace the - streams with empty streams or possibly uncompress as much as - possible + - Files with individual corrupted streams. Just leave the streams + unfiltered after giving a warning, or maybe do something else + like applying as many of the filters as possible, etc. + QPDFWriter can have some kind of retry mechanism on streams + where filtering fails after filterable returns true. - Files whose PDF header is malformed, perhaps with no version number (as literally %PDF-a.b). Maybe keep track of features to -- libgit2 0.21.4