Merge the 2018-09-05 SPL branch from AOSP-Partner

* security-aosp-nyc-mr2-release:
  RESTRICT AUTOMERGE: Update libxml2 to 2.9.8
  DO NOT MERGE: Add validation for eternal enities
  DO NOT MERGE: Use correct limit for port values
  DO NOT MERGE: Heap buffer overflow in xmlAddID
  DO NOT MERGE: fix for the XPath nodeTab use-after-free bug from nmehta@
  DO NOT MERGE: Apply upstream Chromium patch for encoding changes
  DO NOT MERGE: Fix XPointer paths beginning with range-to
  DO NOT MERGE: Disallow namespace nodes in XPointer ranges

Conflicts: Although the SPL branch is supposed to introduce changes on
top of the release tag, it does not merge cleanly. Even after a
`git merge -X theirs ...`, parser.c remained in an unclean state. Fixed
that by an additional `git checkout HEAD^2 -- .`, amending the merge.

Change-Id: Ifd5680aa492cc168d017f652d9a3797db716a894
tree: fdcd3e879406ec5f2e6314a2434595666c0bf1d5
  1. bakefile/
  2. doc/
  3. example/
  4. include/
  5. macos/
  6. optim/
  7. os400/
  8. python/
  9. result/
  10. test/
  11. vms/
  12. VxWorks/
  13. win32/
  14. xstc/
  15. .gitignore
  16. .travis.yml
  17. acinclude.m4
  18. Android.bp
  19. Android.mk
  20. AUTHORS
  21. autogen.sh
  22. buf.c
  23. buf.h
  24. build_glob.py
  25. c14n.c
  26. catalog.c
  27. ChangeLog
  28. check-relaxng-test-suite.py
  29. check-relaxng-test-suite2.py
  30. check-xinclude-test-suite.py
  31. check-xml-test-suite.py
  32. check-xsddata-test-suite.py
  33. chvalid.c
  34. chvalid.def
  35. CleanSpec.mk
  36. config.h
  37. configure.ac
  38. Copyright
  39. dbgen.pl
  40. dbgenattr.pl
  41. debugXML.c
  42. dict.c
  43. DOCBparser.c
  44. elfgcchack.h
  45. enc.h
  46. encoding.c
  47. entities.c
  48. error.c
  49. genChRanges.py
  50. gentest.py
  51. genUnicode.py
  52. global.data
  53. globals.c
  54. HACKING
  55. hash.c
  56. INSTALL.libxml2
  57. legacy.c
  58. libxml-2.0-uninstalled.pc.in
  59. libxml-2.0.pc.in
  60. libxml.3
  61. libxml.h
  62. libxml.m4
  63. libxml.spec.in
  64. libxml2-config.cmake.in
  65. libxml2.doap
  66. libxml2.syms
  67. list.c
  68. MAINTAINERS
  69. Makefile.am
  70. Makefile.tests
  71. Makefile.win
  72. MODULE_LICENSE_MIT
  73. nanoftp.c
  74. nanohttp.c
  75. NEWS
  76. parser.c
  77. parserInternals.c
  78. pattern.c
  79. README
  80. README.cvs-commits
  81. README.tests
  82. README.version
  83. README.zOS
  84. regressions.py
  85. regressions.xml
  86. relaxng.c
  87. rngparser.c
  88. runsuite.c
  89. runtest.c
  90. runxmlconf.c
  91. save.h
  92. SAX.c
  93. SAX2.c
  94. schematron.c
  95. testapi.c
  96. testAutomata.c
  97. testC14N.c
  98. testchar.c
  99. testdict.c
  100. testdso.c
  101. testHTML.c
  102. testlimits.c
  103. testModule.c
  104. testOOM.c
  105. testOOMlib.c
  106. testOOMlib.h
  107. testReader.c
  108. testrecurse.c
  109. testRegexp.c
  110. testRelax.c
  111. testSAX.c
  112. testSchemas.c
  113. testThreads.c
  114. testThreadsWin32.c
  115. testURI.c
  116. testXPath.c
  117. threads.c
  118. timsort.h
  119. TODO
  120. TODO_SCHEMAS
  121. tree.c
  122. trio.c
  123. trio.h
  124. triodef.h
  125. trionan.c
  126. trionan.h
  127. triop.h
  128. triostr.c
  129. triostr.h
  130. uri.c
  131. valid.c
  132. xinclude.c
  133. xlink.c
  134. xml2-config.1
  135. xml2-config.in
  136. xml2Conf.sh.in
  137. xmlcatalog.c
  138. xmlIO.c
  139. xmllint.c
  140. xmlmemory.c
  141. xmlmodule.c
  142. xmlreader.c
  143. xmlregexp.c
  144. xmlsave.c
  145. xmlschemas.c
  146. xmlschemastypes.c
  147. xmlstring.c
  148. xmlunicode.c
  149. xmlwriter.c
  150. xpath.c
  151. xpointer.c
  152. xzlib.c
  153. xzlib.h