Bug Tracker – Full Text Bug Listing

Bug 1197

Summary: Crash with vid_640x400 and a Border
Product: Odamex Reporter: HeX_Vulture <mdvulture>
Component: ClientAssignee: Odamex Bug Reporter <odamex-bug-reporter>
Status: NEW ---    
Severity: normal CC: grandpachuck187, russell
Priority: P1    
Version: 0.7.x (Old)   
Hardware: All   
OS: All   

Description HeX_Vulture 2016-10-14 17:44:31 UTC
Join a game and hit - to make the screen have a green border, then apply vid_640x400 and odamex will crash.
Comment 1 Russell Rice 2016-11-11 19:30:40 UTC
r_plane.cpp:265 is where it crashes
Comment 2 HeX_Vulture 2019-01-06 01:02:18 UTC
still happens with SDL2 on January 5, 2019 with latest master
Comment 3 Dr. Sean 2020-04-21 01:32:12 UTC
This has been resolved in the 0.8.3 release candidate.

The global variable ST_Y is not correct when vid_320x200 or vid_640x400 is enabled, which causes the border drawing function to write past the end of the screen buffer. The function ST_StatusBarY() provides the correct value for top edge of the status bar.