diff options
author | Vasiliy Kulikov <segoon@openwall.com> | 2011-06-26 12:56:22 +0400 |
---|---|---|
committer | Jonas ABERG <jonas.aberg@stericsson.com> | 2011-10-28 11:04:14 +0200 |
commit | 4fcdfcdb982bb0056fd8d118fee5af258d33d717 (patch) | |
tree | 46ee9f8e68d0ed25d291dec5b91e99e4b470dc8c /CREDITS | |
parent | 7cf1eb28afdf64564899480aa2cbd66e26696e25 (diff) |
staging: comedi: fix infoleak to userspace
commit 819cbb120eaec7e014e5abd029260db1ca8c5735 upstream.
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 <segoon@openwall.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Change-Id: If5220b6600a85e49d657e4dfe005d6cc4677f1f8
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35587
Tested-by: Per VAHLNE <per.xx.vahlne@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions