summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBommu Krishnaiah <krishnaiah.bommu@intel.com>2023-12-10 05:29:48 +0530
committerRodrigo Vivi <rodrigo.vivi@intel.com>2024-04-04 14:54:51 -0400
commita3c86b6d7b1c8ffb46ffd34c3dbe9252da87956b (patch)
tree8a5189be7cb9f83c487f07e9372cfadeb142e201 /tools/perf/scripts/python/export-to-postgresql.py
parent972d01d0e357f3799203fa64ab696ac035e16803 (diff)
drm/xe: prefer snprintf over sprintf
since the sprintf() function lacks built-in protection against buffer overflows using the snprintf() function. v2: Removed hard coded values and used sizeof() Signed-off-by: Bommu Krishnaiah <krishnaiah.bommu@intel.com> Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> Cc: Tejas Upadhyay <tejas.upadhyay@intel.com> Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20231209235949.54524-2-krishnaiah.bommu@intel.com Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions