aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-09-07 17:23:09 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-12 11:18:15 +0200
commit8defffb20854500825162d336bdd183d2d218cf9 (patch)
tree131bd2259608db5a35aa6de9f2e634f5e803445c /scripts/checkstack.pl
parentstaging: 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/checkstack.pl')
0 files changed, 0 insertions, 0 deletions