HardenedBSD/usr.sbin/makefs/ffs
Nathaniel Filardo 7ef082733b makefs: Cast daddr_t to off_t before multiplication
Apparently some large-file systems out there, such as my powerpc64le
Linux box, define daddr_t as a 32-bit type, which is sad and stymies
cross-building disk images.  Cast daddr_t to off_t before doing
arithmetic that overflows.

Reviewed by:	arichardson, jrtc27, imp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D27458
2021-06-15 01:22:04 +01:00
..
buf.c
buf.h
ffs_alloc.c
ffs_balloc.c
ffs_bswap.c
ffs_extern.h
ffs_subr.c
Makefile.inc
mkfs.c
newfs_extern.h
ufs_bmap.c
ufs_bswap.h
ufs_inode.h