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
test: test_utils mock should not trigger undefined behavior
The TapTrafficSimulator code in test_utils, which is used for some of
our unittests, but not in production, was triggering undefined behavior
due to mutating through an immutable reference, and returning an "owned"
area of stack local memory.
This commit fixes those instances of UB.
Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
0 commit comments