Commit 1ec1b12864c60b9cc6750c7f175a9262f2efd558

Authored by Jay Berkenbilt
1 parent 77a35e08

Improve idea for corrupted stream handling

Showing 1 changed file with 5 additions and 3 deletions
... ... @@ -16,9 +16,11 @@
16 16 - Files that have no whitespace token after "endobj" such that
17 17 endobj collides with the start of the next object
18 18  
19   - - Files with individual corrupted streams. Just replace the
20   - streams with empty streams or possibly uncompress as much as
21   - possible
  19 + - Files with individual corrupted streams. Just leave the streams
  20 + unfiltered after giving a warning, or maybe do something else
  21 + like applying as many of the filters as possible, etc.
  22 + QPDFWriter can have some kind of retry mechanism on streams
  23 + where filtering fails after filterable returns true.
22 24  
23 25 - Files whose PDF header is malformed, perhaps with no version
24 26 number (as literally %PDF-a.b). Maybe keep track of features to
... ...