aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorMaxime Ripard <[email protected]>2022-08-16 13:25:27 +0200
committerStephen Boyd <[email protected]>2022-09-15 09:32:18 -0700
commitb46fd8dbe8ad3fe6dcd44dcdf01a736c50d90a68 (patch)
tree524d93573e3e11989592d0eca997e2e034730793 /lib/test_fortify/write_overflow-strncpy-src.c
parent262ca38f4b6eb418b20b8e1d6d8495c6a98727c1 (diff)
clk: Zero the clk_rate_request structure
In order to make sure we don't carry anything over from an already existing clk_rate_request pointer we would pass to clk_core_init_rate_req(), let's zero the entire structure before initializing it. Tested-by: Alexander Stein <[email protected]> # imx8mp Tested-by: Marek Szyprowski <[email protected]> # exynos4210, meson g12b Signed-off-by: Maxime Ripard <[email protected]> Link: https://lore.kernel.org/r/[email protected] Tested-by: Linux Kernel Functional Testing <[email protected]> Tested-by: Naresh Kamboju <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions