2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 02:49:00 +00:00

Update TODO.md with pages tree / fuzz discussions

Also, remove closed fuzz cases.
This commit is contained in:
m-holger 2024-07-19 12:48:21 +01:00
parent 9ce18e41f4
commit 16fe38b8e3

View File

@ -201,8 +201,7 @@ Fuzz Errors
* https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=<N> * https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=<N>
* Ignoring these: * See also [discussion](https://github.com/qpdf/qpdf-dev/discussions/6).
* Out of memory in dct: 35001, 32516
External Libraries External Libraries
================== ==================
@ -396,6 +395,8 @@ so, I find it useful to make reference to them in this list.
API. Move as many of the test drivers from the qpdf directory into the latter category as long as API. Move as many of the test drivers from the qpdf directory into the latter category as long as
doing so isn't too troublesome from a coverage standpoint. doing so isn't too troublesome from a coverage standpoint.
* Refactor pages tree. See [discussion](https://github.com/qpdf/qpdf-dev/discussions/10).
* Consider generating a non-flat pages tree before creating output to better handle files with lots * Consider generating a non-flat pages tree before creating output to better handle files with lots
of pages. If there are more than 256 pages, add a second layer with the second layer nodes having of pages. If there are more than 256 pages, add a second layer with the second layer nodes having
no more than 256 nodes and being as evenly sizes as possible. Don't worry about the case of more no more than 256 nodes and being as evenly sizes as possible. Don't worry about the case of more
@ -584,6 +585,8 @@ time but subsequent implementations of std::shared_ptr became much more efficien
QPDFPagesTree QPDFPagesTree
============= =============
See also [discussion](https://github.com/qpdf/qpdf-dev/discussions/10).
On a few occasions, I have considered implementing a QPDFPagesTree object that would allow the On a few occasions, I have considered implementing a QPDFPagesTree object that would allow the
document's original page tree structure to be preserved. See comments at the top QPDF_pages.cc for document's original page tree structure to be preserved. See comments at the top QPDF_pages.cc for
why this was abandoned. why this was abandoned.