mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-02 22:13:36 +00:00
sm: fix internal buffer overrun during random address generation
This commit is contained in:
parent
103fa6b079
commit
5b4dd59758
@ -1819,7 +1819,7 @@ static void sm_run(void){
|
||||
switch (rau_state){
|
||||
case RAU_GET_RANDOM:
|
||||
rau_state = RAU_W4_RANDOM;
|
||||
btstack_crypto_random_generate(&sm_crypto_random_request, sm_random_address, 8, &sm_handle_random_result_rau, NULL);
|
||||
btstack_crypto_random_generate(&sm_crypto_random_request, sm_random_address, 6, &sm_handle_random_result_rau, NULL);
|
||||
return;
|
||||
case RAU_GET_ENC:
|
||||
// already busy?
|
||||
|
Loading…
x
Reference in New Issue
Block a user