Bug 90131
| Summary: | gcc-3.2.2 contains severe bug with struct copy -- fixed in gcc-3.2.3 | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Luke Hutchison <luke.hutch> |
| Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
| Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 9 | Keywords: | Security |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=9492 | ||
| Whiteboard: | |||
| Fixed In Version: | 3.2.3-3 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2003-05-28 21: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: | |||
|
Description
Luke Hutchison
2003-05-03 02:22:51 UTC
Sorry, ignore the 'asm("");' line in the code -- that was listed on the
gcc.gnu.org issue link as a possible workaround.
Just a suggestion: You could find the place in GCC which deals with struct copy operations, then get it to write out to a special logfile (detailing the source filename/path/line number), and build all of the RH packages with this modified compiler. Then you'd only have a small candidate list of source files to look through for possible security hazards. I doubt the PR you mentioned has anything to do this, since the relevant patches are in gcc-3.2.2-5. Nevertheless, I cannot reproduce this with gcc-3.2.3-3 (rawhide has 3.2.3-4 ATM), so I assume some other patch fixed it. (the PR is a HPPA bug, not IA-32 as well). Just tried gcc-3.2.3-4 from RawHide. It does fix the problem. Also tried gcc-3.2-7 on a RH8.x machine. It is broken. Also tried gcc-3.2.2-5 on a fresh RH9 install, on a totally different machine than I have previously tried it on. It is broken. I guess that PR has nothing to do with it. My main concern is that people will be running RH8 and RH9 for some time. I should probably report this to BugTraq.. Thanks for your time! |