diff options
author | Dan Carpenter <[email protected]> | 2016-05-26 09:46:22 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-05-29 22:32:27 -0700 |
commit | 6756325a9a1e2d36b6210f4a42f77501c917ebb9 (patch) | |
tree | 6962ce79a5ccb72dfd53d474dba0395026707bfe /net/lapb/lapb_in.c | |
parent | fabb13db448efc23c47851550867fc46519de97e (diff) |
ptp: oops in ptp_ioctl()
If we pass ERR_PTR(-EFAULT) to kfree() then it's going to oops.
Fixes: 2ece068e1b1d ('ptp: use memdup_user().')
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Richard Cochran <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions