linux/drivers/infiniband/hw/hfi1
Tadeusz Struk c078f0dd01 IB/hfi1: Fix potential buffer overflow
This fixes potential buffer overflow because the sprintf function
doesn't check buffer boundaries. Use snprintf instead.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-06-17 20:11:27 -04:00
..
affinity.c IB/hfi1: Avoid large frame size warning 2016-06-06 19:16:52 -04:00
affinity.h
aspm.h
chip_registers.h
chip.c IB/hfi1: Fix credit return threshold adjustment 2016-06-17 20:11:26 -04:00
chip.h IB/hfi1: Correct 8051 link parameter settings 2016-05-26 12:21:10 -04:00
common.h
debugfs.c
debugfs.h
device.c
device.h
dma.c
driver.c
efivar.c
efivar.h
eprom.c
eprom.h
file_ops.c IB/hfi1: Prevent context loss 2016-06-17 20:11:26 -04:00
firmware.c
hfi.h
init.c IB/hfi1: Fix potential NULL ptr dereference 2016-06-17 20:11:27 -04:00
intr.c
iowait.h
Kconfig
mad.c IB/hfi1: Update pkey table properly after link down or FM start 2016-05-26 12:21:10 -04:00
mad.h
Makefile
mmu_rb.c
mmu_rb.h
opa_compat.h
pcie.c
pio_copy.c
pio.c IB/hfi1: Increase packet egress timeout 2016-06-17 20:11:26 -04:00
pio.h
platform.c IB/hfi1: Correct 8051 link parameter settings 2016-05-26 12:21:10 -04:00
platform.h
qp.c IB/hfi1: Fix hard lockup due to not using save/restore spin lock 2016-05-26 12:21:10 -04:00
qp.h
qsfp.c IB/hfi1: Fix potential buffer overflow 2016-06-17 20:11:27 -04:00
qsfp.h
rc.c
ruc.c
sdma_txreq.h
sdma.c
sdma.h
sysfs.c
trace.c IB/hfi1: Suppress sparse warnings 2016-06-06 19:37:23 -04:00
trace.h IB/hfi1: Add tracing support for send with invalidate opcode 2016-05-26 12:21:10 -04:00
twsi.c
twsi.h
uc.c
ud.c
user_exp_rcv.c
user_exp_rcv.h
user_pages.c
user_sdma.c IB/hfi1: Suppress sparse warnings 2016-06-06 19:37:23 -04:00
user_sdma.h
verbs_txreq.c
verbs_txreq.h
verbs.c IB/hfi1: Add tracing support for send with invalidate opcode 2016-05-26 12:21:10 -04:00
verbs.h