On 10/05/2009 01:44 PM, Daniel P. Berrange wrote: > + char buffer[65536]; > + int nbytes = sizeof(buffer); I just noticed this, it's safer to malloc such a big array (it is actually from Chris patch, but you may take the opportunity to fix it). Paolo