mirror of
https://github.com/mirror/wget.git
synced 2026-08-19 09:23:27 +08:00
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>
2.4 KiB
2.4 KiB