[Live-devel] Patch to avoid inherently unsafe function gmtime
Russell Greene
russell at shotover.com
Wed Jun 7 15:44:36 PDT 2023
Attached is a patch for live555 to avoid usage of `gmtime`, which is not
guaranteed to return a pointer to data in thread-local storage, so could
race with other threads. Unfortunately, there is no cross-platform
replacement, so this adds an ifdef to call the corresponding threadsafe
alternatives.
Thank you for considering the patch!
Russell Greene
SHOTOVER Systems
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20230607/f2496bd2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-unsafe-symbols.patch
Type: text/x-patch
Size: 781 bytes
Desc: not available
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20230607/f2496bd2/attachment.bin>
More information about the live-devel
mailing list