erofs-utils: lib: tar: ignore useless fields of PAX extended headers
authorGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 26 Dec 2024 04:58:06 +0000 (12:58 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 26 Dec 2024 05:21:08 +0000 (13:21 +0800)
commit46a880b7584a2768fae879c867983ecf05c10f4f
tree86c2232842cb874897405aeb6b50b48940d38177
parentc9afb1acf8049eb2de7f869ed13dd077e742a20b
erofs-utils: lib: tar: ignore useless fields of PAX extended headers

Since some unknown writer just leaves zero-filled mtime, e.g.
registry.k8s.io/pause:3.6  --platform windows

Layer sha256: bc8517709e9cfff223cb034ff5be8fcbfa5409de286cdac9ae1b8878ebea6b84

Fixes: 95d315fd7958 ("erofs-utils: introduce tarerofs")
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20241226045808.95101-1-hsiangkao@linux.alibaba.com
lib/tar.c