diff options
author | Chris Nisbet <nischris@gmail.com> | 2020-02-12 11:00:31 +0300 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-02-27 23:56:01 +0300 |
commit | 75e300aeec25e032a9778bea34c713969960d1f0 (patch) | |
tree | 4a94f2e8295c4783df2787ae8bfee7e2cd79805a /tests | |
parent | 43a103ff17ee5872669f8712606578c90c14591d (diff) |
blobmsg: fix wrong payload len passed from blobmsg_check_array
Fix incorrect use of blobmsg_len() on passed blobmsg to
blobmsg_check_array_len() introduced in commit 379cd33d1992
("fix wrong payload len passed from blobmsg_check_array") by using correct
blob_len().
By using blobmsg_len() a value too small was passed to blobmsg_check_array()
which could lead to this function returning an error when there is none.
Fixes: 379cd33d1992 ("fix wrong payload len passed from blobmsg_check_array")
Signed-off-by: Chris Nisbet <nischris@gmail.com>
[add fixes tag, rewrap commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions