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

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

 



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@xxxxxxxxxx    +1-801-349-2682
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]