Bug 140715
Summary: | sys.stdin segfaults on invalid stdin | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David Nečas <yeti> |
Component: | python | Assignee: | Jeremy Katz <katzj> |
Status: | CLOSED RAWHIDE | QA Contact: | Brock Organ <borgan> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 5 | CC: | katzj, mattdm |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-01-06 21:12:37 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
David Nečas
2004-11-24 13:36:48 UTC
Reported upstream as bug https://sourceforge.net/tracker/index.php?func=detail&aid=1084766&group_id=5470&atid=105470 Upstream bug marked as a duplicate of: https://sourceforge.net/tracker/index.php?func=detail&aid=1353504&group_id=5470&atid=105470 and reportedly fixed in 2.4.3 and 2.5 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! Cannot comment on security for FL. It segfaults but I did not analyse the implications of the faulty assertions it makes. Updated FC5 contains python-2.4.3-8.FC5 where the bug is allegedly fixed (comment #2). The alleged fix consists of aborting and dumping core intentionally instead of involuntary. This is still a regression against older Python versions (2.1?) where one got normal recoverable IOError exception. Of course, when stderr is bogus too things can get pretty hairy in the default exception handler and abort may be the only option. The funamental problem is that programs are left without any chance to _check_ for an invalid standard stream and handle the situation themselves. It remains unfixed. In python 2.5 it reportedly exits without dumping core, but 2.5 seems irrelevant even for FC6 so I haven't tried it. Given "fundamental problem ... remains unfixed", this does indeed seem like an FC5 issue. Fixed in 2.5 and should also be fixed in the current fc6 update |