Re: [Libvir] [PATCH] properly check buffer size in virDomainXMLDevID

2007-09-12 Thread Richard W.M. Jones
Hugh Brock wrote: Richard W.M. Jones wrote: Hugh Brock wrote: As promised, a patch to protect the 80-character device id buffer from overflow by the unbounded device= XML attribute. Before, a large device attribute gave a stack overflow error; now it merely results in an obscure (but

[Libvir] [PATCH] properly check buffer size in virDomainXMLDevID

2007-09-11 Thread Hugh Brock
As promised, a patch to protect the 80-character device id buffer from overflow by the unbounded device= XML attribute. Before, a large device attribute gave a stack overflow error; now it merely results in an obscure (but non-fatal) xend error like so: libvir: Xen Daemon error : POST