summaryrefslogtreecommitdiff
path: root/drivers/staging/rts_pstor
diff options
context:
space:
mode:
authorVasiliy Kulikov <segoon@openwall.com>2011-06-26 12:56:22 +0400
committerJonas ABERG <jonas.aberg@stericsson.com>2011-10-28 11:04:14 +0200
commit4fcdfcdb982bb0056fd8d118fee5af258d33d717 (patch)
tree46ee9f8e68d0ed25d291dec5b91e99e4b470dc8c /drivers/staging/rts_pstor
parent7cf1eb28afdf64564899480aa2cbd66e26696e25 (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 'drivers/staging/rts_pstor')
0 files changed, 0 insertions, 0 deletions