Bug 137202
Summary: | getXXXent functions blow up after recursing | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mike Bird <mgb> | ||||
Component: | perl | Assignee: | Robin Norwood <robin.norwood> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3 | CC: | mattdm, perl-devel | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 5.8.5-18.fc3 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-10-17 19:38:29 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: | |||||||
Attachments: |
|
Description
Mike Bird
2004-10-26 17:41:25 UTC
Created attachment 105806 [details]
Program to demo bug, assuming you have a long enough line in /etc/group
My assumptions about errno were the same as PERL's, and we're both wrong. This is a PERL bug and not a glibc bug. See discussion at: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=137199 PERL must check the return value of getXXXent_r for ERANGE and ENOENT. The value of errno is undefined after a getXXXent_r call - it may or may not be clobbered by the implementation. (Instead of checking for ENOENT, it's probably OK to test for 0 and ERANGE, and then terminate the search on any other error.) Upstream notified: http://guest:guest@rt.perl.org/rt3/Ticket/Display.html?id=32154 Now fixed with perl-5.8.5-18.FC3, to be released in FC-3 updates today From User-Agent: XML-RPC perl-5.8.5-18.FC3 has been pushed for FC3, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report. Fedora Core 3 is now maintained by the Fedora Legacy project for security updates only. If this problem is a security issue, please reopen and reassign to the Fedora Legacy product. If it is not a security issue and hasn't been resolved in the current FC5 updates or in the FC6 test release, reopen and change the version to match. Thank you! assigning to rnorwood |