Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PRVM: fix incorrect tempstring length in VM_tokenizebyseparator()
This caused memcpy() in PRVM_SetTempString() to copy too many bytes, when the source string had the maximum length it could read past the end and trigger a segfault. Bug was introduced in 26a665f and looks to be specific to that builtin. Signed-off-by: bones_was_here <[email protected]>
- Loading branch information