Subject: kern/21575: msdosfs should be more forgiving if you try to write >4GB files
To: None <gnats-bugs@gnats.netbsd.org>
From: Antti Kantee <pooka@iki.fi>
List: netbsd-bugs
Date: 05/14/2003 17:05:35
>Number: 21575
>Category: kern
>Synopsis: msdosfs should be more forgiving if you try to write >4GB files
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 14 14:06:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Antti Kantee
>Release: NetBSD 1.6R
>Organization:
>Environment:
System: NetBSD brain-damage.localhost.fi 1.6R NetBSD 1.6R (BRAIN-DAMAGE.DEBUG) #2: Sat May 3 18:29:50 EEST 2003 pooka@brain-damage.localhost.fi:/sys/arch/i386/compile/BRAIN-DAMAGE.DEBUG i386
Architecture: i386
Machine: i386
>Description:
Tried to write a very large file onto fat32, had the kernel crash
at some point. Effectively any user with write access to a fat32
partition can panic the system if there is enough free space.
>How-To-Repeat:
Write large file to fat32
>Fix:
Instead of panicing in msdosfs_denode.c:deextend() when trying to
write a file with a size over the theorical limit of the filesystem,
something more graceful should be done, since files of this size
are becoming commonplace.
>Release-Note:
>Audit-Trail:
>Unformatted: