Closed
Description
https://github.com/golang/sys/blob/master/windows/env_windows.go
This code exhibits a common bug.
Other threads can change the value, or unset it, while it is being retrieved.
You should loop until either
not found
or variable fits in buffer