Bug 695603
| Summary: | xrdb passes broken defines to cpp | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Peder Stray <peder.stray> | ||||
| Component: | xorg-x11-server-utils | Assignee: | Adam Jackson <ajax> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | desktop-bugs <desktop-bugs> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 5.6 | CC: | adam.winberg, ajb, David.M.Cooke, ejb, gnugv_maintainer, goeran, griffint, gsgatlin, j.s.peatfield, jwest, kalle.kiviaho, lampe, martinsson.patrik, mishu, pasteur, phil, poisson02, rdassen, rhel, simon.matter, stephan.wiesand, uwe.menges, vgotchev | ||||
| Target Milestone: | rc | Keywords: | Patch, Regression | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 697490 (view as bug list) | Environment: | |||||
| Last Closed: | 2011-04-18 17:33:18 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: | 697490 | ||||||
| Attachments: |
|
||||||
|
Description
Peder Stray
2011-04-12 07:03:15 UTC
I can confirm the same behaviour on RHEL 6. This needs an immediate fix. I can confirm this on RHEL5. I have many users complaining. For those of you needing a quick fix, put the following line in /etc/yum.conf: exclude=xorg-x11-server-utils-7.1-5.el5_6.1 and run 'yum downgrade xorg-x11-server-utils'. That should block the broken version on RHEL5 at least, and seems to do the trick here. I confirm this for xorg-x11-server-utils-7.1-5.el5_6.1.i386 This is appartently related to * Wed Mar 16 2011 Adam Jackson <ajax> 7.1-5.el5_6.1 - cve-2011-0465.patch: Sanitize cpp macro expansion. (CVE 2011-0465) The following appears to work fine $ xrdb -nocpp -load .Xresources This issue also occurs on RHEL6 (xorg-x11-server-utils-7.4-15.el6_0.1.x86_64). We have '-DVENDOR=_The X.Org Foundation\"' in the /usr/bin/mcpp call. The workaround with -nocpp does not work (there), because all the option parsing code does on -nocpp is "cpp_program = NULL;" (xrdb.c:815), which causes it to be auto-filled (in xrdb.c:881)! This makes the -nocpp parameter completely pointless. Created attachment 492187 [details] Proposed cve-2011-0465 fix I am seeing this problem also. My .Xresources file is no longer being loaded. downgrading to xorg-x11-server-utils 7.1-4 temporarily fixes the problem for me. *** This bug has been marked as a duplicate of bug 696316 *** |