
The function now takes an output buffer as a parameter. This prevents race conditions by copying the parameter value into a local buffer.
The function now takes an output buffer as a parameter. This prevents race conditions by copying the parameter value into a local buffer.