diff options
| author | 2016-09-07 17:23:09 +0100 | |
|---|---|---|
| committer | 2016-09-12 11:18:15 +0200 | |
| commit | 8defffb20854500825162d336bdd183d2d218cf9 (patch) | |
| tree | 131bd2259608db5a35aa6de9f2e634f5e803445c /scripts/diffconfig | |
| parent | staging: ks7010: fix warning on return for void functions (diff) | |
staging: ks7010: avoid dereferencing packet if it is null
Updating tx_bytes from packet->len if packet is null will cause
a null pointer dereference, so only update tx_bytes if it packet
is not null.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/diffconfig')
0 files changed, 0 insertions, 0 deletions
