<div dir="ltr">A tar file created by toybox tar with values large enough to need<br>base-256 rather than ASCII octal caused a tar reader to crash, and<br>caused GNU tar to complain.<br><br>I note from the docs at<br><a href="https://github.com/libarchive/libarchive/blob/master/libarchive/tar.5#L326">https://github.com/libarchive/libarchive/blob/master/libarchive/tar.5#L326</a><br>that they imply that only the top *bit* should be set to indicate this<br>format, not the whole top byte, to give a 95-bit or 63-bit field. But I<br>don't think we can hit that in practice?<br><br>Bug: <a href="http://b/181683612">http://b/181683612</a><br>---<br> tests/tar.test   |  5 +++++<br> toys/posix/tar.c | 17 ++++++++++++-----<br> 2 files changed, 17 insertions(+), 5 deletions(-)<br></div>