diff options
author | Tadeusz Struk <[email protected]> | 2016-06-09 07:51:51 -0700 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2016-06-17 20:11:27 -0400 |
commit | c078f0dd01b73c70b92a660cb1ce3dfc3cbf2903 (patch) | |
tree | a4bccde38f9e65ee6c11a48bbd435af8e2a2609f /tools/lib/api/debug.c | |
parent | 93dd0a097859a174817ea94ec55bfc29c5706454 (diff) |
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 <[email protected]>
Signed-off-by: Tadeusz Struk <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions