From b7f09ccdddc75d82ccaed867eb60e6997a7cad40 Mon Sep 17 00:00:00 2001
From: Nikias Bassen
Date: Thu, 29 Jan 2026 17:45:01 +0100
Subject: xplist: Improve robustness of XML text parsing and value conversion
This change adds stricter validation for numeric and date nodes,
including full-input consumption, overflow/range checks, and rejection
of invalid floating-point values. Whitespace handling is clarified by
explicitly trimming trailing XML whitespace for value nodes.
---
test/data/1.plist | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'test')
diff --git a/test/data/1.plist b/test/data/1.plist
index e6e275d..82a112b 100644
--- a/test/data/1.plist
+++ b/test/data/1.plist
@@ -23,11 +23,11 @@
Another Boolean
Some Int
-
+ 0
Some Real
-
+ 1e4
Some Date
-
+ 1970-01-01T00:00:00Z
Some Data
--
cgit v1.1-32-gdbae