commit | e8287b0fb2be8acf8d0412be3b4174768fef348c | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sun Apr 11 06:53:04 2021 +0200 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Apr 17 20:01:32 2021 +0200 |
tree | 94d72018f72b282ed10feea5fb001a81ab2e4255 | |
parent | 7d823747c695e8638b637abd0c19434f661e50d9 [diff] |
efi_loader: memory leak in efi_capsule_scan_dir() If realloc() fails, we should free the old buffer. Fixes: c74cd8bd08d1: ("efi_loader: capsule: add capsule_on_disk support") Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>