diff options
author | 2016-06-09 07:51:51 -0700 | |
---|---|---|
committer | 2016-06-17 20:11:27 -0400 | |
commit | c078f0dd01b73c70b92a660cb1ce3dfc3cbf2903 (patch) | |
tree | a4bccde38f9e65ee6c11a48bbd435af8e2a2609f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | IB/hfi1: Fix potential NULL ptr dereference (diff) | |
download | linux-dev-c078f0dd01b73c70b92a660cb1ce3dfc3cbf2903.tar.xz linux-dev-c078f0dd01b73c70b92a660cb1ce3dfc3cbf2903.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions