aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorStephen Kitt <[email protected]>2019-10-19 16:06:34 +0200
committerStephen Boyd <[email protected]>2019-11-08 09:00:37 -0800
commit7f6ac72946b88b89ee44c1c527aa8591ac5ffcbe (patch)
tree2e925a8f238ba1aa2b7d4b9e197011430389f98b /lib/mpi/mpiutil.c
parent049325870aa86a6c6b17ce3db667a6adbb6e6a76 (diff)
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 <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Acked-by: Tony Lindgren <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions