Re:Getaddrinfo() on glibc calls getenv(), oh boy
by tinus_hn on Tuesday October 17, 2023 @09:08AM
(#37914387)
Because there is no way to tell when a thread is done with the buffer, there is no moment when you can be sure you can manipulate it. The options are create a new copy and leak the old one or accept the chance of a segfault.
[ Parent
| on HN ]
There are no comments on this comment yet.