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 |
||
---|---|---|
.. | ||
inc | ||
src |