Skip to content
Commit 0d63c27d authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

mISDN: return -EINVAL on error in dsp_control_req()



If skb->len is too short then we should return an error.  Otherwise we
read beyond the end of skb->data for several bytes.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 702821f4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment