Re: libutil properties_read() bug: patch for review

2005-11-28 Thread John Baldwin
On Wednesday 23 November 2005 07:14 pm, Antony Mawer wrote: > Hi, > > I recently hit upon a bug in sysinstall, getting an "Invalid realloc > size of 0" error that caused sysinstall to terminate. I eventually > tracked it down to a bug in the properties_read() function of libutil, > which occurs onl

libutil properties_read() bug: patch for review

2005-11-23 Thread Antony Mawer
Hi, I recently hit upon a bug in sysinstall, getting an "Invalid realloc size of 0" error that caused sysinstall to terminate. I eventually tracked it down to a bug in the properties_read() function of libutil, which occurs only when reading a properties file of 4096 bytes or greater. This is