[quake3-bugzilla] [Bug 5057] New: Two weapon number range checks allows invalid number

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Sun Jun 26 21:15:27 EDT 2011


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

           Summary: Two weapon number range checks allows invalid number
           Product: ioquake3
           Version: SVN HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P3
         Component: Misc
        AssignedTo: zakk at icculus.org
        ReportedBy: ZTurtleMan at gmail.com
         QAContact: quake3-bugzilla at icculus.org


Created attachment 2797
  --> https://bugzilla.icculus.org/attachment.cgi?id=2797
Disallow invalid weapon number WP_NUM_WEAPONS

Two of the weapon number range checks only check if greater than
WP_NUM_WEAPONS, but should check if equal to WP_NUM_WEAPONS also.

-- 
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