diff options
author | Sean Young <sean@mess.org> | 2017-12-13 16:09:21 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-18 15:21:28 -0500 |
commit | a74b2bff59455d466a4422ee2f49151ffd65a2ab (patch) | |
tree | 7e440794300206a08e00bff023f6565f5ed2eb6b /net/rxrpc/skbuff.c | |
parent | b996157dd2b9de57a61a6abbe4ab2d63e1d10908 (diff) |
media: lirc: do not pass ERR_PTR to kfree
If memdup_user() fails, txbuf will be an error pointer and passed
to kfree.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'net/rxrpc/skbuff.c')
0 files changed, 0 insertions, 0 deletions