diff options
| author | Lans Zhang <jia.zhang@windriver.com> | 2017-08-09 16:10:14 +0800 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2017-08-11 14:10:43 -0400 |
| commit | e6f3a6ecc396a71f78f8a2ea814e3b31d64475cd (patch) | |
| tree | 38a65f6275ba9ffee26e5607a353b55ca33fa603 /Cryptlib/OpenSSL | |
| parent | 631265b7e9c447412d423ffed1b39dfd706054cd (diff) | |
| download | efi-boot-shim-e6f3a6ecc396a71f78f8a2ea814e3b31d64475cd.tar.gz efi-boot-shim-e6f3a6ecc396a71f78f8a2ea814e3b31d64475cd.zip | |
fallback: fix double free of dp
If the boot option recorded in csv is not in a media device path, the
corresponding full device path will be referred for creating the boot
variable.
However, the current code logic always frees the full device path
(full_device_path) and the media device path (dp) separately. In order
to resolve this issue, always check whether dp equals to full_device_path
before freeing dp.
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
Diffstat (limited to 'Cryptlib/OpenSSL')
0 files changed, 0 insertions, 0 deletions
