severity 663338 important
tags 663338 + upstream
forwarded 663338 http://thread.gmane.org/gmane.comp.version-control.git/192812
quit

Hi Trent,

Trent W. Buck wrote:

> I get a double free from git rebase --whitespace=fix.  In particular,
> it happens on the commit that is ITSELF whitespace fixes for earlier
> commits (i.e. that commit should reduce to a noop).
[...]
> $ printf '[core]\nwhitespace=tab-in-indent' >~/.gitconfig
[...]
> Applying: whitespace-cleanup
> *** glibc detected *** git: double free or corruption (!prev): 
> 0x00000000014797f0 ***

Thanks, good catch.

As Carlos noticed, the problem is that "apply --whitespace=fix" is
trying to fill a buffer that is not large enough now that a tab can be
converted into eight spaces.  There's a patch at [1] which according
to upstream discussion needs more work.

Ciao,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to