Summary: | getextattr(8) -x garbles non-ASCII bytes | ||
---|---|---|---|
Product: | Base System | Reporter: | Alan Somers <asomers> |
Component: | bin | Assignee: | Alan Somers <asomers> |
Status: | Closed FIXED | ||
Severity: | Affects Many People | ||
Priority: | --- | ||
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any |
Description
Alan Somers
2016-04-25 16:52:46 UTC
A commit references this bug: Author: asomers Date: Wed May 4 21:07:30 UTC 2016 New revision: 299087 URL: https://svnweb.freebsd.org/changeset/base/299087 Log: Fix "getextattr -x" with non-ascii attribute values extattr/rmextattr.c When printing hex output, treat all attribute values as unsigned char arrays instead of sign extending them to 32 bit values. extattr/tests/extattr_test.sh Add a regression test PR: 209039 MFC after: 4 weeks Sponsored by: Spectra Logic Corp Changes: head/usr.sbin/extattr/rmextattr.c head/usr.sbin/extattr/tests/extattr_test.sh |