Re: [Live-devel] Patch to avoid inherently unsafe function gmtime

2023-06-07 Thread Ross Finlayson
Russell, Thanks for the note. This patch will be included in the next release of the software. Ross Finlayson Live Networks, Inc. http://www.live555.com/ ps. When I saw the name “Shotover”, I suspected a Kiwi connection. From your website, I see that I was correct! ___

[Live-devel] Patch to avoid inherently unsafe function gmtime

2023-06-07 Thread Russell Greene
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.