fix(pdf): candidates sorted by data offset, JSON depth pre-scan before parse, budget wording; chore(memory): BLK-009 mitigated with gate, EVAL-014, journal, TODO, CLAUDE.md import notes
This commit is contained in:
1 parent
3a6e92625a
commit
62b2b9d86a
9 files changed
+188
-30
No files matched your search
+7
-5
@@ -145,11 +145,13 @@ never lost because of its wrapper:
|
||||
gives it a name. Candidates named `osteo-report*` come first, then file
|
||||
order; Flate data is fed to the platform inflater in 16 KiB slices, so
|
||||
memory stays bounded in browsers too, under a 16 MiB cap (cancelled
|
||||
beyond it); at most 16 MiB of candidate content is examined in all, a
|
||||
candidate not opening on `{` is skipped unparsed, and the first one whose
|
||||
text is a JSON object with a numeric `envelopeVersion` or `version`
|
||||
wins. Object streams, cross-reference streams and page contents are never
|
||||
inflated.
|
||||
beyond it); at most 16 MiB of candidate content is retained and parsed in
|
||||
all (a cancelled inflation is not charged, so up to 32 oversized streams
|
||||
may each cost one capped inflation of CPU, bounded, no memory retained),
|
||||
a candidate not opening on `{` or nesting brackets deeper than 64 levels
|
||||
is skipped unparsed, and the first one whose text is a JSON object with a
|
||||
numeric `envelopeVersion` or `version` wins. Object streams,
|
||||
cross-reference streams and page contents are never inflated.
|
||||
No candidate: `attachment_stripped` when a `/Keywords` string in clear
|
||||
contains `faunosteo-archive`, else `no_attachment`. A stamped file saved
|
||||
with object streams (before BLK-009) hides its stamp and reads as
|
||||
|
||||
Reference in new issue
Block a user