diff options
| author | Tobias Klauser <[email protected]> | 2021-07-15 11:06:09 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2021-07-15 18:01:36 +0000 |
| commit | d444b06e40855219ef38b5e9286db16d435f06dc (patch) | |
| tree | fdf9d10f6aff6fb293f6cf22665fc66fda2151b7 /drivers/fpga/xilinx-spi.c | |
| parent | bpf, sockmap, udp: sk_prot needs inuse_idx set for proc stats (diff) | |
| download | kernel-d444b06e40855219ef38b5e9286db16d435f06dc.tar.gz kernel-d444b06e40855219ef38b5e9286db16d435f06dc.zip | |
bpftool: Check malloc return value in mount_bpffs_for_pin
Fix and add a missing NULL check for the prior malloc() call.
Fixes: 49a086c201a9 ("bpftool: implement prog load command")
Signed-off-by: Tobias Klauser <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Acked-by: Roman Gushchin <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions
