[Hardy] SRU: Fix an off-by-two memory error in console selection.
Stefan Bader
stefan.bader at canonical.com
Thu Feb 12 17:47:19 UTC 2009
[no bug opened yet]
SRU justification:
Impact: Selection on a UTF-8 console can lead to memory corruption. This fix
came down throuch 2.6.27.15 but I think it is simple ad important enough to add
to Hardy as a SRU.
Fix: Change memory calculation to add the additional character before multiplying.
Testcase: When memory redzones are enabled, a redzone corruption is reported.
When they are not enabled, trashing of random memory occurs.
--
When all other means of communication fail, try words!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Fix-memory-corruption-in-console-selection.patch
Type: text/x-diff
Size: 1766 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20090212/d75a9d6c/attachment.patch>
More information about the kernel-team
mailing list