diff options
author | 2019-05-01 14:41:58 +0100 | |
---|---|---|
committer | 2019-05-05 00:52:07 -0700 | |
commit | ca96534630e2edfd73121c487c957b17eca3b7d7 (patch) | |
tree | ea6ce737f3ecae9b9a8dd08dac5a4e538cd18891 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
parent | Merge branch 'ipv4-Move-location-of-pcpu-route-cache-and-exceptions' (diff) | |
download | wireguard-linux-ca96534630e2edfd73121c487c957b17eca3b7d7.tar.xz wireguard-linux-ca96534630e2edfd73121c487c957b17eca3b7d7.zip |
openvswitch: check for null pointer return from nla_nest_start_noflag
The call to nla_nest_start_noflag can return null in the unlikely
event that nla_put returns -EMSGSIZE. Check for this condition to
avoid a null pointer dereference on pointer nla_reply.
Addresses-Coverity: ("Dereference null return value")
Fixes: 11efd5cb04a1 ("openvswitch: Support conntrack zone limit")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Yi-Hung Wei <yihung.wei@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions