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

Re: [libvirt] [PATCH 4/6] Address side effects of accessing vars via 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 redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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