[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)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 1 May 2014 12:53:28 +0000 (05:53 -0700)
commite6a623460e5fc960ac3ee9f946d3106233fd28d8
treede57e5047566c32f45d515cd1cfc8b8c5ba3b18a
parent8845cc6415ec28ef8d57b3fb81c75ef9bce69c5f
[media] media-device: fix infoleak in ioctl media_enum_entities()

This fixes CVE-2014-1739.

Signed-off-by: Salva Peiró <speiro@ai2.upv.es>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/media-device.c