Summary: | hw/xfree86/vbe/vbe.c off-by-one error | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Chí-Thanh Christopher Nguyễn <chithanh> | ||||
Component: | Server/General | Assignee: | Adam Jackson <ajax> | ||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||
Severity: | normal | ||||||
Priority: | medium | CC: | frank.mehnert, robatino, tetromino | ||||
Version: | unspecified | Keywords: | patch | ||||
Hardware: | Other | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 27592 | ||||||
Attachments: |
|
Description
Chí-Thanh Christopher Nguyễn
2010-09-13 01:53:15 UTC
xorg-server patches are only applied after they are submitted to the xorg-devel mailing list and reviewed there. Please see the instructions on http://www.x.org/wiki/Development/Documentation/SubmittingPatches (In reply to comment #1) OK, I've submitted the patch by email: http://lists.x.org/archives/xorg-devel/2010-September/012920.html *** Bug 30585 has been marked as a duplicate of this bug. *** Comment on attachment 38667 [details] [review] xorg-server-1.9-fix-VbeModeInfoBlock-memcpy.patch ajax proposed a revised patch that simplifies the code to solve the problem: http://lists.x.org/archives/xorg-devel/2010-September/013499.html Still not right! VbeModeInfoBlock has a length of 255 bytes not 256. I believe the correct fix is to change the structure definition to define reserved to have a size of 190 not 189 as the VBE spec defines 256 bytes of data. This was fixed in xserver master today. Closing. |
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.