diff options
author | Kees Cook <keescook@chromium.org> | 2024-04-26 02:06:22 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2024-04-27 01:31:39 +0300 |
commit | 998b18072ceb0613629c256b409f4d299829c7ec (patch) | |
tree | 0e89a066132d5259a35c9bf929f2845fc4beef73 /init/do_mounts.c | |
parent | c3408c4ae041dcc6a302397099fcad0dc307f6fd (diff) | |
download | linux-998b18072ceb0613629c256b409f4d299829c7ec.tar.xz |
kunit/fortify: Fix mismatched kvalloc()/vfree() usage
The kv*() family of tests were accidentally freeing with vfree() instead
of kvfree(). Use kvfree() instead.
Fixes: 9124a2640148 ("kunit/fortify: Validate __alloc_size attribute results")
Link: https://lore.kernel.org/r/20240425230619.work.299-kees@kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'init/do_mounts.c')
0 files changed, 0 insertions, 0 deletions