Skip to content
Commit 03c09902 authored by Jett Rink's avatar Jett Rink Committed by Anas Nashif
Browse files

ztest: fix failure when exceeding mock parameter count



If you tried to use more mock parameters than were set in
CONFIG_ZTEST_PARAMETER_COUNT, you would get a random seg fault somewhere
unrelated to the mocking parameter as we would use memory past an array
bounds.

Signed-off-by: default avatarJett Rink <jettrink@google.com>
parent a6e17062
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment