diff options
author | pjd <pjd@FreeBSD.org> | 2007-04-13 18:50:03 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2007-04-13 18:50:03 +0000 |
commit | 07cc016152a495aba24cd4bca7fc449750d28749 (patch) | |
tree | fc3f74bb8d0491670d361e1974fa56173cbe3d01 /sbin/mount | |
parent | f858a604e10aec453d5728f201cd0c1668b875ae (diff) | |
download | FreeBSD-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