[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: Kenneth R Westerback <krw_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Sat, 21 Oct 2006 14:10:39 -0600 (MDT)
CVSROOT: /cvs
Module name: src
Changes by: krw_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2006/10/21 14:10:39
Modified files:
sys/arch/alpha/alpha: disksubr.c
sys/arch/amd64/amd64: disksubr.c
sys/arch/arm/arm: disksubr.c
sys/arch/hppa/hppa: disksubr.c
sys/arch/hppa64/hppa64: disksubr.c
sys/arch/i386/i386: disksubr.c
sys/arch/macppc/macppc: disksubr.c
sys/arch/mips64/mips64: disksubr.c
sys/arch/mvmeppc/mvmeppc: disksubr.c
sys/arch/aviion/aviion: disksubr.c
sys/arch/landisk/landisk: disksubr.c
Log message:
Don't try to spoof 0 length DOS MBR/EBR partitions. By skipping
partitions with 0 in the length field we don't need to test for
and skip partitions that are all zeros. Eliminating that code
allows elimination of a local pointer.
"0 length partitions are definately dead" deraadt@
Visit your host, monkey.org