]> git.proxmox.com Git - grub2.git/commit
grub-core/disk/luks.c: fix use after free and memory leaks
authorAndrei Borzenkov <arvidjaar@gmail.com>
Fri, 28 Nov 2014 18:12:00 +0000 (21:12 +0300)
committerAndrei Borzenkov <arvidjaar@gmail.com>
Fri, 28 Nov 2014 18:12:00 +0000 (21:12 +0300)
commitea44693fc8cbe9e8e8566f16e3dc4031c98b063a
tree68519c3bdf0df73091f1aa8c1e1c9f45f33e01d1
parent0415dbe28f3dc3520b70745b3bd78073f094fb4d
grub-core/disk/luks.c: fix use after free and memory leaks

configure_ciphers:

- several memory leaks where allocated ciphers were not freed. CID: 73813,
73710

- use after free. It is probably quite innocent as grub is single threaded,
but could potentially be a problem with memory allocator debugger turned on.
CID: 73730

luks_recover_key:

- memory leak. CID: 73854
ChangeLog
grub-core/disk/luks.c