Module Name: src Committed By: maxv Date: Mon Jul 1 17:15:43 UTC 2019
Modified Files: src/sys/kern: sys_lwp.c Log Message: Restrict the size given to copyoutstr. It is safer to do that; even if there is no actual bug here, since the buffer is guaranteed to be NUL terminated. With KASAN we check the whole buffer to cover the "worst" case, and here it triggered false positives because the buffer size was not filtered. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/sys/kern/sys_lwp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.