summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2025-06-03 18:55:50 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-06-27 11:13:06 +0100
commit08a55a025c5f64c8a44d5dab3f7704098a38a771 (patch)
tree1f9de6a70cf8da0ba6192a21f94af7ebf683fcc8 /include/linux
parent0a52ab52a91d4fa4d6ef7334b47c05d962fd2ab8 (diff)
dm-verity: fix a memory leak if some arguments are specified multiple times
commit 66be40a14e496689e1f0add50118408e22c96169 upstream. If some of the arguments "check_at_most_once", "ignore_zero_blocks", "use_fec_from_device", "root_hash_sig_key_desc" were specified more than once on the target line, a memory leak would happen. This commit fixes the memory leak. It also fixes error handling in verity_verify_sig_parse_opt_args. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions