[quake3-bugzilla] [Bug 5452] SV_ExecuteClientCommand() assumes the str length

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Sun Mar 25 08:24:06 EDT 2012


https://bugzilla.icculus.org/show_bug.cgi?id=5452

Simon McVittie <smcv-ioquake3 at pseudorandom.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smcv-ioquake3 at pseudorandom.
                   |                            |co.uk

--- Comment #2 from Simon McVittie <smcv-ioquake3 at pseudorandom.co.uk> 2012-03-25 08:24:02 EDT ---
For the record, that's not how strcmp() works - it stops comparing at the first
"\0" in either string, so strcmp("", "say"), strcmp("x", "say") and
strcmp("xx", "say") won't crash.

-- 
Configure bugmail: https://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the quake3-bugzilla mailing list