Did some googles, can't find too much but this : https://www.systutorials.com/docs/linux/man/5-star/ And it says : > Each record starts with a a decimal length field. The length includes the total size of a record including the length field itself and the trailing new line. Seems we should throw a exception. Will modify the code.
On Tue, May 26, 2020 at 11:54 PM Stefan Bodewig <[email protected]> wrote: > On 2020-05-26, <[email protected]> wrote: > > >+ // COMPRESS-530 : skip non-number chars > >+ if (ch < '0' || ch > '9') { > >+ continue; > >+ } > > if this ever happens, doesn't that mean the PAX header is malformed? In > that case may it be better to throw an IOException? > > Stefan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
