https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202507
Bug ID: 202507 Summary: usr/src/tests/sys/aio/lio_kqueue_test.c:82: buffer too small ? Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: freebsd-bugs@FreeBSD.org Reporter: dcb...@hotmail.com [usr/src/tests/sys/aio/lio_kqueue_test.c:82]: (error) Buffer is accessed out of bounds: pathname Source code is strcpy(pathname, PATH_TEMPLATE); but char *file, pathname[sizeof(PATH_TEMPLATE)-1]; Maybe better code char *file, pathname[sizeof(PATH_TEMPLATE) + 1]; -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"