freebsd-dev/sys/geom/label
Mark Johnston f0a08fa9f5 geom_label: Add more validation for NTFS volume tasting
- Ensure that the computed MFT record size isn't negative or larger than
  maxphys before trying to read $Volume.
- Guard against truncated records in volume metadata.
- Ensure that the record length is large enough to contain the volume
  name.
- Verify that the (UTF-16-encoded) volume name's length is a multiple of
  two.

PR:		258833, 258914
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
2021-10-04 18:15:06 -04:00
..
g_label_disk_ident.c geom: clean up empty lines in .c and .h files 2020-09-01 22:14:09 +00:00
g_label_ext2fs.c g_label: Handle small sector sizes when tasting 2021-09-07 11:19:29 -04:00
g_label_flashmap.c geom_label: Make glabel labels more trivial by separating the tasting 2020-07-26 00:44:59 +00:00
g_label_gpt.c geom_label: Make glabel labels more trivial by separating the tasting 2020-07-26 00:44:59 +00:00
g_label_iso9660.c g_label: Handle small sector sizes when tasting 2021-09-07 11:19:29 -04:00
g_label_msdosfs.c geom: clean up empty lines in .c and .h files 2020-09-01 22:14:09 +00:00
g_label_msdosfs.h
g_label_ntfs.c geom_label: Add more validation for NTFS volume tasting 2021-10-04 18:15:06 -04:00
g_label_reiserfs.c g_label: Handle small sector sizes when tasting 2021-09-07 11:19:29 -04:00
g_label_ufs.c geom_label: Partially reinstate old sysinstall(8) workaround 2021-07-21 02:51:25 +01:00
g_label.c g_label: Handle small sector sizes when tasting 2021-09-07 11:19:29 -04:00
g_label.h geom_label: Make glabel labels more trivial by separating the tasting 2020-07-26 00:44:59 +00:00