https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282268
--- Comment #12 from [email protected] --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=b5149b265346c55994c7ebaab2a6a6fd1bd6fe5e commit b5149b265346c55994c7ebaab2a6a6fd1bd6fe5e Author: Mark Johnston <[email protected]> AuthorDate: 2024-10-23 16:54:56 +0000 Commit: Mark Johnston <[email protected]> CommitDate: 2024-10-23 22:12:45 +0000 linker: Handle a truncated hints file properly If vattr.va_size is 0, we will end up accessing invalid memory. This is mostly harmless (because malloc(0) still allocates some memory), but it triggers a KASAN report. PR: 282268 Reviewed by: christos, imp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D47240 sys/kern/kern_linker.c | 4 ++++ 1 file changed, 4 insertions(+) -- You are receiving this mail because: You are the assignee for the bug.
