Bug 145215
| Summary: | garbage after split() | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 3 | Reporter: | Need Real Name <qbin> |
| Component: | perl | Assignee: | Jason Vas Dias <jvdias> |
| Status: | CLOSED ERRATA | QA Contact: | David Lawrence <dkl> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.0 | CC: | poelstra |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://rt.perl.org/rt3/index.html?q=28938 | ||
| Whiteboard: | |||
| Fixed In Version: | RHSA-2005-881 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2005-12-20 14:58:05 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 168424 | ||
We apologize for the long delay in processing this bug report. This bug is fixed with perl-5.8.0-90.2 , which should be in the next RHEL-3 update release. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2005-881.html |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:1.7.5) Gecko/20041108 Firefox/1.0 Description of problem: assigning off the end of the array after a split could leave garbage in the inner elements. #! /usr/bin/perl @a = split /,/, "," x 50; $a[3]=1; $x = \$a[2]; print ref($x),"\n"; Version-Release number of selected component (if applicable): perl-5.8.0-88.9 How reproducible: Always Steps to Reproduce: 1. run above test code. 2. 3. Actual Results: UNKNOWN Expected Results: SCALAR Additional info: see also perl bug #28938