mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-12 09:58:36 +00:00
d821d36419
When allocating memory through malloc(9), we always expect the amount of memory requested to be unsigned as a negative value would either stand for an error or an overflow. Unsign some values, found when considering the use of mallocarray(9), to avoid unnecessary casting. Also consider that indexes should be of at least the same size/type as the upper limit they pretend to index. MFC after: 3 weeks |
||
---|---|---|
.. | ||
bmap.c | ||
bmap.h | ||
nandfs_alloc.c | ||
nandfs_bmap.c | ||
nandfs_buffer.c | ||
nandfs_cleaner.c | ||
nandfs_cpfile.c | ||
nandfs_dat.c | ||
nandfs_dir.c | ||
nandfs_fs.h | ||
nandfs_ifile.c | ||
nandfs_mount.h | ||
nandfs_segment.c | ||
nandfs_subr.c | ||
nandfs_subr.h | ||
nandfs_sufile.c | ||
nandfs_vfsops.c | ||
nandfs_vnops.c | ||
nandfs.h |