SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SHIII Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 11-14-15, 03:27 AM   #6
a.g.
Swabbie
 
Join Date: Nov 2015
Posts: 11
Downloads: 18
Uploads: 0
Default

If I understand the disassembly correctly, only actual comments located before the first [...] should matter, whitespace is fine.

As an uninitialized variable bug, this belongs to a category that is notoriously difficult to reproduce intentionally: there are so many things that can affect what was stored in that memory location previously, from the list of mods, to details of implementation of malloc in system libraries. On my computer without the patch I just need to open Museum and click on New Zealand -> ASW Trawler, and it crashes in msvcrt71.dll with a null pointer access.

Apart from being able to reproduce the remote effects, there is the fact that that particular function in FileManager.dll has a code path where it doesn't initialize a memory location, but still reads it later - that is a definite bug

I also made a patch kit for applying or removing the patch more conveniently:

https://www.dropbox.com/s/jwjgutc0cs...Crash.zip?dl=1
a.g. is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:28 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.