mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 01:34:14 +08:00
2605fbd89b
Since snprintf() returns the would-be-output size instead of the actual output size, the succeeding calls may go beyond the given buffer limit. Fix it by replacing with scnprintf(). Link: https://lore.kernel.org/r/20200315094241.9086-4-tiwai@suse.de Cc: "James E . J . Bottomley" <jejb@linux.ibm.com> Cc: "Martin K . Petersen" <martin.petersen@oracle.com> Cc: Satish Kharat <satishkh@cisco.com> Cc: Sesidhar Baddela <sebaddel@cisco.com> Cc: Karan Tilak Kumar <kartilak@cisco.com> Cc: linux-scsi@vger.kernel.org Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> |
||
---|---|---|
.. | ||
cq_desc.h | ||
cq_enet_desc.h | ||
cq_exch_desc.h | ||
fcpio.h | ||
fnic_attrs.c | ||
fnic_debugfs.c | ||
fnic_fcs.c | ||
fnic_fip.h | ||
fnic_io.h | ||
fnic_isr.c | ||
fnic_main.c | ||
fnic_res.c | ||
fnic_res.h | ||
fnic_scsi.c | ||
fnic_stats.h | ||
fnic_trace.c | ||
fnic_trace.h | ||
fnic.h | ||
Makefile | ||
rq_enet_desc.h | ||
vnic_cq_copy.h | ||
vnic_cq.c | ||
vnic_cq.h | ||
vnic_dev.c | ||
vnic_dev.h | ||
vnic_devcmd.h | ||
vnic_intr.c | ||
vnic_intr.h | ||
vnic_nic.h | ||
vnic_resource.h | ||
vnic_rq.c | ||
vnic_rq.h | ||
vnic_scsi.h | ||
vnic_stats.h | ||
vnic_wq_copy.c | ||
vnic_wq_copy.h | ||
vnic_wq.c | ||
vnic_wq.h | ||
wq_enet_desc.h |