Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/test: use after free in register_test_dev_kmod()
The "test_dev" pointer is freed but then returned to the caller. Fixes: d9c6a72 ("kmod: add test driver to stress test the module loader") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Luis Chamberlain <[email protected]>
- Loading branch information