freebsd-skq/usr.sbin/makefs
Alex Richardson 12ad8bdb34 usr.sbin/makefs: fix use-after-free in read_mtree_keywords()
The st variable is used as a shortcut for &node->inode->st, but in one
branch just before the exit we update node->inode without changing st.

Reported by:	AddressSanitizer
Reviewed By:	emaste
MFC after:	1 week
Differential Revision: https://reviews.freebsd.org/D28570
2021-02-10 15:24:25 +00:00
..
cd9660 Fix -Wpointer-sign warnings in makefs and mkimg 2021-01-07 09:26:21 +00:00
ffs Fix -Wpointer-sign warnings in makefs and mkimg 2021-01-07 09:26:21 +00:00
msdos makefs (msdosfs): Use fprintf instead of debug print for errors 2020-08-24 09:20:27 +00:00
tests Revert r362390, those tests are fixed by r362418 2020-06-23 19:14:38 +00:00
cd9660.c Synchronise with NetBSD's version of EFI handling for El Torito images. 2018-03-31 15:04:41 +00:00
cd9660.h Fix -Wpointer-sign warnings in makefs and mkimg 2021-01-07 09:26:21 +00:00
ffs.c makefs: Also set UFS di_birthtime when building on Linux 2019-11-15 18:34:30 +00:00
ffs.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
Makefile Fix makefs bootstrap on macOS after D25563 2020-08-25 13:30:24 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
makefs.8 makefs: connect cd9660 El Torito EFI boot image system type 2020-09-17 19:41:10 +00:00
makefs.c makefs: add msdosfs (FAT) support 2019-08-20 18:20:45 +00:00
makefs.h Fix -Wpointer-sign warnings in makefs and mkimg 2021-01-07 09:26:21 +00:00
msdos.c Fix contents= being ignored in msdosfs makefs mtree 2019-11-15 18:34:23 +00:00
msdos.h Properly update FSInfo block after generation. 2019-08-23 05:23:45 +00:00
mtree.c usr.sbin/makefs: fix use-after-free in read_mtree_keywords() 2021-02-10 15:24:25 +00:00
walk.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00