Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 67e0208a authored by Ido Yariv's avatar Ido Yariv Committed by John W. Linville
Browse files

wl1271: Fix overflow in wl1271_boot_upload_nvs



Due to miscalculation of nvs_len, excessive data was sent to the
firmware.
Fix this by first setting nvs_ptr to point to the first NVS table,
and computing the total size of all NVS tables accordingly.

Signed-off-by: default avatarIdo Yariv <ido@wizery.com>
Tested-By: default avatarTuomas Katila <ext-tuomas.2.katila@nokia.com>
Acked-by: default avatarLuciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 87fd2e6c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment