Closed
Bug 333702
Opened 18 years ago
Closed 18 years ago
Null dereference in txXSLTNumber::createNumber
Categories
(Core :: XSLT, defect)
Core
XSLT
Tracking
()
RESOLVED
INVALID
People
(Reporter: jwatt, Unassigned)
References
(Blocks 1 open bug, )
Details
(Keywords: coverity, crash)
If |counterIter.hasNext()| evaluates to false, we'll crash when counter is dereferenced.
Comment 1•18 years ago
|
||
How can hasNext be false there in the first iteration (counter == 0), given that getCounters always puts at least one counter in counters if it returns failure?
Comment 2•18 years ago
|
||
(In reply to comment #1) s/failure/success/
Reporter | ||
Comment 3•18 years ago
|
||
It can't. Sorry.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
Updated•6 years ago
|
Blocks: coverity-analysis
You need to log in
before you can comment on or make changes to this bug.
Description
•