Summary: | fatblock() should call ulmin() rather than min() | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Robert Morris <rtm> | ||||
Component: | kern | Assignee: | freebsd-fs (Nobody) <fs> | ||||
Status: | New --- | ||||||
Severity: | Affects Some People | CC: | emaste | ||||
Priority: | --- | ||||||
Version: | CURRENT | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Robert Morris
2024-02-23 10:27:16 UTC
Created attachment 248690 [details]
FAT32 image that causes a page fault in fillinusemap()
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=0085afdceb17cb7d4e41f9073299f688372c6a0f commit 0085afdceb17cb7d4e41f9073299f688372c6a0f Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-02-23 17:30:10 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-02-23 17:37:52 +0000 fs/msdosfs fatblock: use ulmin() rather than min() to avoid truncation of pmp->pm_FATsecs. Submitted by: Robert Morris <rtm@lcs.mit.edu> PR: 277237 MFC after: 1 week sys/fs/msdosfs/msdosfs_fat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=b2c9d403d5a6d4a8eaaeff0005e48c6d107dba31 commit b2c9d403d5a6d4a8eaaeff0005e48c6d107dba31 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-02-23 17:30:10 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-03-01 04:12:02 +0000 fs/msdosfs fatblock: use ulmin() rather than min() PR: 277237 (cherry picked from commit 0085afdceb17cb7d4e41f9073299f688372c6a0f) sys/fs/msdosfs/msdosfs_fat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=846bf43ca4a2b42f2751df935de6d3257c6169ae commit 846bf43ca4a2b42f2751df935de6d3257c6169ae Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-02-23 17:30:10 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-03-01 04:12:45 +0000 fs/msdosfs fatblock: use ulmin() rather than min() PR: 277237 (cherry picked from commit 0085afdceb17cb7d4e41f9073299f688372c6a0f) sys/fs/msdosfs/msdosfs_fat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) |