commit | 6f60f438108c66988c944894e5f673ab5d04fbc1 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Apr 20 13:21:30 2017 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 21 15:19:27 2017 -0400 |
tree | d1e7d20c0fb58fd57e45270fa68917091c1e942f | |
parent | 89087c456fb5cb5e534edf1c30568a8baae4c906 [diff] |
net: qrtr: potential use after free in qrtr_sendmsg() If skb_pad() fails then it frees the skb so we should check for errors. Fixes: bdabad3e363d ("net: Add Qualcomm IPC router") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>