diff options
| author | Candy Febriyanto <[email protected]> | 2021-03-01 22:01:50 +0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-03-10 09:25:32 +0100 |
| commit | 2a02059e4f9ed59817d8c238f93bb8e5c58562ad (patch) | |
| tree | 4a95c1e04dc33090cb7562be27c49b8ec77558da /tools/perf/scripts/python/stackcollapse.py | |
| parent | 41b25593bc7e7df60e40a352b21f2ebfa9d9f53f (diff) | |
staging: rtl8723bs: hal: Replace sprintf with scnprintf
The use of sprintf with format string here means that there is a risk
that the writes will go out of bounds, replace it with scnprintf.
Also avoid unnecessarily passing "%s" on some of the function calls.
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Candy Febriyanto <[email protected]>
Link: https://lore.kernel.org/r/ed564fb9e325f757b2b937df37689d40b96d8831.1614610197.git.cfebriyanto@gmail.com
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions