Closed
Bug 4961
Opened 26 years ago
Closed 26 years ago
signed vs unsigned error in nsUInt32Array::SetSize()
Categories
(MailNews Core :: Backend, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: bruce, Assigned: alecf)
Details
PRBool nsUInt32Array::SetSize(PRUint32 nSize, PRUint32 nGrowBy) has a default
value for nGrowBy of -1. Note that it is an unsigned value. The value of
nGrowBy is then tested within the body of the method for being greater than or
equal to 0. Not so good.
This is mozilla/mailnews/base/util/nsUInt32.cpp
Updated•26 years ago
|
Assignee: phil → alecf
Comment 1•26 years ago
|
||
reassign to alecf@netscape.com. Porting bug converting this code from 4.x to
NSPR integer types?
Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 2•26 years ago
|
||
Fixed. (and with this fix comes use of the new quicksort routine in raptorbase!)
Reporter | ||
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•