Closed Bug 1656545 Opened 5 years ago Closed 5 years ago

ubsan pointer offset complaint in ClientWebGLContext::BufferData

Categories

(Core :: Graphics: CanvasWebGL, defect, P2)

defect

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox79 --- unaffected
firefox80 --- wontfix
firefox81 --- fixed

People

(Reporter: away, Assigned: jgilbert)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

This check was introduced in clang-10. Automation is currently on clang-9 so this is not visible in ordinary try pushes, but I am seeing it while testing out the clang-11 release candidates.

https://searchfox.org/mozilla-central/rev/03794edd6edcc3fc1e222de966cb27256ce08998/dom/canvas/ClientWebGLContext.cpp#3086

Range.h:32:33: runtime error: applying non-zero offset 16 to null pointer

Set release status flags based on info from the regressing bug 1607940

The severity field is not set for this bug.
:jgilbert, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jgilbert)

Oh, yeah, ok. We should also assert this in Range.

Assignee: nobody → jgilbert
Severity: -- → S4
Flags: needinfo?(jgilbert)
Priority: -- → P2
Pushed by jgilbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6d8b858d926d Range cannot support nullptr with non-zero length. r=froydnj
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: