Open Bug 1632090 Opened 4 years ago Updated 4 years ago

[meta] Check fallible uses of FallibleTArray::AppendElement within loops

Categories

(Core :: XPCOM, task)

task

Tracking

()

People

(Reporter: sg, Unassigned)

References

(Depends on 3 open bugs)

Details

(Keywords: meta)

Bug 1628715 identified several missing checks of failures for fallible calls of FallibleTArray::AppendElement. Part of these are within loops, and they could be improved by a call to SetCapacity outside the loop, which would also avoid unnecessary reallocations.

These locations have been marked with XXX(Bug 1632090). The respective module peers should check if these match their intention.

The remaining comments are planned to be removed by end of October 2020 if they have not been addressed by then, and this bug is going to be closed.

Keywords: meta
Summary: Check fallible uses of FallibleTArray::AppendElement within loops → [meta] Check fallible uses of FallibleTArray::AppendElement within loops
Depends on: 1636919
Depends on: 1636920
Depends on: 1636921
Depends on: 1636922
Depends on: 1636923
You need to log in before you can comment on or make changes to this bug.