Re: SEGV in git-apply

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Sat, 20 Jan 2007, Martin Waitz wrote:

> Program received signal SIGSEGV, Segmentation fault.
> 0x080500fa in apply_patch (fd=5, filename=0xbf821b4d "/tmp/404241.patch",
>     inaccurate_eof=<value optimized out>) at builtin-apply.c:2504
> 2504                    if (pathlen <= prefix_length ||

It seems that the culprit is not this line (you have an optimized binary, 
so that is expected).

My guess is that your patch does not contain a new name, neither an old 
name.

It could also be that the filename has length 0.

But without that patch I cannot tell.

Ciao,
Dscho


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]