[lttng-dev] Setenv/getenv are not thread-safe; whose bug is it?

Douglas Graham douglas.graham at ericsson.com
Mon Mar 13 00:21:46 UTC 2017


> Thanks a lot for the very thorough but report!
> I just prepared a patch for you sent in a separate thread:
> "[PATCH lttng-ust] Fix: race between lttng-ust getenv() and application setenv()"
> Can you give it a try and let me know if it fixes things on your side ?

Thanks for the quick turnaround Mathieu!  

I don't know how we build lttng but I have passed this information along to the team that does, asking that they provide me a library with this patch applied for us to test.  I'll let you know how it looks when we get there.

Regards,
Doug


More information about the lttng-dev mailing list