diff options
author | Elliott Hughes <enh@google.com> | 2021-03-08 09:47:54 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2021-03-09 03:54:59 -0600 |
commit | 5c6628e724e9d3625f161db077b15b232e2ca096 (patch) | |
tree | 333fdc1b9038652017cd95aa94efedf29eda9f9a /toys/posix/nohup.c | |
parent | 668572a8650f3d4ff0fbe54ea07499b941244bdb (diff) | |
download | toybox-5c6628e724e9d3625f161db077b15b232e2ca096.tar.gz |
tar: fix base-256 output.
A tar file created by toybox tar with values large enough to need
base-256 rather than ASCII octal caused a tar reader to crash, and
caused GNU tar to complain.
I note from the docs at
https://github.com/libarchive/libarchive/blob/master/libarchive/tar.5#L326
that they imply that only the top *bit* should be set to indicate this
format, not the whole top byte, to give a 95-bit or 63-bit field. But I
don't think we can hit that in practice?
Bug: http://issuetracker.google.com/181683612
Diffstat (limited to 'toys/posix/nohup.c')
0 files changed, 0 insertions, 0 deletions