commit | afd0be7299533bb2e2b09104399d8a467ecbd2c5 | [log] [tgz] |
---|---|---|
author | Ciara Loftus <ciara.loftus@intel.com> | Thu Apr 08 05:20:09 2021 +0000 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Thu Apr 08 23:36:46 2021 +0200 |
tree | c6daed3ba58f8fff559c91d57623889d1aac7b71 | |
parent | 1ffbc7ea91606e4abd10eb60de5367f1c86daf5e [diff] |
libbpf: Fix potential NULL pointer dereference Wait until after the UMEM is checked for null to dereference it. Fixes: 43f1bc1efff1 ("libbpf: Restore umem state after socket create failure") Signed-off-by: Ciara Loftus <ciara.loftus@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20210408052009.7844-1-ciara.loftus@intel.com