Increase PDFIO_MAX_STRING to 128k (Issue #146)

This commit is contained in:
Michael R Sweet
2026-01-06 11:21:58 -05:00
parent 68dda34448
commit 089288946e
2 changed files with 2 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ v1.7.0 - YYYY-MM-DD
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