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

Re: [libvirt] [PATCH] bridge: Fix potential segfault when preparing dnsmasq arguments



On 08/11/2010 10:44 AM, Jiri Denemark wrote:
> We add --dhcp-lease-max=xxx argument when network->def->nranges > 0 but
> we only allocate space for in the opposite case :-) I guess we are lucky
> enough to miscount somewhere else so that we actually allocate more
> space than we need since no-one has hit this bug so far.

ACK.  Boy will it be nice to move to the newer exec wrappers that
eliminates the need for each client to malloc the right size argv
themselves.

-- 
Eric Blake   eblake redhat com    +1-801-349-2682
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]