android_kernel_motorola_sm6375/utils
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
..
epping qcacmn: Fix CLANG warnings in Data path 2017-06-30 22:50:37 -07:00
fwlog qcacmn: Add wrapper for nla_parse() 2017-09-15 15:26:31 -07:00
host_diag_log qcacmn: Add connect wakelock reason 2017-06-14 15:53:37 -07:00
logging qcacmn: Prepend kernel includes with "kernel/" 2017-09-15 12:22:51 -07:00
nlink qcacmn: Avoid NULL pointer dereference in nl_srv 2017-09-19 09:59:21 -07:00
pktlog qcacmn: Use vm_fault->address instead of virtual_address 2017-09-08 01:57:46 -07:00
ptt qcacmn: Add wrapper for nla_parse() 2017-09-15 15:26:31 -07:00