freebsd-src/sbin/bsdlabel
Ed Maste 3f4f82c0d7 bsdlabel: limit to 8 partitions
bsdlabel is intended to support up to 20 partitions, but the disklabel
struct has a d_partitions array with only BSD_NPARTS_MIN (8) entries.
Previously, an attempt to operate on a bsdlabel with more than eight
partitions resulted in a buffer overflow.

As a stopgap limit bsdlabel to 8 partitions until this is fixed
properly.

PR:		276517
2024-01-22 21:17:23 -05:00
..
bsdlabel.8 sbin: Remove ancient SCCS tags. 2023-11-26 22:23:29 -07:00
bsdlabel.c bsdlabel: limit to 8 partitions 2024-01-22 21:17:23 -05:00
disktab Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile sbin: Remove ancient SCCS tags. 2023-11-26 22:23:29 -07:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
pathnames.h sbin: Remove ancient SCCS tags. 2023-11-26 22:23:29 -07:00