summaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon/tps53679.rst
diff options
context:
space:
mode:
authorGaurav Singh <gaurav1086@gmail.com>2020-06-14 03:19:40 +0200
committerRichard Weinberger <richard@nod.at>2020-10-11 23:12:51 +0200
commitbab991cf40f631d18d00cb8c2a97325c8fd4292e (patch)
treee9a621e1d6e042925c4ed29e50a815634d29af2f /Documentation/hwmon/tps53679.rst
parentLinux 5.9-rc6 (diff)
downloadlinux-bab991cf40f631d18d00cb8c2a97325c8fd4292e.tar.xz
linux-bab991cf40f631d18d00cb8c2a97325c8fd4292e.zip
um: Fix null pointer dereference in vector_user_bpf
The bpf_prog is being checked for !NULL after uml_kmalloc but later its used directly for example: bpf_prog->filter = bpf and is also later returned upon success. Fix this, do a NULL check and return right away. Signed-off-by: Gaurav Singh <gaurav1086@gmail.com> Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'Documentation/hwmon/tps53679.rst')
0 files changed, 0 insertions, 0 deletions