Created attachment 823477 [details] Reproducer Description of problem: The "git apply" command can segfault if specific input data are used. It shouldn't do that even if the input data are non-sense Version-Release number of selected component (if applicable): git-1.8.3.1-1.fc19.x86_64 How reproducible: Always Steps to Reproduce: 1. git apply -p1 ./patch.patch Actual results: Segmentation fault Expected results: No segmentation fault. Additional info:
Patch command seems to work correctly.
This is already fixed in Fedora 20 (git-1.8.4.2-1.fc20). I'm not going to backport the patch into F20 now.