Subject: Re: Bug with chunked files

From: Sergey Matveev <[email-masked]>
Date: Sat, 29 Apr 2023 14:07:06 +0300

Greetings!

*** AsmodeusB [2023-04-28 12:42]:
>It looks like there is a bug with chunked files where the file size is an
>integer multiple of the chunk size.

Thanks for the report! Indeed there was a bug in nncp-reass logic for
the last chunk:
    badSize = uint64(fi.Size()) != metaPkt.FileSize%metaPkt.ChunkSize

Fixed in 8.8.3 release.

-- 
Sergey Matveev (http://www.stargrave.org/)
OpenPGP: 12AD 3268 9C66 0D42 6967  FD75 CB82 0563 2107 AD8A