[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src

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@