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

Commit 1be3e65b authored by Wilson Yang's avatar Wilson Yang Committed by Madan Mohan Koyyalamudi
Browse files

DroidSec: Check sscanf returns in function iw_set_priv

In the two clauses "powermode" and "CONFIG-TX-TRACKING",
it should be confirmed that cmd_len is greater than amount
incrementing cmd when form ptr,and must check return from
sscanf to confirm that parameters were parsed correctly
before subsequent use.

Change-Id: I9e93c3f34b116f6fac1bd81f32956fb88cba807a
CRs-fixed: 554538
parent 0c69aee1
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