Menu

#14 Out of bounds access of keybindings

None
closed-fixed
nobody
None
5
2016-08-21
2016-08-21
No

K_PAUSE is 255, but MAX_KEYS is 253, leading to an out of bounds access of keybindings in Key_SetBinding via Key_Bind_f where Key_StringToKeynum returns 255 for "PAUSE"

See https://github.com/Novum/vkQuake/commit/b12e57647124624b38e74006f59f5c88aee6f69a

Discussion

  • Ozkan Sezer

    Ozkan Sezer - 2016-08-21

    Thanks. However your solution seems off by one: is it not supposed to be 256?

     
  • Axel Gneiting

    Axel Gneiting - 2016-08-21

    Yeah, I'm stupid today.

     
  • Ozkan Sezer

    Ozkan Sezer - 2016-08-21
    • status: open --> closed-fixed
     
  • Ozkan Sezer

    Ozkan Sezer - 2016-08-21

    Fixed in the svn as of r1336' thanks.

     

Log in to post a comment.

MongoDB Logo MongoDB