[media] media: info leak in media_device_enum_entities()
authorDan Carpenter <dan.carpenter@oracle.com>
Sun, 21 Apr 2013 10:10:03 +0000 (07:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 23 Apr 2013 19:58:52 +0000 (16:58 -0300)
commitc06ca8f92b0b23dfd209fea27d71046c9c776910
tree4d6d1eacd65a01be17101f2f9564ba3bec38a32d
parent59501bb792c66b85fb7fdbd740e788e3afc70bbd
[media] media: info leak in media_device_enum_entities()

The last part of the "u_ent.name" buffer isn't cleared so it still has
uninitialized stack memory.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/media-device.c