diff options
author | Adriano Cordova <adrianox@gmail.com> | 2025-02-06 14:40:11 -0300 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2025-02-28 15:26:05 +0100 |
commit | 32a6c5eac0004bcfbb75d7ff9e9d627aca0e2852 (patch) | |
tree | beb84a72a0bba69cef3955fa03a9dab5d0d56121 /tools/u_boot_pylib/test_util.py | |
parent | 2c2d2f3d12cd64d98cb10c21434b981145c4c8b5 (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 'tools/u_boot_pylib/test_util.py')
0 files changed, 0 insertions, 0 deletions