[SERVER-29505] Fix ubsan issues in timelib library Created: 07/Jun/17  Updated: 30/Oct/23  Resolved: 14/Jun/17

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 3.5.9

Type: Task Priority: Major - P3
Reporter: Charlie Swanson Assignee: Derick Rethans
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Query 2017-07-10
Participants:
Linked BF Score: 0

 Description   

When loading timezone rules as part of SERVER-29207 we ran into some undefined behavior as caught in this patch build. We should fix all the undefined behavior within the library and remove it from the ubsan blacklist.



 Comments   
Comment by Derick Rethans [ 14/Jun/17 ]

Also fixes BF-5678 (endianness on s390)

Comment by Githook User [ 14/Jun/17 ]

Author:

{u'username': u'derickr', u'name': u'Derick Rethans', u'email': u'github@derickrethans.nl'}

Message: SERVER-29505 Fix ubsan issues in timelib library

This also fixes endiannes detection for s390 (BF-5678).

The timelib upgrade also adds some example programs for use with our new
aggregation operators, and a new timelib_isodate_from_date function.
Branch: master
https://github.com/mongodb/mongo/commit/4a1ac90daf85f25e76adb7cdff460a32ce9df0bb

Generated at Thu Feb 08 04:21:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.