--- - branch: netbsd-8 date: Sat Jun 23 11:09:24 UTC 2018 files: - new: 1.7.8.2 old: 1.7.8.1 path: src/usr.sbin/sysinst/util.c pathrev: src/usr.sbin/sysinst/util.c@1.7.8.2 type: modified id: 20180623T110924Z.05499691806525f8edf1be1b0482b2adf75d01a6 log: "Pull up following revision(s) (requested by kamil in ticket #895):\n\n\tusr.sbin/sysinst/util.c: revision 1.9\n\nFix invalid free(3) in sysinst(8)\n\nThe path variable is assigned with an allocation on the heap with\nstrdup(3). Later this pointer is changed with strsep(3) and this caused\ninvalid free(3).\n\nStore the original pointer in a new helper variable opath and pass it to\nfree(3). With this change, the problem is going away.\n\nDetected with MKSANITIZER=yes with AddressSanitizer.\n" module: src subject: 'CVS commit: [netbsd-8] src/usr.sbin/sysinst' unixtime: '1529752164' user: martin