diff options
author | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-10-19 22:36:17 +0000 |
---|---|---|
committer | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-10-19 22:36:17 +0000 |
commit | 473debef0e5c4229d9fdd5a7418e6e9bd7cdd51c (patch) | |
tree | 5cbbbffd84c6dab9b223b6e16cff1f4a6168435c /code/qcommon/qcommon.h | |
parent | 54af38d7f47e4135aab626496e2de9e71dd49cff (diff) | |
download | ioquake3-aero-473debef0e5c4229d9fdd5a7418e6e9bd7cdd51c.tar.gz ioquake3-aero-473debef0e5c4229d9fdd5a7418e6e9bd7cdd51c.zip |
Fix infinite loop in case an invalid pk3 file has been downloaded from the server. Thanks tjw for reporting (#3074)
git-svn-id: svn://svn.icculus.org/quake3/trunk@1686 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon/qcommon.h')
-rw-r--r-- | code/qcommon/qcommon.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/code/qcommon/qcommon.h b/code/qcommon/qcommon.h index d1cc2fd..566687c 100644 --- a/code/qcommon/qcommon.h +++ b/code/qcommon/qcommon.h @@ -605,6 +605,7 @@ qboolean FS_FileExists( const char *file ); qboolean FS_CreatePath (char *OSPath); char *FS_BuildOSPath( const char *base, const char *game, const char *qpath ); +qboolean FS_CompareZipChecksum(const char *zipfile); int FS_LoadStack( void ); |