diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-04-11 06:53:04 +0200 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-04-17 20:01:32 +0200 |
commit | e8287b0fb2be8acf8d0412be3b4174768fef348c (patch) | |
tree | 94d72018f72b282ed10feea5fb001a81ab2e4255 /lib/md5.c | |
parent | 7d823747c695e8638b637abd0c19434f661e50d9 (diff) | |
download | u-boot-e8287b0fb2be8acf8d0412be3b4174768fef348c.tar.gz u-boot-e8287b0fb2be8acf8d0412be3b4174768fef348c.tar.xz u-boot-e8287b0fb2be8acf8d0412be3b4174768fef348c.zip |
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>
Diffstat (limited to 'lib/md5.c')
0 files changed, 0 insertions, 0 deletions