Heinrich Schuchardt 085cbdafca pxe: simplify label_boot()
Coverity CID 131256 indicates a possible buffer overflow in label_boot().
This would only occur if the size of the downloaded file would exceed 4
GiB. But anyway we can simplify the code by using snprintf() and checking
the return value.

Addresses-Coverity-ID: 131256 ("Security best practices violations (STRING_OVERFLOW)")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Artem Lapkin <email2tema@gmail.com>
2022-07-18 17:21:49 +02:00
..
2022-01-19 18:11:34 +01:00
2021-11-11 19:01:56 -05:00
2022-04-25 10:00:04 -04:00
2021-11-11 19:01:56 -05:00
2022-01-19 18:11:34 +01:00
2021-11-11 19:01:56 -05:00
2021-11-11 19:01:56 -05:00
2021-11-11 19:01:56 -05:00
2021-11-11 19:01:56 -05:00
2022-07-18 17:21:49 +02:00