[uClibc]Patch to fix globfree()

Erik Andersen andersen at codepoet.org
Tue Apr 29 07:26:10 UTC 2003


On Mon Apr 28, 2003 at 03:55:54PM -0400, Norman Shulman wrote:
> uClibc 0.9.19 has a bug in globfree(). If the previous call to 
> glob(...,pglob) used the GLOB_DOOFFS flag to reserve the first 
> pglob->gl_offs slots of pglob->gl_pathv, globfree(pglob) would attempt 
> to free the objects pointed to by those slots. If those objects were not 
> on the heap, the system would crash.
> 
> The attached patch fixes this.

applied

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--


More information about the uClibc mailing list