Bug 18832
Summary: | efence complains setlocale() in 2.1.94-3 stomps on memory. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Sam Varshavchik <mrsam> | ||||
Component: | glibc | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED ERRATA | QA Contact: | Aaron Brown <abrown> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.0 | CC: | fweimer, wpwood | ||||
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: | 2000-11-15 00:33:02 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
Sam Varshavchik
2000-10-10 17:25:36 UTC
Created attachment 3984 [details]
test program and a gdb post mortem.
Thanks for the report, I have localized the problem, am now thinking about best fix. The bug is actually very old, even glibc 2.1.3 has it, so I'm wondering why it did not show up with earlier glibcs in Efence. Well, it did not, and I certainly did have the code in question linked against efence under 2.1.3 and 2.1.92. efence pads allocated memory to word boundaries, so one possibility is that previously the stomp didn't go far enough off base to be caught. Just a quick workaround. Removing the lines with non-7-bit clean characters out of /usr/share/locale/locale.alias causes this problem to go away. Fine for me since I'm only using en_US. |