commit | 587d3412dbde9b3bf575a3ed1b9b6ce2372df9ec | [log] [tgz] |
---|---|---|
author | Adriano Cordova <adrianox@gmail.com> | Mon Mar 03 11:13:10 2025 -0300 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Mon Mar 10 06:41:01 2025 +0100 |
tree | 66eb22ed723bcabf5a8627097fc69e0857cf5d0c | |
parent | 1738c7dc7c0efd6c2195dfc44652965ed677830d [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>