]> git.baikalelectronics.ru Git - kernel.git/commit
firewire: core: fix an information leak
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 19 Feb 2010 20:00:02 +0000 (21:00 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 24 Feb 2010 19:36:54 +0000 (20:36 +0100)
commiteadabddc936830e6a1b54b101c2c61c75f2d848f
tree982433a233709231acc7ae92d31dbee166602e8e
parent1c1665c3c50d5f3584130f1f5af9482f9d76e755
firewire: core: fix an information leak

If a device exposes a sparsely populated configuration ROM,
firewire-core's sysfs interface and character device file interface
showed random data in the gaps between config ROM blocks.  Fix this by
zero-initialization of the config ROM reader's scratch buffer.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/core-device.c