diff options
| author | Bommu Krishnaiah <[email protected]> | 2023-12-10 05:29:48 +0530 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2024-04-04 14:54:51 -0400 |
| commit | a3c86b6d7b1c8ffb46ffd34c3dbe9252da87956b (patch) | |
| tree | 8a5189be7cb9f83c487f07e9372cfadeb142e201 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 972d01d0e357f3799203fa64ab696ac035e16803 (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 <[email protected]>
Cc: Himal Prasad Ghimiray <[email protected]>
Cc: Tejas Upadhyay <[email protected]>
Reviewed-by: Himal Prasad Ghimiray <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions