]> git.karo-electronics.de Git - linux-beck.git/commit
[media] v4l2-ioctl: add precision when printing names
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 18 Mar 2013 14:02:22 +0000 (11:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 24 Mar 2013 10:13:54 +0000 (07:13 -0300)
commit27d5a87cf4b44cbcbd0f4706a433e4a68d496236
tree69513738be875b45d779e8ba1a512def12560352
parent314527acbbb3f33f72c2ef19d8cfabcada9912a5
[media] v4l2-ioctl: add precision when printing names

Never print more than the size of the buffer containing the name.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/v4l2-core/v4l2-ioctl.c