diff options
| author | Martin Wilck <mwilck@suse.com> | 2017-11-27 23:47:34 +0100 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2020-06-29 20:07:57 -0400 |
| commit | de4700c2c877fa4774295eb11efb4d5cd6b24380 (patch) | |
| tree | bb90d8e9a2af4bbd16377b1c115c6383e1472574 /include/linux/debugobjects.h | |
| parent | 1ab4cc9c614e9cff3a802551114892b15b8ecb4a (diff) | |
scsi: scsi_devinfo: handle non-terminated strings
commit ba69ead9e9e9bb3cec5faf03526c36764ac8942a upstream.
devinfo->vendor and devinfo->model aren't necessarily
zero-terminated.
Fixes: b8018b973c7c "scsi_devinfo: fixup string compare"
Signed-off-by: Martin Wilck <mwilck@suse.com>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
