freebsd-nq/usr.bin/quota
Conrad Meyer 404d2fee56 quota(1): Fix calculation overflow and underflow
For very large quotas, do the multiplication as a 64 bit value to avoid
overflow.

For very small block sizes (smaller than DEV_BSIZE), multiple first
before dividing by block size to avoid underflow.

PR:		227496
Submitted by:	Per Andersson <pa AT chalmers.se>
Sponsored by:	Dell EMC Isilon
2018-04-16 19:33:04 +00:00
..
Makefile
Makefile.depend
quota.1
quota.c quota(1): Fix calculation overflow and underflow 2018-04-16 19:33:04 +00:00