diff options
| author | Candy Febriyanto <cfebriyanto@gmail.com> | 2021-03-01 18:01:50 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-10 11:25:32 +0300 |
| commit | 2a02059e4f9ed59817d8c238f93bb8e5c58562ad (patch) | |
| tree | 4a95c1e04dc33090cb7562be27c49b8ec77558da /scripts/objdiff | |
| parent | 41b25593bc7e7df60e40a352b21f2ebfa9d9f53f (diff) | |
| download | linux-2a02059e4f9ed59817d8c238f93bb8e5c58562ad.tar.xz | |
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 <hdegoede@redhat.com>
Signed-off-by: Candy Febriyanto <cfebriyanto@gmail.com>
Link: https://lore.kernel.org/r/ed564fb9e325f757b2b937df37689d40b96d8831.1614610197.git.cfebriyanto@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
