[SERVER-39322] Backport timelib fix for incorrect snprintf invocation with static buffer Created: 31/Jan/19  Updated: 29/Oct/23  Resolved: 12/Feb/19

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: 3.6.10, 4.0.5
Fix Version/s: 3.6.11, 4.0.7

Type: Task Priority: Major - P3
Reporter: David Storch Assignee: Ian Boros
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 2019-02-25
Participants:

 Description   

We cannot upgrade timelib in older release branches, as this could cause the version of the Olson time zone database to differ between nodes on minor version upgrade. This ticket tracks the work to cherry-pick any important timelib fixes into 4.0 and possibly 3.6. Versions 3.4 and older do not have the third-party timelib code.

A particular fix which we may wish to cherry-pick is Fixed #37: Incorrect snprintf invocation with static buffer.



 Comments   
Comment by Githook User [ 12/Feb/19 ]

Author:

{'name': 'Ian Boros', 'email': 'puppyofkosh@gmail.com', 'username': 'puppyofkosh'}

Message: SERVER-39322 Backport fix for issue #37 in timelib (incorrect snprintf invocation)

Original commit message from timelib:
Fixed #37: Incorrect snprintf invocation with static buffer
Branch: v3.6
https://github.com/mongodb/mongo/commit/deb68db9838f307f0fd6ab3e74c741383b702075

Comment by Githook User [ 12/Feb/19 ]

Author:

{'name': 'Ian Boros', 'email': 'puppyofkosh@gmail.com', 'username': 'puppyofkosh'}

Message: SERVER-39322 Backport fix for issue #37 in timelib (incorrect snprintf invocation)

Original commit message from timelib:
Fixed #37: Incorrect snprintf invocation with static buffer
Branch: v4.0
https://github.com/mongodb/mongo/commit/e27aea6778c4eb398bebaeb51147dac982d3270e

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