Summary: | setxkbmap: Potential bug and buffer overflow due to misused rules filename. | ||
---|---|---|---|
Product: | xorg | Reporter: | van.de.bugger |
Component: | App/xkbcomp | Assignee: | Xorg Project Team <xorg-team> |
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> |
Severity: | normal | ||
Priority: | medium | ||
Version: | 7.5 (2009.10) | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
van.de.bugger
2011-02-10 13:05:56 UTC
As it turns out, I submitted a patch last night that would prevent buffer overflow using snprintf instead of trying to calculate the length by hand, but I failed to notice it was using different strings: http://lists.x.org/archives/xorg-devel/2011-February/019121.html Good catch! (I haven't had a chance to analyze to see which string is correct to use yet.) Confirmed analysis, and had fix reviewed on xorg-devel - it's now pushed to git master: http://cgit.freedesktop.org/xorg/app/setxkbmap/commit/?id=fce78beab4b5f7ee99bf66d35c36b7ed12871d5a |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.