Closed Bug 1202014 Opened 4 years ago Closed 4 years ago
Use-after-move in Actors
In void BackgroundRequestChild::HandleResponse(const nsTArray<SerializedStructuredCloneReadInfo>& aResponse). serializedCloneInfo is used after it is moved into cloneReadInfo. This is safe right now because the moved properties are not accessed after it is moved, however it is a bit sketchy.
I think that this should avoid the use-after-move problem, and should have the same behavior.
Attachment #8657411 - Flags: review?(khuey)
Attachment #8657411 - Flags: review?(khuey) → review+
You need to log in before you can comment on or make changes to this bug.