diff options
author | 2019-10-19 16:06:34 +0200 | |
---|---|---|
committer | 2019-11-08 09:00:37 -0800 | |
commit | 7f6ac72946b88b89ee44c1c527aa8591ac5ffcbe (patch) | |
tree | 2e925a8f238ba1aa2b7d4b9e197011430389f98b /scripts/bpf_helpers_doc.py | |
parent | Merge tag 'ti-clk-for-5.5-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/kristo/linux into clk-ti (diff) | |
download | linux-dev-7f6ac72946b88b89ee44c1c527aa8591ac5ffcbe.tar.xz linux-dev-7f6ac72946b88b89ee44c1c527aa8591ac5ffcbe.zip |
clk/ti/adpll: allocate room for terminating null
The buffer allocated in ti_adpll_clk_get_name doesn't account for the
terminating null. This patch switches to devm_kasprintf to avoid
overflowing.
Signed-off-by: Stephen Kitt <steve@sk2.org>
Link: https://lkml.kernel.org/r/20191019140634.15596-1-steve@sk2.org
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions