Closed Bug 1325185 Opened 9 years ago Closed 9 years ago

Fix operator precedence in GMPUtils' ToHexString()

Categories

(Core :: Audio/Video: GMP, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla53
Tracking Status
firefox53 --- fixed

People

(Reporter: cpearce, Assigned: cpearce)

References

Details

Attachments

(1 file)

dmajor pointed out in Bug 1324926 that the precedence of operator >> is greater than operator &. So the code I added to convert a run of bytes to a hex string is wrong.
Comment on attachment 8820853 [details] Bug 1325185 - Fix operator precedence in GMPUtils' ToHexString(). https://reviewboard.mozilla.org/r/100254/#review100782 Sorry for missing that before. Thanks for adding a test!
Attachment #8820853 - Flags: review?(gsquelart) → review+
Pushed by cpearce@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/839a3dcee4ff Fix operator precedence in GMPUtils' ToHexString(). r=gerald
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: