ctime(3) and ctime_r(3) can fail when timestamps are way off.
authorflorian <florian@openbsd.org>
Thu, 9 May 2024 08:35:40 +0000 (08:35 +0000)
committerflorian <florian@openbsd.org>
Thu, 9 May 2024 08:35:40 +0000 (08:35 +0000)
commita7b9eedcb4c1ab985f28fc923822c24bc6417908
treeda227504270c1902e182ae298bb05115e1df93ae
parent94c8de549078a156f9fd3b5860c3a954e0098074
ctime(3) and ctime_r(3) can fail when timestamps are way off.
Add missing error checks to all calls under sbin/

Input kettenis, millert
OK millert
18 files changed:
sbin/dump/itime.c
sbin/dump/main.c
sbin/dump/optr.c
sbin/dump/tape.c
sbin/dumpfs/dumpfs.c
sbin/fsck_ext2fs/inode.c
sbin/fsck_ext2fs/pass1.c
sbin/fsck_ffs/inode.c
sbin/fsdb/fsdbutil.c
sbin/fsirand/fsirand.c
sbin/mount/mount.c
sbin/pfctl/pfctl_table.c
sbin/restore/tape.c
sbin/route/route.c
sbin/savecore/savecore.c
sbin/scan_ffs/scan_ffs.c
sbin/sysctl/sysctl.c
sbin/unwind/libunbound/validator/autotrust.c