]> de.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)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 9 Jan 2019 21:00:36 +0000 (21:00 +0000)
commit1ff3bc8e953680793a28ea923f2d1e58cdf2c9f0
treec9dd6a488efbe2f1ab9727a81d234b96d7f3cac0
parentd65ddd94d473b4925aa589ae2c32a3cf1c250e31
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
common.c