freebsd-dev/usr.sbin/makefs
Enji Cooper bc06965ace Limit isoLevel to 1 and 2 to avoid segfaulting when isoLevel is set to 3 by
dereferencing a NULL function pointer

Add some asserts to ensure that isolevel is always either 1 or 2.

PR: 203645
Reported by: Thomas Schmitt <scdbackup@gmx.net>
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-11-02 08:43:15 +00:00
..
cd9660 Import the fix from NetBSD kern/48852 (sic) to fix rockridge encoding of 2015-10-24 23:16:13 +00:00
ffs makefs(8) leaves sblock.fs_providersize uninitialized (zero) that can be easily 2015-10-13 17:00:14 +00:00
tests Add a regression test for r289899 to validate rockridge encoding 2015-10-24 23:21:08 +00:00
cd9660.c Limit isoLevel to 1 and 2 to avoid segfaulting when isoLevel is set to 3 by 2015-11-02 08:43:15 +00:00
cd9660.h Allow contents of multiple directories to be merged to the current image. 2012-01-31 00:32:37 +00:00
ffs.c makefs: introduce a new option to specify what to round the resulting 2015-10-13 02:32:15 +00:00
ffs.h Add support to makefs(8) to add UFS labels to images. 2011-10-09 16:22:31 +00:00
Makefile Correctly reintroduce the rudimentary smoke tests I botched up 2015-10-22 05:32:45 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
makefs.8 Fix spelling of isolevel cd9660 option 2015-11-02 07:46:47 +00:00
makefs.c Follow up to roundup feature addition in r289203 2015-10-30 05:55:56 +00:00
makefs.h makefs: introduce a new option to specify what to round the resulting 2015-10-13 02:32:15 +00:00
mtree.c Don't leak 'var'. 2015-09-03 01:15:23 +00:00
walk.c Remove duplicated copies of various NetBSD compatibility shims used by 2013-05-09 14:43:36 +00:00