On 12/09/2011 08:07 AM, Stefan Berger wrote:
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 | 29 +++++++++++++++++++++++++++++
src/conf/nwfilter_params.h | 3 ++-
src/libvirt_private.syms | 2 ++
src/nwfilter/nwfilter_gentech_driver.c | 23 ++++++++++++++++++-----
4 files changed, 51 insertions(+), 6 deletions(-)
Makes sense.
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org