diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-01-26 22:05:49 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-10 08:49:11 -0800 |
commit | 8ae9a588ca35eb9c32dc03299c5e1f4a1e9a9617 (patch) | |
tree | d33c979835a655f90b417390afc636e9c222ca50 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6d67b0290b4b84c477e6a2fc6e005e174d3c7786 (diff) |
staging: rtl8723bs: fix copy of overlapping memory
Currently the rtw_sprintf prints the contents of thread_name
onto thread_name and this can lead to a potential copy of a
string over itself. Avoid this by printing the literal string RTWHALXT
instread of the contents of thread_name.
Addresses-Coverity: ("copy of overlapping memory")
Fixes: 554c0a3abf21 ("staging: Add rtl8723bs sdio wifi driver")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20200126220549.9849-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions