]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
MSG_ReadString: if hitting the max length of the string, continue to read until NUL...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 13 Jun 2011 07:10:08 +0000 (07:10 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 13 Jun 2011 07:10:08 +0000 (07:10 +0000)
commit7c586d061e7308e0e8164827fa0e14b470921d67
tree96d11f58527e358dd5c5f9e84e82d35e32039218
parentadbccd5c89a88e85b2a9e8f9e93120c171e01a6e
MSG_ReadString: if hitting the max length of the string, continue to read until NUL anyway (prevents msg_badread when reading an overlong string)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11195 d7cf8633-e32d-0410-b094-e92efae38249
common.c