diff options
| author | Aditya Pakki <pakki001@umn.edu> | 2019-12-15 10:14:51 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-24 08:34:42 +0100 |
| commit | 8a3bc6e31b2b40f5c8f20ba355c34203ea21abd0 (patch) | |
| tree | b1f0f2b5bdd0865d2ea73b73b25bbe7e80781aa0 /include | |
| parent | 85a19b0e31e256e77fd4124804b9cec10619de5e (diff) | |
fore200e: Fix incorrect checks of NULL pointer dereference
[ Upstream commit bbd20c939c8aa3f27fa30e86691af250bf92973a ]
In fore200e_send and fore200e_close, the pointers from the arguments
are dereferenced in the variable declaration block and then checked
for NULL. The patch fixes these issues by avoiding NULL pointer
dereferences.
Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
