freebsd-dev/share
Conrad Meyer 6e02fac9d9 ufs/extattr.h: Fix documentation of ea_name termination
The ea_name string is not nul-terminated.  Correct the documentation.

Because the subsequent field is padded to 8 bytes, and the padding is
zeroed, the ea_name string will appear to be nul-terminated whenever the
length isn't exactly one (mod eight).

This was introduced in r167010 (2007).

Additionally, mark the length fields as unsigned.  This particularly
matters for the single byte ea_namelength field, which can represent
extended attribute names up to 255 bytes long.

No functional change.

PR:		216127
Reported by:	dewayne at heuristicsystems.com.au
Reviewed by:	kib@
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D9206
2017-01-18 17:55:49 +00:00
..
colldef Update locales cldr to v30.0.3 and unicode to 9.0.0 2016-12-18 04:17:13 +00:00
ctypedef Update locales cldr to v30.0.3 and unicode to 9.0.0 2016-12-18 04:17:13 +00:00
dict Add META_MODE support. 2015-06-13 19:20:56 +00:00
doc Remove reference to RCS from PSD titles 2016-10-22 23:09:06 +00:00
dtrace Remove redefinitions of some kernel types from mbuf.d. 2016-09-03 20:43:59 +00:00
examples Attempt to make the parts that people are supposed to change stand out more 2016-11-13 17:28:32 +00:00
i18n Fix building on read-only source trees. 2016-08-22 22:50:58 +00:00
keys META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
man ufs/extattr.h: Fix documentation of ea_name termination 2017-01-18 17:55:49 +00:00
me Add META_MODE support. 2015-06-13 19:20:56 +00:00
misc committers-ports.dot: Add myself 2017-01-11 19:29:28 +00:00
mk Add a make target (smilint) for running smilint tool against BMIBS 2017-01-17 03:38:49 +00:00
monetdef Update locales cldr to v30.0.3 and unicode to 9.0.0 2016-12-18 04:17:13 +00:00
msgdef Update locales cldr to v30.0.3 and unicode to 9.0.0 2016-12-18 04:17:13 +00:00
numericdef Update locales cldr to v30.0.3 and unicode to 9.0.0 2016-12-18 04:17:13 +00:00
security META MODE: These need object directories to handle staging. 2015-11-26 01:14:27 +00:00
sendmail Update share/examples/* to properly install /usr/share/examples. 2016-05-10 00:51:50 +00:00
skel skel: Do not set -o emacs in .shrc. 2017-01-15 13:40:14 +00:00
snmp Add META_MODE support. 2015-06-13 19:20:56 +00:00
syscons DIRDEPS_BUILD: Run the staged bootstrap-tools version of build-tools. 2016-05-09 22:21:09 +00:00
tabset Add META_MODE support. 2015-06-13 19:20:56 +00:00
termcap Replace ln -s calls with INSTALL_SYMLINK 2015-12-04 03:17:14 +00:00
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
timedef Suffix short month names with "월" and replace %b with %_m for date formats. 2016-09-07 23:35:38 +00:00
vt Remove uudecode make rule for vt fonts 2016-02-29 18:35:16 +00:00
zoneinfo If you are going to be run individually to make a new timezone set 2016-12-22 18:30:29 +00:00
Makefile Posixify the locales name for variants 2016-07-03 18:21:11 +00:00
Makefile.inc