Closed
Bug 1401515
Opened 7 years ago
Closed 7 years ago
Fix "member call on null pointer of type" errors from UBSan
Categories
(Core :: JavaScript Engine, defect, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla58
People
(Reporter: anba, Assigned: anba)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
(deleted),
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•7 years ago
|
||
The |PropertyName* n| argument can be a null pointer, so let's just move the assertion after the test that |n| is not a null pointer.
The other remaining member access on null pointer error when running jstests/jit-tests with UBSan was in JSScript::sizeOfTypeScript, so I folded that fix into this patch as well.
Attachment #8910235 -
Flags: review?(luke)
Comment 2•7 years ago
|
||
Comment on attachment 8910235 [details] [diff] [review]
bug1401515.patch
Review of attachment 8910235 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
Attachment #8910235 -
Flags: review?(luke) → review+
Updated•7 years ago
|
Priority: -- → P3
Assignee | ||
Comment 3•7 years ago
|
||
Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=870329d65fc96d37befc13269ffca15d95693ef1
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/02a2f71d54a1
Avoid accessing members on null pointers. r=luke
Keywords: checkin-needed
Comment 5•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Comment 6•7 years ago
|
||
We can probably let this rides the trains.
You need to log in
before you can comment on or make changes to this bug.
Description
•