You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix data race condition, concurrent writes to the err variable, causes Undefined Behavior (open-telemetry#11349)
The main issue is that after
open-telemetry#10910 the
err variable is shared between requests because it uses the same address
as the err defined outside the func.
This is an UB because we are overwriting memory and will cause crashes
like
open-telemetry#11335,
where the check for not nil happens then gets overwrite with nil and
crashes.
Fixesopen-telemetry#11350
---------
Signed-off-by: Bogdan Drutu <[email protected]>
0 commit comments