[Scummvm-cvs-logs] SF.net SVN: scummvm: [32480] scummvm/trunk/common/unarj.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sun Jun 1 23:57:30 CEST 2008


Revision: 32480
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32480&view=rev
Author:   thebluegr
Date:     2008-06-01 14:57:30 -0700 (Sun, 01 Jun 2008)

Log Message:
-----------
Fix for crash that occurs in the unarj's fallback code -  _uncompressedData is not allocated when ARJ files have not been opened

Modified Paths:
--------------
    scummvm/trunk/common/unarj.cpp

Modified: scummvm/trunk/common/unarj.cpp
===================================================================
--- scummvm/trunk/common/unarj.cpp	2008-06-01 21:47:24 UTC (rev 32479)
+++ scummvm/trunk/common/unarj.cpp	2008-06-01 21:57:30 UTC (rev 32480)
@@ -291,6 +291,7 @@
 
 	if (_fallBack) {
 		_currArchive.close();
+		return;
 	} else {
 		delete _uncompressed;
 	}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list