Skip to content
Commit 290c36bc authored by Demi Marie Obenour's avatar Demi Marie Obenour
Browse files

tests: Avoid calling function with wrong type



Calling a function with the wrong type is immediate undefined behavior,
even if the ABI says it should be harmless.  UBSAN picks it up
immediately, and any decent control-flow integrity mechanism will as
well.

Signed-off-by: default avatarDemi Marie Obenour <demi@invisiblethingslab.com>
parent 4273a5ed
Loading
Loading
Loading
Pipeline #1320676 passed with stages
in 2 minutes and 3 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment