Fix integer overflow in xmlBufferResize

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