Tim Rühsen
04ab356669
Fix crash when printing download rate
...
If the download rate is TB/s, a read buffer overflow happended
that either caused a crash or printed whatever string was pointed to.
* src/retr.c (retr_rate): Add missing array entrie for TB/s and Tb/s,
(test_retr_rate): New test function.
* tests/unit-tests.c (all_tests): Run test 'test_retr_rate'.
* tests/unit-tests.h: Add prototype for test_retr_rate.
Reported-by: Wiebe Cazemier <wiebe@halfgaar.net >
2023-08-03 11:19:41 +02:00
..
2018-11-09 15:47:53 +01:00
2017-04-05 20:04:12 +02:00
2017-04-05 20:04:12 +02:00
2017-04-05 20:04:12 +02:00
2017-04-05 20:04:12 +02:00
2023-08-03 10:39:56 +02:00
2017-05-09 11:08:32 +02:00
2018-11-09 15:47:53 +01:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2021-03-02 12:03:14 +01:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2020-02-21 22:42:22 +01:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2019-05-30 12:06:01 +02:00
2023-08-03 11:19:41 +02:00
2023-08-03 11:19:41 +02:00
2023-02-18 17:25:56 +01:00
2020-02-21 22:43:01 +01:00
2017-05-09 11:16:30 +02:00
2021-04-11 19:40:56 +02:00