diff options
author | Adriano Cordova <adrianox@gmail.com> | 2025-03-03 11:13:10 -0300 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2025-03-10 06:41:01 +0100 |
commit | 908033ea22605615c3a033408d5c3ceb6446b09a (patch) | |
tree | 66eb22ed723bcabf5a8627097fc69e0857cf5d0c /lib/efi_loader/efi_net.c | |
parent | 2eda179568771241c1c9fb09d6644a560fb8dcfc (diff) |
legacy-net: wget: fix wget_info handling after new tcp legacy stack
Check wget_info->buffer_size for overflow and do not clean the wget_info struct
on failure, let the owner of the struct handle the error. The latter is necesary
, e.g., for when a request fails because the provided buffer was too small.
Signed-off-by: Adriano Cordova <adriano.cordova@canonical.com>
Diffstat (limited to 'lib/efi_loader/efi_net.c')
0 files changed, 0 insertions, 0 deletions