wget: check chunk length for overflowing off_t
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 8 Apr 2018 16:06:24 +0000 (18:06 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 8 Apr 2018 16:06:24 +0000 (18:06 +0200)
commit8e2174e9bd836e53c8b9c6e00d1bc6e2a718686e
treeeea0f2855d6cc97b50e979e280e39d7d6497bf9d
parent7bcde5f00dc3a5c92f36bb6ef6bf849794cd766e
wget: check chunk length for overflowing off_t

function                                             old     new   delta
retrieve_file_data                                   428     465     +37
wget_main                                           2386    2389      +3
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 40/0)               Total: 40 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/wget.c