added skipping map files packing to prevent crash that happens after playing too many custom maps
This commit is contained in:
parent
1074db2711
commit
47bab9cb54
@ -258,6 +258,15 @@ static struct SrcdsPatch
|
|||||||
(unsigned char *)"\xEB\x23\x89\xD0\x25\x00\x00\x00\x00\xC1\xE0\x04",
|
(unsigned char *)"\xEB\x23\x89\xD0\x25\x00\x00\x00\x00\xC1\xE0\x04",
|
||||||
"cstrike/bin/server_srv.so"
|
"cstrike/bin/server_srv.so"
|
||||||
},
|
},
|
||||||
|
// 14: CZipPackFile::Prepare: Always jump into "Pack file uses unsupported compression method:"
|
||||||
|
//this avoids crashes when loading maps because of unsigned short overflowing.
|
||||||
|
{
|
||||||
|
"_ZN12CZipPackFile7PrepareExx",
|
||||||
|
(unsigned char *)"\x0F\x85\x32\x03\x00\x00",
|
||||||
|
"xxxxxx",
|
||||||
|
(unsigned char *)"\xEB\x85\x32\x03\x00\x00" ,
|
||||||
|
"bin/dedicated_srv.so"
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
class CBaseEntity;
|
class CBaseEntity;
|
||||||
|
Loading…
Reference in New Issue
Block a user