[SERVER-62158] Fix or suppress novel UBSAN reports when building with the v4 clang Created: 17/Dec/21  Updated: 29/Oct/23  Resolved: 19/Dec/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Dev Platform 2021-12-27
Participants:

 Description   

The v4 mongodbtoolchain clang detects some new undefined behavior around adding offsets to nullptr.



 Comments   
Comment by Githook User [ 19/Dec/21 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: SERVER-62158 Fix novel UBSAN issues found with clang 12
Branch: master
https://github.com/mongodb/mongo/commit/38abbf63ef4129b715adff857e64964b8384b986

Generated at Thu Feb 08 05:54:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.