[quake3-bugzilla] [Bug 5449] New: cl_shownet->integer crash the engine
bugzilla-daemon at icculus.org
bugzilla-daemon at icculus.org
Fri Mar 23 11:28:44 EDT 2012
https://bugzilla.icculus.org/show_bug.cgi?id=5449
Summary: cl_shownet->integer crash the engine
Product: ioquake3
Version: SVN HEAD
Platform: PC
OS/Version: Windows Vista
Status: NEW
Severity: enhancement
Priority: P3
Component: Misc
AssignedTo: zakk at icculus.org
ReportedBy: lrq3000 at gmail.com
QAContact: quake3-bugzilla at icculus.org
In msg.c, there are a few accesses (3 in total) to cl_shownet->integer without
prior checking, which can sometimes make the engine crash. There should be a
prior check for cl_shownet existence.
Eg: if ( cl_shownet->integer >= 2 || cl_shownet->integer == -1 ) {
Should be:
if ( cl_shownet && (cl_shownet->integer >= 2 || cl_shownet->integer == -1) ) {
--
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