Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Apr 2010 14:28:58 +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:  <201004101429.o3AETJct057610@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jh          2010-04-10 14:28:58 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/geom             geom_dump.c 
  Log:
  SVN rev 206458 on 2010-04-10 14:28:58Z 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.10.2  +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?201004101429.o3AETJct057610>