diff options
author | Zack Middleton <zturtleman@gmail.com> | 2015-10-16 20:12:51 -0500 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2016-04-07 11:12:56 +0100 |
commit | 0972dc8edfdadae375ab0a517e324178f8ec99f0 (patch) | |
tree | d05a185b2aa56d25a61a5cb3a2e4ec93c0a7e435 /src/ui/ui_atoms.c | |
parent | 27b955ed8aae71e0a4a15d75e1c06ffa6516fbe5 (diff) |
Fix crash from reading past end of tr.refdef.drawSurfs
The number of draw surfaces was range checked against number of surfaces for
the current view but needs to check total for the frame otherwise can read
past the end of the tr.refdef.drawSurfs array when there are multiple views.
Diffstat (limited to 'src/ui/ui_atoms.c')
0 files changed, 0 insertions, 0 deletions