Gaurav Singh bab991cf40 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>
2020-10-11 23:12:51 +02:00
..
2020-06-24 16:53:37 +02:00
2020-06-24 16:53:37 +02:00
2020-03-29 23:21:26 +02:00
2020-06-24 16:53:37 +02:00
2020-06-24 16:53:37 +02:00