Files
q3-sydney-qvm/code
Zack Middleton 3ad427c68d Fix q3history buffer not cleared between mods and OOB-access
Loading a 1024-byte q3history file will fill the whole consoleSaveBuffer
leaving no space for a string terminator. Com_Parse will read at least
one byte beyond the end of consoleSaveBuffer. The written console
history file can only be 1023 bytes (enforced by Q_strcat) so don't
allow loading size of 1024.

If switching to a mod with a shorter q3history file, the data in
consoleSaveBuffer that isn't overwritten will be parsed. So always
add a string terminator.

String not terminated reported by David "devnexen" CARLIER.
2018-04-09 02:20:49 -05:00
..
2017-07-28 16:32:22 +01:00
2016-08-15 22:20:00 -04:00
2017-12-15 18:08:23 -06:00
2017-11-22 01:40:20 -06:00
2013-05-30 15:43:21 -05:00