summaryrefslogtreecommitdiffstats
path: root/test/data/1.plist
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2026-01-29 17:45:01 +0100
committerGravatar Nikias Bassen2026-01-29 17:45:01 +0100
commitb7f09ccdddc75d82ccaed867eb60e6997a7cad40 (patch)
tree261c3184ac15aebc953d91bc6cb097b5419d320a /test/data/1.plist
parentebf24567ea5e4f72bd5acbc22f085e9d0b208e05 (diff)
downloadlibplist-b7f09ccdddc75d82ccaed867eb60e6997a7cad40.tar.gz
libplist-b7f09ccdddc75d82ccaed867eb60e6997a7cad40.tar.bz2
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.
Diffstat (limited to 'test/data/1.plist')
-rw-r--r--test/data/1.plist6
1 files changed, 3 insertions, 3 deletions
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 @@
23 <key>Another Boolean</key> 23 <key>Another Boolean</key>
24 <true/> 24 <true/>
25 <key>Some Int</key> 25 <key>Some Int</key>
26 <integer></integer> 26 <integer>0</integer>
27 <key>Some Real</key> 27 <key>Some Real</key>
28 <real></real> 28 <real>1e4</real>
29 <key>Some Date</key> 29 <key>Some Date</key>
30 <date></date> 30 <date>1970-01-01T00:00:00Z</date>
31 <key>Some Data</key> 31 <key>Some Data</key>
32 <data> 32 <data>
33 </data> 33 </data>