drivers/char/applicom.c: fix information leak to userland
authorVasiliy Kulikov <segooon@gmail.com>
Wed, 27 Oct 2010 22:34:21 +0000 (15:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Oct 2010 01:03:14 +0000 (18:03 -0700)
commit19714a8af8fe8618a9beace1f7a3bb10d55d5e2f
treecdeb07d5d1c2038d1f2251e8455075ccdfa4903e
parentffd7d6baa65e6161cfd996a59d55c48571c2a5f3
drivers/char/applicom.c: fix information leak to userland

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

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/applicom.c