NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/60601 CVS commit: src/sys/fs/tmpfs
The following reply was made to PR kern/60601; it has been noted by GNATS.
From: "Robert Elz" <kre%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/60601 CVS commit: src/sys/fs/tmpfs
Date: Wed, 7 Oct 2026 04:25:09 +0000
Module Name: src
Committed By: kre
Date: Wed Oct 7 04:25:09 UTC 2026
Modified Files:
src/sys/fs/tmpfs: tmpfs_mem.c
Log Message:
PR kern/60601 - Avoid 32 bit wraparound on ILP32 hosts
In tmpfs_bytes_max calculate avail_mem using 64 bit calculations,
rather than one small piece being 32 bit only (and subject to
simple overflow, entirely within reasonable values).
Reported and diagnosed by Hashimoto Kenichi in PR kern/60601
XXX - pullup -11 -10 (in a week or two).
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/fs/tmpfs/tmpfs_mem.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index