commit | 3f3409c99fd6cb5536f3d9c670770473e08e2a18 | [log] [tgz] |
---|---|---|
author | Adriano Cordova <adrianox@gmail.com> | Thu Feb 06 14:40:11 2025 -0300 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Fri Feb 28 15:26:05 2025 +0100 |
tree | beb84a72a0bba69cef3955fa03a9dab5d0d56121 | |
parent | 5f8640e246b1e861f06c34122027397341393f92 [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>