Skip to content
Commit f184f9d3 authored by Dominik Ermel's avatar Dominik Ermel Committed by Carles Cufí
Browse files

mgmt/mcumgr/lib: Fix cbor_internal_read_object error overwrite



The cbor_value_advance at the end of attribute parsing loop could
overwrite err with 0; this could cause loop to fail to break
on error and make cbor_internal_read_object return success, even
if parsing of input buffer failed.

Signed-off-by: default avatarDominik Ermel <dominik.ermel@nordicsemi.no>
parent 7946713b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment