1. 12 2月, 2009 1 次提交
  2. 06 2月, 2009 1 次提交
  3. 01 2月, 2009 1 次提交
    • M
      Fix memory corruption in console selection · 878b8619
      Mikulas Patocka 提交于
      Fix an off-by-two memory error in console selection.
      
      The loop below goes from sel_start to sel_end (inclusive), so it writes
      one more character.  This one more character was added to the allocated
      size (+1), but it was not multiplied by an UTF-8 multiplier.
      
      This patch fixes a memory corruption when UTF-8 console is used and the
      user selects a few characters, all of them 3-byte in UTF-8 (for example
      a frame line).
      
      When memory redzones are enabled, a redzone corruption is reported.
      When they are not enabled, trashing of random memory occurs.
      Signed-off-by: NMikulas Patocka <mpatocka@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      878b8619
  4. 31 1月, 2009 1 次提交
  5. 27 1月, 2009 1 次提交
  6. 24 1月, 2009 1 次提交
  7. 16 1月, 2009 5 次提交
  8. 13 1月, 2009 9 次提交
  9. 09 1月, 2009 8 次提交
  10. 08 1月, 2009 2 次提交
  11. 07 1月, 2009 7 次提交
  12. 06 1月, 2009 1 次提交
  13. 04 1月, 2009 1 次提交
  14. 03 1月, 2009 1 次提交