summaryrefslogtreecommitdiffstats
path: root/test/plist_test.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2016-11-28 12:09:42 +0100
committerGravatar Nikias Bassen2016-11-28 12:09:42 +0100
commit5e8fb617b8f7857693e7b41f56eaa6767ed6a54d (patch)
tree80a94dfe4040fec5407e978c0e01be03e534c5c6 /test/plist_test.c
parent950b6ddc3e503c4e1e3cb5d7813cdd9b41849cbc (diff)
downloadlibplist-5e8fb617b8f7857693e7b41f56eaa6767ed6a54d.tar.gz
libplist-5e8fb617b8f7857693e7b41f56eaa6767ed6a54d.tar.bz2
xplist: Fix parsing of adjacent nodes without whitespace between them
The context position counter was increased after encountering a closing node, e.g. '</dict>' or after a closing '</key>' node. When a node followed it directly without any whitespace inbetween, e.g. </dict><key>, parsing would fail since the parser would look at 'key>' instead of '<key>' for the next node to be parsed.
Diffstat (limited to 'test/plist_test.c')
0 files changed, 0 insertions, 0 deletions