[Bug 227496] [patch] /usr/bin/quota overflow and underflow for NFS quota values.
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Apr 16 19:33:40 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227496
--- Comment #1 from commit-hook at freebsd.org ---
A commit references this bug:
Author: cem
Date: Mon Apr 16 19:33:04 UTC 2018
New revision: 332632
URL: https://svnweb.freebsd.org/changeset/base/332632
Log:
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
Changes:
head/usr.bin/quota/quota.c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list