Skip to content
Commit fb2ff1db authored by Piotr Dymacz's avatar Piotr Dymacz Committed by Jamie McCrae
Browse files

boot_serial: fix misuse of 'matched' param from zcbor_map_decode_bulk()



The 'matched' param in zcbor_map_decode_bulk() function is 'pointer to
the counter of matched keys', not length of payload buffer.

Fixes: fac2cabe ("boot_serial: Add image state set/get")
Signed-off-by: default avatarPiotr Dymacz <pepe2k@gmail.com>
(cherry picked from commit f2cb5502)
parent 7c2cfe69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment