diff options
author | Andy Walls <[email protected]> | 2010-12-19 21:59:56 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2010-12-29 08:17:10 -0200 |
commit | ddda424999817fbc17adf9013feb066903382ede (patch) | |
tree | 1f75abf4d6a4814519b74fce450296cd495ba56e /net/unix/sysctl_net_unix.c | |
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 <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions