You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Tar.Header.make function checks the size required for the file size, uid and gid and creates an extended header if needed. This could as well check the file name size and other fields.
A problem, though, is that the compatibility level is not considered, and in our writer we don't check the compatibility level before writing the extended header. This means we can set compatibility level to V7 but still get PAX extended headers. There is as well a discrepancy how we handle this for GNU compatibility level -- there we synthesize the GNU LongLink in the writer instead.
The text was updated successfully, but these errors were encountered:
The
Tar.Header.make
function checks the size required for the file size, uid and gid and creates an extended header if needed. This could as well check the file name size and other fields.ocaml-tar/lib/tar.ml
Lines 466 to 489 in ef66a98
A problem, though, is that the compatibility level is not considered, and in our writer we don't check the compatibility level before writing the extended header. This means we can set compatibility level to
V7
but still get PAX extended headers. There is as well a discrepancy how we handle this forGNU
compatibility level -- there we synthesize the GNU LongLink in the writer instead.The text was updated successfully, but these errors were encountered: