Bug 585433
| Summary: | String functions use stack allocations when they should use heap causing stack overflow with certain string sizes. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Scott Cameron <scott.cameron> |
| Component: | glibc | Assignee: | Andreas Schwab <schwab> |
| Status: | CLOSED ERRATA | QA Contact: | qe-baseos-tools-bugs |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 5.2 | CC: | fche, fdanapfe, fweimer, mfranc, patrickm, pmuller |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | glibc-2.5-69 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-21 06:32:47 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: | 758797 | ||
|
Description
Scott Cameron
2010-04-24 01:03:30 UTC
Hello Scott, I'm the Onsite Engineer from Red Hat at the SAP LinuxLab. While reviewing the Bugzilla request opened by SAP in the past I found this bug reported by you. Since this bug is already over a year old could you let us know if this is still an issue or if this does not occur any more on later versions of RHEL5? Thanks and regards, Frank Danapfel Red Hat Onsite Engineer @ SAP LinuxLab Hi Frank, I'm not in a position at this point to reproduce the problem without putting in some effort. It's not really necessary, though, because the bug is very obvious from simply looking at the code. If you crack open one of the functions I reference above (e.g. strcoll_l) and look for the value it passes into __libc_use_alloca. If it is number of characters, the bug is still present. If it is number of bytes, the bug was fixed. Judging by the response time on this bug report that I submitted over a year ago, I'm going to take a wild guess and wager that the bug has not been fixed (and likely the surrounding code has not even been touched). Thanks, scott Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0260.html |