On Thu, Feb 21, 2019 at 10:47:45AM +0700, Duy Nguyen wrote:

> > > I managed to identify where that garbage injections come from:
> > > from git aliases I've got configured [1]
> > >
> > > Could anyone explain what is happening here?
> > > Is there anything wrong with my ~/.gitconfig [1] ?
> >
> > I see the right behavior on my system (Debian amd64/sid) with
> > 2.21.0.rc0.258.g878e2cd30e and with master. I've built with ASan and
> > don't see any memory warnings on my system.
> 
> I ran valgrind yesterday (gentoo amd64) and didn't find the problem
> either even though it clearly looked like some dangling pointers. I
> also audited this code and couldn't find anything obviously wrong. My
> only suspicion is maybe some strange getenv() behavior on Windows
> (_if_ the super prefix is used, but I can't see how...) and that's
> just a dead end for me.

Certainly we fixed a bunch of getenv() problems in the upcoming 2.21
release, including 8aac69038f (get_super_prefix(): copy getenv() result,
2019-01-11).

Mateusz, can you try with the one of the v2.21.0 release candidates (or
the current tip of "master")?

-Peff

Reply via email to