mbox series

[v2,0/2] efi_loader: efi_net: Fix net_dp handling

Message ID 20241206171835.2403418-1-adriano.cordova@canonical.com
Headers show
Series efi_loader: efi_net: Fix net_dp handling | expand

Message

Adriano Cordova Dec. 6, 2024, 5:18 p.m. UTC
Fixes commit e55a4acb54e8 ("efi_loader: net: set EFI bootdevice device path to HTTP
when loaded from wget") which generates an use after free, but first it is necessary
to expose efi_reinstall_protocol_interfaces in efi_loader.h, which is done in a
separated patch.

Adriano Cordova (2):
  efi_loader: Expose efi_reinstall_protocol_interface in efi_loader.h
  efi_loader: efi_net: let efi_net_set_dp properly update the device
    path

 include/efi_loader.h          |  5 +++
 lib/efi_loader/efi_boottime.c |  2 +-
 lib/efi_loader/efi_net.c      | 61 +++++++++++++++++++++++++++++------
 3 files changed, 58 insertions(+), 10 deletions(-)