summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2020-08-21 14:17:16 -0700
committerKalle Valo <kvalo@codeaurora.org>2020-08-27 13:04:16 +0300
commit22b726cbdd09d9891ede8aa122a950d2d0ae5e09 (patch)
tree75223590b2daf8ddd6cdd937ac705b617867ee93 /tools/perf/scripts/python/bin/stackcollapse-record
parent5466aff85aacf1aad6d0e056c136ea7798076b2b (diff)
downloadlinux-22b726cbdd09d9891ede8aa122a950d2d0ae5e09.tar.gz
linux-22b726cbdd09d9891ede8aa122a950d2d0ae5e09.zip
rtw88: don't treat NULL pointer as an array
I'm not a standards expert, but this really looks to be undefined behavior, when chip->dig_cck may be NULL. (And, we're trying to do a NULL check a few lines down, because some chip variants will use NULL.) Fixes: fc637a860a82 ("rtw88: 8723d: Set IG register for CCK rate") Signed-off-by: Brian Norris <briannorris@chromium.org> Acked-by: Yan-Hsuan Chuang <yhchuang@realtek.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20200821211716.1631556-1-briannorris@chromium.org
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions