From e45099fb21b679aa0cdb0db394587bb5ba675b0c Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sat, 17 Jan 2026 15:18:06 +0100 Subject: Prevent deep nesting of plist structures in all input/output formats Thanks to @unbengable12 for reporting. Addresses #288, #289, #290, #291, and #292. --- src/plist.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/plist.h') diff --git a/src/plist.h b/src/plist.h index 3043fb7..e310bcc 100644 --- a/src/plist.h +++ b/src/plist.h @@ -49,6 +49,10 @@ #endif #endif +#ifndef PLIST_MAX_NESTING_DEPTH +#define PLIST_MAX_NESTING_DEPTH 512 +#endif + #include "plist/plist.h" struct plist_data_s -- cgit v1.1-32-gdbae