summaryrefslogtreecommitdiffstats
path: root/include/plist/plist.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2026-01-17 15:18:06 +0100
committerGravatar Nikias Bassen2026-01-17 16:04:00 +0100
commite45099fb21b679aa0cdb0db394587bb5ba675b0c (patch)
treeb1a2c1dd34877d83a04d6d6fab804fb2e5a65f2d /include/plist/plist.h
parent26dd27c435a0d110c924e1fef34ad0f6ae60e251 (diff)
downloadlibplist-e45099fb21b679aa0cdb0db394587bb5ba675b0c.tar.gz
libplist-e45099fb21b679aa0cdb0db394587bb5ba675b0c.tar.bz2
Prevent deep nesting of plist structures in all input/output formats
Thanks to @unbengable12 for reporting. Addresses #288, #289, #290, #291, and #292.
Diffstat (limited to 'include/plist/plist.h')
-rw-r--r--include/plist/plist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/plist/plist.h b/include/plist/plist.h
index 5ea30b8..8ed9063 100644
--- a/include/plist/plist.h
+++ b/include/plist/plist.h
@@ -145,6 +145,7 @@ extern "C"
145 PLIST_ERR_NO_MEM = -4, /**< not enough memory to handle the operation */ 145 PLIST_ERR_NO_MEM = -4, /**< not enough memory to handle the operation */
146 PLIST_ERR_IO = -5, /**< I/O error */ 146 PLIST_ERR_IO = -5, /**< I/O error */
147 PLIST_ERR_CIRCULAR_REF = -6, /**< circular reference detected */ 147 PLIST_ERR_CIRCULAR_REF = -6, /**< circular reference detected */
148 PLIST_ERR_MAX_NESTING = -7, /**< maximum nesting depth exceeded */
148 PLIST_ERR_UNKNOWN = -255 /**< an unspecified error occurred */ 149 PLIST_ERR_UNKNOWN = -255 /**< an unspecified error occurred */
149 } plist_err_t; 150 } plist_err_t;
150 151