Bug 1029943 - SIGSEGV in git apply
Summary: SIGSEGV in git apply
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: git
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Chris Wright
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-13 15:22 UTC by Jaroslav Škarvada
Modified: 2013-12-18 14:33 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-12-18 14:33:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Reproducer (77 bytes, text/plain)
2013-11-13 15:22 UTC, Jaroslav Škarvada
no flags Details

Description Jaroslav Škarvada 2013-11-13 15:22:13 UTC
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:

Comment 1 Jaroslav Škarvada 2013-11-13 15:22:46 UTC
Patch command seems to work correctly.

Comment 2 Adam Tkac 2013-12-18 14:33:14 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.