Re: [PATCH 4/6] Address side effects of accessing vars via index

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]