Re: [hackers] [sbase][PATCH] tar: man page update, and more robust & descriptive errors

From: Roberto E. Vargas Caballero <k0ga_AT_shike2.net>
Date: Mon, 2 Jun 2025 09:19:25 +0200

Hi

On Sun, Jun 01, 2025 at 10:09:11PM +1000, Xan Phung wrote:
> 1. Manual page has been updated to reflect previous change to tar.
>
> 2. Error messages are more detailed & secured against unterminated
> header strings. Previously, sanitize() assumed numeric fields were
> terminated by space or null, but did not check termination is
> actually present.
>
> 3. Default mode of the blank header in archive() is now 0600. For
> all file headers, this is immediately set to the file's mode. Only
> L-headers keep the 0600 value (which are not user visible). GNU
> tar uses 0644, but 0600 was chosen for symmetry with sbase
> unarchive(), which also uses 0600 as the initial mode.

Applied with a minor whitespace change. Thanks!

Regards,
Received on Mon Jun 02 2025 - 09:19:25 CEST

This archive was generated by hypermail 2.3.0 : Mon Jun 02 2025 - 09:24:37 CEST