[Bug 277454] bsdtar can dereference NULL from localtime()

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 03 Mar 2024 23:46:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277454

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste@freebsd.org

--- Comment #1 from Ed Maste <emaste@freebsd.org> ---
FWIW GNU tar reports:

$ gtar tvf ~/Downloads/tar5a.img
drwxr-xr-x rtm/wheel         0 2024-02-29 09:32 ./
-rw-r--r-- rtm/wheel         2 2023-02-11 12:28 ./a
gtar: Archive contains ‘`\374'\276\363\343:\021\327\021\235\337’ where numeric
off_t value expected
gtar: Skipping to next header
gtar: Archive contains ‘\342\034g\366l08[\362g4_’ where numeric off_t value
expected
---------- 0/0               0 1969-12-31 19:00
\315\017\202\363\363\a\336\347eI`\022\346@\325ه*{\031\371\330\302\bq\301\baʿ\313(\372\t\323\335@\321`?\237\371\t\367\317+\2178\003ʟ\322
-rw-r--r-- rtm/wheel         2 2023-02-11 12:28 ./d/b
gtar: Exiting with failure status due to previous errors

-- 
You are receiving this mail because:
You are the assignee for the bug.