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
This commit is contained in:
parent
0415dbe28f
commit
ea44693fc8
2 changed files with 20 additions and 3 deletions
|
@ -1,5 +1,9 @@
|
|||
2014-11-28 Andrei Borzenkov <arvidjaar@gmail.com>
|
||||
|
||||
* grub-core/disk/luks.c (configure_ciphers): Fix memory leaks
|
||||
and use after free (Coverity CID 73813, 73710, 73730)
|
||||
* grub-core/disk/luks.c (luks_recover_key): Fix memory leak (Coverity
|
||||
CID 73854)
|
||||
* util/grub-install-common.c (grub_install_get_target): Check return
|
||||
value of grub_util_fd_read (Coverity CID 73819).
|
||||
* util/grub-mkstandalone.c (add_tar_file): Fix out of bound access
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue