mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: Avoid log of user buffer in GETIBSSPEERINFO IOCTL
While processing GETIBSSPEERINFO IOCTL command, respective handler drv_cmd_get_ibss_peer_info() is logging user-buffer which can cause page fault error. To fix this, log local buffer (extra) instead of user buffer (priv_data->buf). Change-Id: I6260120690c4715de31fe0f9404aa5928c0feb49 CRs-Fixed: 2227050
This commit is contained in:
parent
6a6dbdcf1f
commit
92ec9d9742
1 changed files with 1 additions and 1 deletions
|
|
@ -5151,7 +5151,7 @@ static int drv_cmd_get_ibss_peer_info(struct hdd_adapter *adapter,
|
|||
}
|
||||
|
||||
/* Success ! */
|
||||
hdd_debug("%s", priv_data->buf);
|
||||
hdd_debug("%s", extra);
|
||||
ret = 0;
|
||||
|
||||
exit:
|
||||
|
|
|
|||
Loading…
Reference in a new issue