summaryrefslogtreecommitdiff
path: root/src/tools/lcc/cpp/nlist.c
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2015-10-16 20:12:51 -0500
committerTim Angus <tim@ngus.net>2016-04-07 11:12:56 +0100
commit0972dc8edfdadae375ab0a517e324178f8ec99f0 (patch)
treed05a185b2aa56d25a61a5cb3a2e4ec93c0a7e435 /src/tools/lcc/cpp/nlist.c
parent27b955ed8aae71e0a4a15d75e1c06ffa6516fbe5 (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/tools/lcc/cpp/nlist.c')
0 files changed, 0 insertions, 0 deletions