]> git.xonotic.org Git - xonotic/darkplaces.git/commit
Fix setinfo.
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 9 Jan 2019 21:00:36 +0000 (21:00 +0000)
committerRudolf Polzer <divVerent@gmail.com>
Sat, 2 Feb 2019 02:48:47 +0000 (21:48 -0500)
commit515087569d935affd53b18b6b91313f4f5713cb7
tree72fbdcabb021f63f94103532f4bb98cc83a53bea
parenta7dec84b2f42d22b1261bf88ac9244ac5cc9d4c4
Fix setinfo.

Repro:

]setinfo
]setinfo tea "earl grey, hot"
]setinfo

This kills the "team=none" info variable.

Also, fix some memory accesses beyond end of string; probably can be
reproduced somehow to cause mayhem.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12470 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=1ff3bc8e953680793a28ea923f2d1e58cdf2c9f0
common.c