diff options
author | Kees Cook <keescook@chromium.org> | 2024-04-25 16:06:22 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2024-04-26 15:31:39 -0700 |
commit | 998b18072ceb0613629c256b409f4d299829c7ec (patch) | |
tree | 0e89a066132d5259a35c9bf929f2845fc4beef73 /init | |
parent | c3408c4ae041dcc6a302397099fcad0dc307f6fd (diff) | |
download | lwn-998b18072ceb0613629c256b409f4d299829c7ec.tar.gz lwn-998b18072ceb0613629c256b409f4d299829c7ec.zip |
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')
0 files changed, 0 insertions, 0 deletions