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

Jiri Denemark jdenemar at redhat.com
Wed Aug 11 18:45:01 UTC 2010


> > 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.

Yeah, I'm really looking forward to that. Pushed.

Jirka




More information about the libvir-list mailing list