commit | cb97d9a3eb0be1e33db5535955e6629e800f3f0e | [log] [tgz] |
---|---|---|
author | Martin Townsend <mtownsend1973@gmail.com> | Sun May 17 21:44:54 2015 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Tue May 19 11:44:44 2015 +0200 |
tree | c7e2d8dc1780050d86d821960f22cdd69a6af4ec | |
parent | 0e66545701014814360b08a7a43ca652f82b6e5a [diff] |
mac802154: fakelb: Fix potential NULL pointer dereference. fakelb_hw_deliver creates a copy of the skb's header which can potentially return NULL so we now check for this before actually delivering to the 802.15.4 MAC layer. Signed-off-by: Martin Townsend <martin.townsend@xsilon.com> Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>