summaryrefslogtreecommitdiffstats
path: root/include/plist
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2026-01-14 02:50:40 +0100
committerGravatar Nikias Bassen2026-01-14 02:50:40 +0100
commit5b3ae4c1326e0c85df906ffea49b97b80b13ceae (patch)
treea6efdca6333188abf924e13cb70a7aae49665ae1 /include/plist
parent25d61ff8b5d994a02c0cc2af8e029bebd3a94cb3 (diff)
downloadlibplist-5b3ae4c1326e0c85df906ffea49b97b80b13ceae.tar.gz
libplist-5b3ae4c1326e0c85df906ffea49b97b80b13ceae.tar.bz2
Add circular reference detection to all format writers
Thanks to @LkkkLxy for pointing out the issue.
Diffstat (limited to 'include/plist')
-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 41af8ce..5ea30b8 100644
--- a/include/plist/plist.h
+++ b/include/plist/plist.h
@@ -144,6 +144,7 @@ extern "C"
PLIST_ERR_PARSE = -3, /**< parsing of the input format failed */
PLIST_ERR_NO_MEM = -4, /**< not enough memory to handle the operation */
PLIST_ERR_IO = -5, /**< I/O error */
+ PLIST_ERR_CIRCULAR_REF = -6, /**< circular reference detected */
PLIST_ERR_UNKNOWN = -255 /**< an unspecified error occurred */
} plist_err_t;