[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Tom Cosgrove <tom_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Thu, 14 Dec 2006 00:37:24 -0700 (MST)
CVSROOT: /cvs
Module name: src
Changes by: tom_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2006/12/14 00:37:24
Modified files:
sys/msdosfs : msdosfs_vfsops.c
Log message:
If an MS-DOS filesystem claims to have more clusters than can be
represented in the FAT, limit the number of clusters we work with
to the FAT value. This stops corrupt filesystems causing us to run
off the end of the FAT and panic()ing in fillinusemap().
Found by Jason Crawford (jasonrcrawford at gmail.com) with the MOKB
fs fuzzer. Initial debugging by thib_(_at_)__(_dot_)_
ok krw@
Visit your host, monkey.org