media: media-device: fix infoleak in ioctl media_enum_entities()
authorSalva Peiró <speiro@ai2.upv.es>
Wed, 30 Apr 2014 17:48:02 +0000 (19:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jun 2014 20:25:35 +0000 (13:25 -0700)
commit4e32a7c66fae40bde0fbff8cbc893eabe8575135
treed83c0e11290a36737bc469343b24459ca1690308
parentc4f3c998c17e31c73c1ab223469435a12358d25e
media: media-device: fix infoleak in ioctl media_enum_entities()

commit e6a623460e5fc960ac3ee9f946d3106233fd28d8 upstream.

This fixes CVE-2014-1739.

Signed-off-by: Salva Peiró <speiro@ai2.upv.es>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/media-device.c