[PATCH 0/4] xen: parsing and sexpr escaping fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series fixes some xen XM parsing and sexpr generation issues.

The first two patches fix parsing /etc/xen files that use python style
triple quotes (which libvirt will actually generate in certain situations).

The last two patches fix generating xend sexpr with the reserved characters
& \ or '

Cole Robinson (4):
  conf: Convert ParseString to use STRPREFIX
  conf: Fix parsing python style triple quotes
  xend: urlencode: Properly escape '&'
  xend: Escape reserved sexpr characters

 docs/schemas/domain.rng                    |   10 +-
 src/util/buf.c                             |   79 +++++++++++++++++++
 src/util/buf.h                             |    1 +
 src/util/conf.c                            |   20 +++--
 src/xen/xend_internal.c                    |  116 +++++++++++++++------------
 tests/xmconfigdata/test-escape-paths.cfg   |    2 +-
 tests/xmconfigdata/test-escape-paths.xml   |    5 +
 tests/xml2sexprdata/xml2sexpr-escape.sexpr |    1 +
 tests/xml2sexprdata/xml2sexpr-escape.xml   |   24 ++++++
 tests/xml2sexprtest.c                      |    1 +
 10 files changed, 193 insertions(+), 66 deletions(-)
 create mode 100644 tests/xml2sexprdata/xml2sexpr-escape.sexpr
 create mode 100644 tests/xml2sexprdata/xml2sexpr-escape.xml

-- 
1.7.3.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]