Closed
Bug 1622253
Opened 6 years ago
Closed 3 years ago
`MOZ_CAN_RUN_SCRIPT` analysis doesn't understand aliased stacked-allocated array element is strong reference.
Categories
(Developer Infrastructure :: Source Code Analysis, defect, P3)
Developer Infrastructure
Source Code Analysis
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1620312
People
(Reporter: mbrodesser, Unassigned)
Details
When the method AddRangeAndSelectFramesAndNotifyListeners is annotated with MOZ_CAN_RUN_SCRIPT, the static analysis warns for https://searchfox.org/mozilla-central/rev/278046367dab878316f60f0bd7f740cf73f3c447/editor/libeditor/EditorBase.cpp#3383,3495,3543 that range.mSelection is not a strong reference, but it is.
Updated•6 years ago
|
Priority: -- → P3
| Reporter | ||
Comment 1•6 years ago
|
||
Similarly here, when RegisterSelection is annotated with MOZ_CAN_RUN_SCRIPT. In this case, it's an array without an alias.
Comment 2•6 years ago
|
||
Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)
Severity: normal → S3
Updated•3 years ago
|
Product: Firefox Build System → Developer Infrastructure
Updated•3 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•