FreeBSD Bugzilla – Attachment 15365 Details for
Bug 28536
writing to corrupted msdosfs causes kernel panic
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 578 bytes, created by
jyliu
on 2001-06-30 13:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
jyliu
Created:
2001-06-30 13:40:01 UTC
Size:
578 bytes
patch
obsolete
>*** msdosfs_vfsops.c.orig Sat Jun 30 14:21:15 2001 >--- msdosfs_vfsops.c Sat Jun 30 14:30:25 2001 >*************** >*** 681,686 **** >--- 681,692 ---- > /* > * Check and validate (or perhaps invalidate?) the fsinfo structure? XXX > */ >+ if (pmp->pm_fsinfo && pmp->pm_nxtfree > pmp->pm_maxcluster) { >+ printf ("Next free cluster in FSInfo (%u) exceeds maxcluster (%u)\n", >+ pmp->pm_nxtfree, pmp->pm_maxcluster); >+ error = EINVAL; >+ goto error_exit; >+ } > > /* > * Allocate memory for the bitmap of allocated clusters, and then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 28536
: 15365