diff options
author | Jinjie Ruan <ruanjinjie@huawei.com> | 2023-09-27 17:03:48 +0800 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2023-09-28 08:50:57 -0600 |
commit | e44679515a7b803cf0143dc9de3d2ecbe907f939 (patch) | |
tree | 809b79599caaf2ccb9900d57caeea9d79d105ee6 /Documentation/process/maintainer-kvm-x86.rst | |
parent | a6074cf0126b0bee51ab77a15930dc24a4d5db90 (diff) |
kunit: Fix the wrong kfree of copy for kunit_filter_suites()
If the outer layer for loop is iterated more than once and it fails not
in the first iteration, the copy pointer has been moved. So it should free
the original copy's backup copy_start.
Fixes: abbf73816b6f ("kunit: fix possible memory leak in kunit_filter_suites()")
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Reviewed-by: Rae Moar <rmoar@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'Documentation/process/maintainer-kvm-x86.rst')
0 files changed, 0 insertions, 0 deletions