Files
wget/tests
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
2018-11-09 15:47:53 +01:00
2021-03-02 12:03:14 +01:00