LSN-2014-0003: Don't expand entities when parsing XML
If the XML_PARSE_NOENT flag is passed to libxml2, then any
entities in the input document will be fully expanded. This
allows the user to read arbitrary files on the host machine
by creating an entity pointing to a local file. Removing
the XML_PARSE_NOENT flag means that any entities are left
unchanged by the parser, or expanded to "" by the XPath
APIs.
Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
Showing
-
mentioned in commit 16d55b31
-
mentioned in commit 022b34ce
-
mentioned in commit be7a5de9
-
mentioned in commit 66de726e
-
mentioned in commit 16fc426a
-
mentioned in commit 040df62a
-
mentioned in commit 4410a83e
-
mentioned in commit 89538f57
-
mentioned in commit 6f4eae73
-
mentioned in commit cfc94140
-
mentioned in commit 8fd2005c
-
mentioned in commit 46de45d0
-
mentioned in commit e2b96d53
-
mentioned in commit 9b1d0937
-
mentioned in commit 87738867
-
mentioned in commit ab07ebeb
-
mentioned in commit a4536883
-
mentioned in commit a8480e2b
想要评论请 注册 或 登录