Bug 1029943 - SIGSEGV in git apply
SIGSEGV in git apply
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: git (Show other bugs)
19
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Chris Wright
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-13 10:22 EST by Jaroslav Škarvada
Modified: 2013-12-18 09:33 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-12-18 09:33:14 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description Jaroslav Škarvada 2013-11-13 10:22:13 EST
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 10:22:46 EST
Patch command seems to work correctly.
Comment 2 Adam Tkac 2013-12-18 09:33:14 EST
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.