Closed Bug 1393556 Opened 9 years ago Closed 9 years ago

firefox-55.0.2/media/webrtc/trunk/webrtc/video/replay.cc:87: bad test ?

Categories

(Core :: WebRTC: Audio/Video, defect)

54 Branch
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: dcb314, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 Build ID: 20170613080647 Steps to reproduce: firefox-55.0.2/media/webrtc/trunk/webrtc/video/replay.cc:87]: (warning) Logical disjunction always evaluates to true: extension_id >= -1 || extension_id < 15. Source code is static bool ValidateRtpHeaderExtensionId(const char* flagname, int32_t extension_id) { return extension_id >= -1 || extension_id < 15; }
Component: Untriaged → WebRTC: Audio/Video
Product: Firefox → Core
Thank you for your report. I agree with your assessment, but this function is present in a portion of the webrtc.org library that Firefox does not build or use so fixing this is a low priority for us. I would suggest filing a bug against webrtc.org (https://bugs.chromium.org/p/webrtc/issues/list). Once fixed upstream, it will be imported into Firefox in a future update.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.