Bug 63971

Summary: perl -e 'chomp bla;' -> segmentation fault
Product: [Retired] Red Hat Linux Reporter: Dries Verachtert <dries>
Component: perlAssignee: Chip Turner <cturner>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-04-11 21:22:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dries Verachtert 2002-04-22 21:00:47 UTC
Description of Problem:
It's possible to crash perl and suidperl with the chop and chomp command:
[dries@delirium /]$ perl -e 'chop bla;'
Segmentation fault

I'm using perl perl-5.6.1-26.72.3 on a redhat 7.2 with all updates installed. 
This bug can be also reproduced on alpha, ix86 and alpha. The bug also exists 
in redhat 7.3 beta and also on other distro's like suse and debian (i asked some 
people on irc to test it)

Version-Release number of selected component (if applicable):
perl-5.6.1-26.72.3 from rh 7.2, also with the perl 5.6.1 version in redhat 7.3 beta

How Reproducible:
always

Steps to Reproduce:
1.  type: perl -e 'chop bla;'

Actual Results:
segmentation fault

Expected Results:
some warning or error message

Additional info:
The bugs.perl.org website does not work so 
i'm not able to report it there. I will try to submit it the next days.