]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Don't ignore errors parsing nwfilter rules
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 25 Sep 2013 14:26:58 +0000 (15:26 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 25 Sep 2013 17:12:09 +0000 (18:12 +0100)
commit4f2094346d98f4ed6a2de115d204c166cc563496
tree232464ca10b1273e470ea2814b43d2c01dcb6f92
parent06bfe6fe2b6396c48d1c98eaea409d15ac9f7bb7
Don't ignore errors parsing nwfilter rules

For inexplicable reasons, the nwfilter XML parser is intentionally
ignoring errors that arise during parsing. As well as meaning that
users don't get any feedback on their XML mistakes, this will lead
it to silently drop data in OOM conditions.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/conf/nwfilter_conf.c
tests/nwfilterxml2xmltest.c