change_map
command (was previously only enabled for sv_map
)
CMap
to prevent null pointer access. Check result of IO operations in CDataFileReader
to prevent illegal access during decompression. This prevents server/client crashes if a map is truncated or otherwise has invalid compressed sizes.
CDataFileReader
for each invocation of CMap::Load
.