2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-23 11:28:56 +00:00

Improve idea for corrupted stream handling

This commit is contained in:
Jay Berkenbilt 2013-03-17 13:16:14 -04:00
parent 77a35e0870
commit 1ec1b12864

8
TODO
View File

@ -16,9 +16,11 @@
- Files that have no whitespace token after "endobj" such that - Files that have no whitespace token after "endobj" such that
endobj collides with the start of the next object endobj collides with the start of the next object
- Files with individual corrupted streams. Just replace the - Files with individual corrupted streams. Just leave the streams
streams with empty streams or possibly uncompress as much as unfiltered after giving a warning, or maybe do something else
possible 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 - Files whose PDF header is malformed, perhaps with no version
number (as literally %PDF-a.b). Maybe keep track of features to number (as literally %PDF-a.b). Maybe keep track of features to