Module Name: src Committed By: martin Date: Mon Feb 11 20:40:18 UTC 2019
Modified Files: src/usr.sbin/sysinst: bsddisklabel.c defs.h partman.c util.c Log Message: Fix a few off by one (in both directions) in previous, pointed out by mrg. Avoid open coding snprintf return value checking and introduce a helper functions that always ensures string termination instead, suggested by christos. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/sysinst/bsddisklabel.c cvs rdiff -u -r1.31 -r1.32 src/usr.sbin/sysinst/defs.h cvs rdiff -u -r1.28 -r1.29 src/usr.sbin/sysinst/partman.c cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/sysinst/util.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.