diff options
author | 2018-10-08 14:28:51 -0700 | |
---|---|---|
committer | 2018-10-17 08:58:26 +0200 | |
commit | 5eadc9cce17100caef88e972abeeeca7ef6d8a92 (patch) | |
tree | b1a5db932cce38dae81a9ba074d640b3c2525657 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nvme-pci: fix nvme_suspend_queue() kernel-doc header (diff) | |
download | wireguard-linux-5eadc9cce17100caef88e972abeeeca7ef6d8a92.tar.xz wireguard-linux-5eadc9cce17100caef88e972abeeeca7ef6d8a92.zip |
nvmet: use strlcpy() instead of strcpy()
Although the code modified by this patch looks fine to me, this patch avoids
that Coverity reports the following complaint (ID 1364971 and ID 1364973):
"You might overrun the 256-character fixed-size string id->subnqn".
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions