mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacld-3.0: Fix array out-of-bound access in hdd_update_mac_config()
Fix array out-of-bound access in hdd_update_mac_config(). Change-Id: I8cd143c0db033ede780df8a93650917db4ede82d CRs-Fixed: 2029437
This commit is contained in:
parent
bf7cbc5c3a
commit
fb20a95766
1 changed files with 1 additions and 1 deletions
|
|
@ -5828,7 +5828,7 @@ QDF_STATUS hdd_update_mac_config(hdd_context_t *pHddCtx)
|
|||
}
|
||||
buffer = temp;
|
||||
qdf_mem_copy(buffer, fw->data, fw->size);
|
||||
buffer[fw->size + 1] = 0x0;
|
||||
buffer[fw->size] = 0x0;
|
||||
|
||||
/* data format:
|
||||
* Intf0MacAddress=00AA00BB00CC
|
||||
|
|
|
|||
Loading…
Reference in a new issue