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

Commit bc6408d7 authored by Alok Kumar's avatar Alok Kumar Committed by Gerrit - the friendly Code Review server
Browse files

qcacld-3.0: Check possible OOB while strncmp

In hdd_tx_rx_is_dns_domain_name_match, during strncmp for
domain_name and dns_payload there may be possibility to access
data more than skb->len if track_dns_domain_len is corrupted.

Add a check to verify if track_dns_domain_len during strncmp
is within skb->len to avoid OOB.

Change-Id: If936272a1b57c9239d4817e99d8bebdbc120fd20
CRs-Fixed: 2368165
parent 25dc9c12
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