summaryrefslogtreecommitdiff
path: root/tools/patman/patchstream.py
diff options
context:
space:
mode:
authorAdriano Cordova <adrianox@gmail.com>2025-01-27 09:34:45 -0300
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2025-02-28 15:25:30 +0100
commit2c2d2f3d12cd64d98cb10c21434b981145c4c8b5 (patch)
tree6b99c0ff7e7871559f096ea07bca8062783cb1b3 /tools/patman/patchstream.py
parentb78f8677cde8b1dde31b66f5b780f2e9b62fba7f (diff)
efi_loader: efi_net: let efi_net_set_dp properly update the device path
This commit fixes an use after free introduced in Commit e55a4acb54 (" efi_loader: net: set EFI bootdevice device path to HTTP when loaded from wget"). The logic in efi_net_set_dp is reworked so that when the function is invoked it not only changes the value of the static variable net_dp (this is how the function was implemented in e55a4acb54) but also updates the protocol interface of the device path protocol in case efi has started. Fixes: e55a4acb54e8 ("efi_loader: net: set EFI bootdevice device path to HTTP when loaded from wget") Signed-off-by: Adriano Cordova <adriano.cordova@canonical.com>
Diffstat (limited to 'tools/patman/patchstream.py')
0 files changed, 0 insertions, 0 deletions