Ticket #46228

localtime() used in multithreaded context

Open Date: 2022-12-07 20:32 Last Update: 2023-01-01 15:11

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
4

Details

Some of our localtime() calls can happen on multithreaded context.

Likely solution is to implement fc_localtime() that wraps localtime_r() when it's available, otherwise fallback functionality.

Ticket History (3/8 Histories)

2022-12-07 20:32 Updated by: cazfi
  • New Ticket "localtime() used in multithreaded context" created
2022-12-08 17:25 Updated by: cazfi
2022-12-25 23:56 Updated by: cazfi
  • Owner Update from (None) to cazfi
  • Resolution Update from None to Accepted
Comment

Patches for all branches, including S2_6

2023-01-01 15:11 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login