summaryrefslogtreecommitdiffstats
path: root/README.WIN
diff options
context:
space:
mode:
authorKlaus Kämpf <kkaempf@suse.de>2012-03-30 15:11:39 +0200
committerKlaus Kämpf <kkaempf@suse.de>2012-03-30 15:11:39 +0200
commitb8744c22329467d9317a90544b0dd8999bad9448 (patch)
tree6386fcc12944a5f7cc9e95c5efaa4087fce6bb11 /README.WIN
parent03b9835f93329741c666755cd88648f8d35afcef (diff)
downloadwsmancli-b8744c22329467d9317a90544b0dd8999bad9448.tar.gz
wsmancli-b8744c22329467d9317a90544b0dd8999bad9448.tar.xz
wsmancli-b8744c22329467d9317a90544b0dd8999bad9448.zip
Check result of u_parse_query
u_parse_query starts with strtok_r(src, "&,", &pp) thus these filters will be two tokens. As the second one does not contain an equal sign, u_parse_query returns NULL, and hash_scan_begin tries to use it without any checks. The problem is with the comma in the filter, and I could not find a way to circumvent it. As these minimal examples demonstrates: wsman enumerate 'foo' --dialect "http://schemas.dmtf.org/wbem/wsman/1/wsman/SelectorFilter" --filter 'foo="bar,foo"' wsman enumerate 'foo' --dialect "http://schemas.dmtf.org/wbem/wsman/1/wsman/SelectorFilter" --filter "foo='bar,foo'" Reported by Zoltan Micskei <zoltan.micskei@mit.bme.hu>
Diffstat (limited to 'README.WIN')
0 files changed, 0 insertions, 0 deletions