Closed Bug 1656545 Opened 6 months ago Closed 5 months ago

ubsan pointer offset complaint in ClientWebGLContext::BufferData

Categories

(Core :: Canvas: WebGL, defect, P2)

defect

Tracking

()

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

People

(Reporter: dmajor, 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

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 months ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.