https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208965

--- Comment #2 from Conrad Meyer <c...@freebsd.org> ---
I believe this is due to copyinstr(), which works with NUL-terminated strings
(and lengths), while the stack buffer in sys_extattr_set_fd(), etc, are only
sized to EXTATTR_MAXNAMELEN.  To fix this I think we just need to size the
buffers one larger to allow for the trailing NUL copyinstr expects.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
freebsd-amd64@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to "freebsd-amd64-unsubscr...@freebsd.org"

Reply via email to