Ushering out strlcpy()
Ushering out strlcpy()
Posted Aug 25, 2022 22:04 UTC (Thu) by roc (subscriber, #30627)In reply to: Ushering out strlcpy() by adobriyan
Parent article: Ushering out strlcpy()
Yes. In fact any C code reading memory without using atomics, where that memory is concurrently modified, is undefined behaviour. So all C implementations of string copying will be "subject to a race condition" in that sense.
