Bug 83378 - chop myheadoff caused segfault
chop myheadoff caused segfault
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: perl (Show other bugs)
7.3
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Chip Turner
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-02-03 11:35 EST by bastiaan
Modified: 2007-04-18 12:50 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-04-21 08:47:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description bastiaan 2003-02-03 11:35:45 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.0 (X11; Linux i686; U;) Gecko/20020408

Description of problem:
Calling a 'chop' on an unquoted string causes Perl to segfault.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. perl -e 'chop myheadoff'
2.
3.
    

Actual Results:  [lmsbuild@crimelab src]$ perl -e 'chop myheadoff' 
Segmentation fault (core dumped)


Expected Results:  Perl should have printed an error message, like:
Can't modify constant item in chop at -e line 1, at EOF
Execution of -e aborted due to compilation errors.


Additional info:
Comment 1 Chip Turner 2003-04-21 08:47:20 EDT
fixed in perl in RH9

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