FreeBSD_HEAD_i386 - Build #1085 - Fixed:

Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/1085/
Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/1085/changes
Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/1085/console

Change summaries:

287650 by delphij:
Use strlcpy() in favor of strncpy() as it's defined to have a nul character
at the end of string buffer, and the code context do expects this to behave
correctly (e.g. strchr).

Note that we do not believe there is real-world impact for gstat(8)'s usage
because the strings are length checked, and the on-stack buffer belongs to
main() and we can expect to have zeros in them.

MFC after:      2 weeks

_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to