Date: Thu, 22 Apr 2010 14:54:54 +0000 (UTC) From: Jaakko Heinonen <jh@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/geom geom_dump.c Message-ID: <201004221455.o3MEt5Z8022636@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jh 2010-04-22 14:54:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/geom geom_dump.c Log: SVN rev 207065 on 2010-04-22 14:54:54Z by jh MFC r205385: 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 Revision Changes Path 1.32.2.1 +25 -3 src/sys/geom/geom_dump.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004221455.o3MEt5Z8022636>