mirror of
https://github.com/rehlds/rehlds.git
synced 2025-03-15 15:00:20 +03:00
TESTING: fix SZ_GetSpace crash due to console overflow
This commit is contained in:
parent
2f0a402f9d
commit
3faa5e1054
@ -1238,7 +1238,7 @@ void *EXT_FUNC SZ_GetSpace(sizebuf_t *buf, int length)
|
|||||||
}
|
}
|
||||||
#endif // REHLDS_FIXES
|
#endif // REHLDS_FIXES
|
||||||
|
|
||||||
Con_Printf("%s: overflow on %s\n", __func__, buffername);
|
Con_NetPrintf("%s: overflow on %s\n", __func__, buffername);
|
||||||
|
|
||||||
SZ_Clear(buf);
|
SZ_Clear(buf);
|
||||||
buf->flags |= SIZEBUF_OVERFLOWED;
|
buf->flags |= SIZEBUF_OVERFLOWED;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user