[Ohrrpgce] SVN: teeemcee/11269 Fix stack corruption crash in OPENFILE in Windows, introduced in r11236

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Sun Aug 18 03:26:53 PDT 2019


teeemcee
2019-08-18 03:26:52 -0700 (Sun, 18 Aug 2019)
445
Fix stack corruption crash in OPENFILE in Windows, introduced in r11236

Caused by me foolishly changing the call signature of inworkingdir (called by
OPENFILE) to CDECL. But strangly it didn't crash until you used Test
Game. Caused both Game and Custom to crash! Custom threw
 (BUG) ERROR: OPENFILE: ENCODING not implemented for hooked files
and then either made it to crashrpt or crashed inside loadpalette, while Game
just crashed in OPENFILE
---
U   wip/filelayer.hpp
U   wip/lumpfile.bas
U   wip/lumpfile.bi


More information about the Ohrrpgce mailing list