Module Name: src Committed By: rillig Date: Wed Aug 12 03:27:29 UTC 2020
Modified Files: src/usr.bin/make: make_malloc.c Log Message: make(1): in bmake_strndup, only scan the relevant part of the string Just in case the given str is not really a string. The POSIX 2018 documentation on strndup does not specify as clearly as possible whether s has to be a string or whether raw memory is acceptable as well. It only indirectly calls the s parameter of strndup a string. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/usr.bin/make/make_malloc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.