summaryrefslogtreecommitdiff
path: root/list.c
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2018-04-16 19:37:34 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2018-04-16 19:45:37 +0200
commit665df41dcc6c4c3a609907c979b6c16472593d0d (patch)
tree2d69b73b6d56cd16aecec69754d2cf1e7e4c9838 /list.c
parent029d0e960c02d83111acb5ab057ee055821943f7 (diff)
downloadlibxml2-665df41dcc6c4c3a609907c979b6c16472593d0d.tar.gz
Simplify and harden nodeset filtering
If a nodeset to be filtered is empty, it can be returned without popping it from the stack. Make sure to restore the context node in all error paths and never set it to NULL. Save and restore the context node in RANGETO operations.
Diffstat (limited to 'list.c')
0 files changed, 0 insertions, 0 deletions