From: Vasiliy Kulikov Date: Sun, 26 Jun 2011 08:56:22 +0000 (+0400) Subject: staging: comedi: fix infoleak to userspace X-Git-Tag: v3.1-rc1~232^2~367 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=819cbb120eaec7e014e5abd029260db1ca8c5735;p=pandora-kernel.git staging: comedi: fix infoleak to userspace driver_name and board_name are pointers to strings, not buffers of size COMEDI_NAMELEN. Copying COMEDI_NAMELEN bytes of a string containing less than COMEDI_NAMELEN-1 bytes would leak some unrelated bytes. Signed-off-by: Vasiliy Kulikov Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed