diff options
author | Gabriel Oginski <gabrielx.oginski@intel.com> | 2022-02-22 14:15:11 +0000 |
---|---|---|
committer | Fan Zhang <roy.fan.zhang@intel.com> | 2022-02-23 09:15:12 +0000 |
commit | 45207e0fb2c46e211ff2e66fb141867d81198d97 (patch) | |
tree | b1c49c364ceb666dfab8f9086395d9c62e829408 /test | |
parent | a7d7383a44335358a40d7c2b322999958a717a60 (diff) |
wireguard: fix dereferences null pointer
Type: fix
Fixed coverity-issue CID 248517.
Originally possible passing null pointer to one function and directly
dereferences it.
This patch fixes the issue by add a new condition to check this
pointer.
Change-Id: If506abaf08c9f003860b641971af291f68613c18
Signed-off-by: Gabriel Oginski <gabrielx.oginski@intel.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions