Increase PDFIO_MAX_STRING to 128k (Issue #146)

This commit is contained in:
Michael R Sweet
2026-01-06 11:22:12 -05:00
parent 6b59bffd92
commit fb72b141cd
2 changed files with 2 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ Changes in PDFio
v1.6.2 - YYYY-MM-DD
-------------------
- Increased the maximum length of a single string to 128k (Issue #146)
- Fixed an error propagation bug when reading too-long values (Issue #146)

View File

@@ -94,7 +94,7 @@
//
# define PDFIO_MAX_DEPTH 32 // Maximum nesting depth for values
# define PDFIO_MAX_STRING 65536 // Maximum length of string
# define PDFIO_MAX_STRING 131072 // Maximum length of string
typedef void (*_pdfio_extfree_t)(void *);
// Extension data free function