mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 15:41:39 +00:00
22c2b77f41
Julia reported that we may double free 'name' in efivarfs_callback(), and that this bug was introduced by commit 0d22f33bc37c ("efi: Don't use spinlocks for efi vars"). Move one of the kfree()s until after the point at which we know we are definitely on the success path. Reported-by: Julia Lawall <julia.lawall@lip6.fr> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Sylvain Chouleur <sylvain.chouleur@gmail.com> Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk> |
||
---|---|---|
.. | ||
file.c | ||
inode.c | ||
internal.h | ||
Kconfig | ||
Makefile | ||
super.c |