commit | ddda424999817fbc17adf9013feb066903382ede | [log] [tgz] |
---|---|---|
author | Andy Walls <awalls@md.metrocast.net> | Sun Dec 19 21:59:56 2010 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Wed Dec 29 08:17:10 2010 -0200 |
tree | 1f75abf4d6a4814519b74fce450296cd495ba56e | |
parent | b0c45686c8e8aecc7b0cd04d9b6af48d74418d53 [diff] |
[media] ivtv: Return EFAULT when copy_from_user() fails in ivtv_write_vbi_from_user() If write() on a VBI device node fails due to a bad buffer pointer from userspace, we should notify the application properly with EFAULT, per the V4L2 API spec. Signed-off-by: Andy Walls <awalls@md.metrocast.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>