android_kernel_xiaomi_sm8350/core/hdd
Dustin Brown c8e96f1746 qcacld-3.0: Use total_len in drv_cmd_get_ibss_peer_info_all
Avoid userspace overwrite in drv_cmd_get_ibss_peer_info_all by
intersecting the max output buffer size with the total length of the
userspace buffer. This avoids the overwrite in cases where the allocated
userspace buffer is smaller than the max output buffer size.

Change-Id: I77f25c50bbe9d0b966a5c319297e3e2dca4b6280
CRs-Fixed: 2222879
2018-04-19 22:06:35 -07:00
..
inc qcacld-3.0: Add ini param to control RTT mac randomization 2018-04-19 22:06:28 -07:00
src qcacld-3.0: Use total_len in drv_cmd_get_ibss_peer_info_all 2018-04-19 22:06:35 -07:00