diff options
author | jh <jh@FreeBSD.org> | 2010-03-20 16:16:13 +0000 |
---|---|---|
committer | jh <jh@FreeBSD.org> | 2010-03-20 16:16:13 +0000 |
commit | 8dba506a842e4b01ce43ecec136488b353b2fd1f (patch) | |
tree | d01eb2af603cd83a443079506ae64c04b5a9d24c /usr.bin/biff/biff.1 | |
parent | 73dc33cf71697b5916277aae66615611caf92b28 (diff) | |
download | FreeBSD-src-8dba506a842e4b01ce43ecec136488b353b2fd1f.zip FreeBSD-src-8dba506a842e4b01ce43ecec136488b353b2fd1f.tar.gz |
Escape characters unsafe for XML output in GEOM class, instance and
provider names.
- Characters in range 0x01-0x1f except '\t', '\n', and '\r' are replaced
with '?'. Those characters are disallowed in XML.
- '&', '<', '>', '\'', '"' and characters in range 0x7f-0xff are
replaced with XML numeric character reference.
If the kern.geom.confxml sysctl provides invalid XML, libgeom
geom_xml2tree() fails and utilities using it do not work. Unsafe
characters are common in msdosfs and cd9660 labels.
PR: kern/104389
Submitted by: Doug Steinwand (original version)
Reviewed by: pjd
Discussed on: freebsd-geom
MFC after: 3 weeks
Diffstat (limited to 'usr.bin/biff/biff.1')
0 files changed, 0 insertions, 0 deletions