Closed Bug 1692466 Opened 5 years ago Closed 4 years ago

[Automated review] Unexpected "overrunning array" report

Categories

(Developer Infrastructure :: Source Code Analysis, defect, P4)

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: arai, Unassigned)

Details

Phabricator URL: https://phabricator.services.mozilla.com/D104599#C3576094NL722

It reports that passing char content[2]; to CharsToNumber [1] can overrun the array,
but I don't find any case that can overrun the array, given the access is limited by the
length 2 passed to the function.

[1] https://searchfox.org/mozilla-central/rev/8d9564059dbc1e36fb9152e6b6227343d0b49662/js/src/jsnum.cpp#1828-1867

Priority: -- → P4

Thanks for reporting. It's static analysis, it normal to have some false positives.

We no longer support Coverity due to the high yield of false positives.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.