git (application) segfaults with current uclibc from git

Natanael Copa natanael.copa at
Wed Sep 15 20:19:29 UTC 2010

On Wed, Sep 15, 2010 at 2:52 PM, Natanael Copa <natanael.copa at> wrote:
> Hi,
> Current git (todays git commit) makes "git push" segfault:

I figured out what goes wrong after reading valgrind doc.

Its the config parser's realloc feature that assumes that the
reallocated pointer points to same location as old, which is a wrong
assumption. There is a parser->line pointer and a *token pointer that
needs to be updated after realloc.

Natanael Copa

More information about the uClibc mailing list