Staging: ozwpan: prevent bogus dereference
app_id comes from the network and can't be trusted. If it's zero then it will lead to a kernel crash. Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Acked-by: NChris Kelly <ckelly@ozmodevices.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录