#368 crash on IMGMOUNT with 2 cue-images

SVN
open
nobody
5
2012-11-28
2011-11-11
henne-nwh
No

Hi there,

lacking MSVC2005 i used MSVC2008 to compile DOSBox 0.74.
The prog crashed when compiled as Debug (not Release ) when mounting two cue images.
imgmount d: DSA2_CD1.cue DSA2_CD2.cue -t iso

I investigated that a bit more and found the line that caused the crash.
In dos_mscdex.cpp:400 CMscdex::ReplaceDrive() the delete cdrom[subUnit] line caused the crash.

subUnit was the first time 205 then 0

When I compiled in Release Mode subUnit was 0 both times.

So, I believe subUnit is not initialize the right way in DebugMode.

Discussion


Log in to post a comment.