Source-Changes archive

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

CVS commit: [netbsd-9] src/sbin/fsck



Module Name:    src
Committed By:   martin
Date:           Sat Jan  9 19:30:14 UTC 2021

Modified Files:
        src/sbin/fsck [netbsd-9]: partutil.c

Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #1184):

        sbin/fsck/partutil.c: revision 1.17

initialize disk_dict to NULL.

otherwise, if DIOCGDISKINFO returns an error != ENXIO getdiskinfo() later
tries to prop_object_release() stack garbage.

found by rumpctrl tests using clang-7.


To generate a diff of this commit:
cvs rdiff -u -r1.15.18.1 -r1.15.18.2 src/sbin/fsck/partutil.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index