[libvirt] [PATCH 4/6] Address side effects of accessing vars via index
Eric Blake
eblake at redhat.com
Tue Jan 10 17:55:31 UTC 2012
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 at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120110/9cba6623/attachment-0001.sig>
More information about the libvir-list
mailing list