pcmcia: synclink_cs: fix information leak to userland
authorVasiliy Kulikov <segooon@gmail.com>
Sun, 17 Oct 2010 14:41:24 +0000 (18:41 +0400)
committerDominik Brodowski <linux@dominikbrodowski.net>
Thu, 21 Oct 2010 15:29:23 +0000 (17:29 +0200)
commit5b917a1420d3d1a9c8da49fb0090692dc9aaee86
tree930439eff752e5aababfed19cf4bc5b5be65353d
parent97299c726881603f44c30be8718c24015e7a4676
pcmcia: synclink_cs: fix information leak to userland

Structure new_line is copied to userland with some padding fields unitialized.
It leads to leaking of stack memory.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
CC: stable@kernel.org
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/char/pcmcia/synclink_cs.c