Skip to content
Snippets Groups Projects
Commit 2afc5f8b authored by Guisen Yang's avatar Guisen Yang Committed by Badhri Jagan Sridharan
Browse files

qcacld-2.0: Fix integer underflow and buffer over-read in fwlog


Currently, there is no check of:
1) Firmware event parameters in dbglog_parse_debug_logs(), which can
result in integer underflow.
2) Number of dbg log args against the total length, which can result in
buffer over-read.

To fix this, compare size of firmware event parameters and number of
dbg log args with total buffer length.

Bug: 77528512
Change-Id: I981441ecf8e866afc00cf2e0e316779c8cc803c6
CRs-Fixed: 2205372
Signed-off-by: default avatarEcco Park <eccopark@google.com>
parent 3786d0d5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment