android_kernel_motorola_sm6375/utils/nlink
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jeff Johnson fcf0cc6593 qcacmn: Avoid NULL pointer dereference in nl_srv
Currently nl_srv_bcast() and nl_srv_ucast() allocate a temporary
buffer to hold the netlink message which is subsequently sent to
userspace. The value returned by qdf_mem_malloc() is not checked for
NULL, and hence if NULL is returned it will be dereferenced.
However in reality a temporary buffer is not required. Update the
functions to directly send the message from the skb.

Change-Id: Ia12e1695498323c4e29b8280b9265c20393a2fe7
CRs-Fixed: 2111674
2017-09-19 09:59:21 -07:00
..
inc qcacmn: fix compile error in APPs when include wlan_nlink_common.h 2017-05-31 23:37:58 -07:00
src qcacmn: Avoid NULL pointer dereference in nl_srv 2017-09-19 09:59:21 -07:00