summaryrefslogtreecommitdiffstats
path: root/sbin/mount
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2007-04-13 18:50:03 +0000
committerpjd <pjd@FreeBSD.org>2007-04-13 18:50:03 +0000
commit07cc016152a495aba24cd4bca7fc449750d28749 (patch)
treefc3f74bb8d0491670d361e1974fa56173cbe3d01 /sbin/mount
parentf858a604e10aec453d5728f201cd0c1668b875ae (diff)
downloadFreeBSD-src-07cc016152a495aba24cd4bca7fc449750d28749.zip
FreeBSD-src-07cc016152a495aba24cd4bca7fc449750d28749.tar.gz
Fix overflow, which was causing endless loops when 32bit machine had more
than 2GB of RAM. This was because our physmem is long and 'physmem*PAGESIZE' can be negative for more than 2GB of memory. Reported by: Andrey V. Elsukov <bu7cher@yandex.ru> It is not yet tested by Andrey, so there can be other problems, but this was definiately a bug, so I'm committing a fix now.
Diffstat (limited to 'sbin/mount')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud