diff options
| author | Bart Van Assche <bvanassche@acm.org> | 2019-08-08 20:01:56 -0700 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-08-12 21:34:07 -0400 |
| commit | 527e9b704c3d46da1cd4061a5ce939456eac8566 (patch) | |
| tree | 892b402e9204a4029193bc1eef160531f824115b /tools/perf/scripts/python | |
| parent | scsi: qla2xxx: Check the PCI info string output buffer size (diff) | |
| download | linux-527e9b704c3d46da1cd4061a5ce939456eac8566.tar.gz linux-527e9b704c3d46da1cd4061a5ce939456eac8566.zip | |
scsi: qla2xxx: Use memcpy() and strlcpy() instead of strcpy() and strncpy()
This patch makes the string manipulation code easier to verify.
Cc: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
