]> xenbits.xensource.com Git - libvirt.git/commit
Address side effects of accessing vars via index
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Wed, 11 Jan 2012 11:42:37 +0000 (06:42 -0500)
committerStefan Berger <stefanb@us.ibm.com>
Wed, 11 Jan 2012 11:42:37 +0000 (06:42 -0500)
commit64484d550d29b09be6d10ba843e58de0355e05d9
treede90a51ab42ab2fed7420b6ca1d37c5cef66fd34
parentcaa6223a9b05584966b8ca22bf2518ec1c375c43
Address side effects of accessing vars via index

Address side effect of accessing a variable via an index: Filters
accessing a variable where an element is accessed that is beyond the
size of the list (for example $TEST[10] and only 2 elements are available)
cannot instantiate that filter. Test for this and report proper error
to user.
src/conf/nwfilter_params.c
src/conf/nwfilter_params.h
src/libvirt_private.syms
src/nwfilter/nwfilter_gentech_driver.c