Add PDFIO_MAX_STRING constant to control maximum allowed PDF strings (Issue #117)

This commit is contained in:
Michael R Sweet
2025-04-04 19:27:03 -04:00
parent 8cca645835
commit fe755eac3d
3 changed files with 11 additions and 5 deletions

View File

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