diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2006-04-25 16:17:53 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2006-04-25 16:17:53 +0000 |
commit | 968d6439e6c3aeb98acae4e545c6c39403320a4b (patch) | |
tree | b2bb1243efb4d257297a6fac37487cf64e4afd76 /xmllint.c | |
parent | 8492ba1c0b4556aab9baffaa5046fdbc81196501 (diff) | |
download | libxml2-968d6439e6c3aeb98acae4e545c6c39403320a4b.tar.gz |
applied patch from Gary Coady to really make sure xmllint --nonet would
* xmllint.c: applied patch from Gary Coady to really make sure
xmllint --nonet would not reach the network, should fix #337483.
Daniel
Diffstat (limited to 'xmllint.c')
-rw-r--r-- | xmllint.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3164,6 +3164,7 @@ main(int argc, char **argv) { } else if ((!strcmp(argv[i], "-nonet")) || (!strcmp(argv[i], "--nonet"))) { options |= XML_PARSE_NONET; + xmlSetExternalEntityLoader(xmlNoNetExternalEntityLoader); } else if ((!strcmp(argv[i], "-nocompact")) || (!strcmp(argv[i], "--nocompact"))) { options &= ~XML_PARSE_COMPACT; |