Date: Thu, 14 May 2020 03:02:05 +0000 From: bugzilla-noreply@freebsd.org To: amd64@FreeBSD.org Subject: [Bug 208965] extattr(2) doesn't allow attribute names of length EXTATTR_MAXNAMELEN Message-ID: <bug-208965-17361-Yh26lOzN2m@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-208965-17361@https.bugs.freebsd.org/bugzilla/> References: <bug-208965-17361@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208965 --- Comment #4 from commit-hook@freebsd.org --- A commit references this bug: Author: cem Date: Thu May 14 03:01:24 UTC 2020 New revision: 361021 URL: https://svnweb.freebsd.org/changeset/base/361021 Log: vfs_extattr: Allow extattr names up to the full max Extattr names are allowed to be 255 bytes -- not 254 bytes plus trailing NUL. Provide a 256 buffer so that copyinstr() has room for the trailing NUL. Re-enable test for maximal name lengths. PR: 208965 Reported by: asomers Reviewed by: asomers Differential Revision: https://reviews.freebsd.org/D24584 Changes: head/sys/kern/vfs_extattr.c head/usr.sbin/extattr/tests/extattr_test.sh --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208965-17361-Yh26lOzN2m>