It would seem that this fix should also help FreeBSD architectures where
sizeof(time_t) == 8 everywhere except i386, but 32-bit RISC
architectures such as ARM usually have sizeof(long) == sizeof(void *) == 4.

Basically the bug fixed by tytso@'s patch hits when sizeof(long) <
sizeof(time_t) because strtoul() is insufficient to parse into time_t in
that situation.

I'll cherry-pick the patch from Git into FreeBSD, to appear as
e2fsprogs-1.45.3_2. FreeBSD reporter vs. ARM (on a BananaPi) on Bcc:.

Reply via email to