Bug 1121067

Summary: perl crashes with buffer overflow when running git send-email
Product: [openSUSE] openSUSE Tumbleweed Reporter: Matthias Brugger <mbrugger>
Component: DevelopmentAssignee: Michael Schröder <mls>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: dimstar, martin.wilck, nsaenzjulienne
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: coredump of git send-email

Description Matthias Brugger 2019-01-08 11:50:43 UTC
I'm using tumbleweed snapshot 20181224 and I just wanted to send
some patches using git send-email.

git send-email some.patch --to=mbrugger@suse.com
[...]
Warning: unable to close filehandle __ANONIO__ properly: Bad file descriptor at
/usr/lib/git/git-send-email line 812.
Warning: unable to close filehandle __ANONIO__ properly: Bad file descriptor at
/usr/lib/git/git-send-email line 812.
*** buffer overflow detected ***: /usr/bin/perl terminated
error: git-send-email died of signal 6

mbrugger@ziggy:~> rpm -qf /usr/lib/git/git-send-email /usr/bin/perl
git-email-2.20.1-1.1.x86_64
perl-base-5.28.1-1.1.x86_64
Comment 1 Matthias Brugger 2019-01-08 12:00:17 UTC
Created attachment 793855 [details]
coredump of git send-email

Adding coredump of git send-email
Comment 2 Michael Schröder 2019-01-08 12:32:48 UTC
I'm pretty sure that this is a dup of 1120759

*** This bug has been marked as a duplicate of bug 1120759 ***
Comment 3 Martin Wilck 2019-02-05 11:38:34 UTC
FTR, in case others end up here searching for the solution: the package has been renamed. Install perl-Term-ReadLine-Gnu 1.36-1.1 to get the fix.