Closed Bug 1855950 Opened 1 year ago Closed 1 year ago

TestNrSocket::allow_ingress does not always set return parameter but uses it always

Categories

(Core :: WebRTC: Networking, defect, P3)

defect

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: jstutte, Assigned: jstutte)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

We set *port_mapping_used only conditionally but then check it inconditionally while our caller did not initialize it, neither.

I wonder if rare intermittents like bug 1255293 might stem from this.

Severity: -- → S4
Component: Source Code Analysis → WebRTC: Networking
Priority: -- → P3
Product: Developer Infrastructure → Core
Assignee: nobody → jstutte
Status: NEW → ASSIGNED
Pushed by jstutte@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/91bd2248667d TestNrSocket::allow_ingress should not rely on *port_mapping_used being initialized by the caller. r=bwc

Hi :bwc, please note my question in phabricator, thank you!

Flags: needinfo?(jstutte) → needinfo?(docfaraday)

(Answer in phab, thanks.)

Flags: needinfo?(docfaraday)
Blocks: 1857149
Pushed by jstutte@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2b51c7a8a8ee TestNrSocket::allow_ingress should not rely on *port_mapping_used being initialized by the caller. r=bwc
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: