| OLD | NEW |
| 1 Name: libxml | 1 Name: libxml |
| 2 URL: http://xmlsoft.org | 2 URL: http://xmlsoft.org |
| 3 Version: 2.7.7 | 3 Version: 2.7.7 |
| 4 License: MIT | 4 License: MIT |
| 5 License File: src/Copyright | 5 License File: src/Copyright |
| 6 Security Critical: yes | 6 Security Critical: yes |
| 7 | 7 |
| 8 Description: | 8 Description: |
| 9 The src/ directory contains a partial snapshot of the libxml library | 9 The src/ directory contains a partial snapshot of the libxml library |
| 10 with the patches in the patches/ directories applied. | 10 with the patches in the patches/ directories applied. |
| 11 See the files in that directory for discussion of their effects. | 11 See the files in that directory for discussion of their effects. |
| 12 | 12 |
| 13 Current version: 2.7.7. | 13 Current version: 2.7.7. |
| 14 | 14 |
| 15 Modifications: | 15 Modifications: |
| 16 - Converted to utf-8 with: vim +"argdo write ++enc=utf-8" *.c | 16 - Converted to utf-8 with: vim +"argdo write ++enc=utf-8" *.c |
| 17 - Import XPath fix http://git.gnome.org/browse/libxml2/commit/?id=91d19754d46acd
4a639a8b9e31f50f31c78f8c9c | 17 - Import XPath fix http://git.gnome.org/browse/libxml2/commit/?id=91d19754d46acd
4a639a8b9e31f50f31c78f8c9c |
| 18 - Import follow-on for above commit: http://git.gnome.org/browse/libxml2/commit/
?id=ea90b894146030c214a7df6d8375310174f134b9 | 18 - Import follow-on for above commit: http://git.gnome.org/browse/libxml2/commit/
?id=ea90b894146030c214a7df6d8375310174f134b9 |
| 19 - Import additional XPath fix http://git.gnome.org/browse/libxml2/commit/?id=df8
3c17e5a2646bd923f75e5e507bc80d73c9722 | 19 - Import additional XPath fix http://git.gnome.org/browse/libxml2/commit/?id=df8
3c17e5a2646bd923f75e5e507bc80d73c9722 |
| 20 - Import follow-on fix for above commit: http://git.gnome.org/browse/libxml2/com
mit/?id=fec31bcd452e77c10579467ca87a785b41115de6 | 20 - Import follow-on fix for above commit: http://git.gnome.org/browse/libxml2/com
mit/?id=fec31bcd452e77c10579467ca87a785b41115de6 |
| 21 - And a follow-on fix to the previous two fixes, committed upstream: http://git.
gnome.org/browse/libxml2/commit/?id=f5048b3e71fc30ad096970b8df6e7af073bae4cb (sl
ightly differently, but we can drop our local fix on the next roll). | 21 - And a follow-on fix to the previous two fixes, committed upstream: http://git.
gnome.org/browse/libxml2/commit/?id=f5048b3e71fc30ad096970b8df6e7af073bae4cb (sl
ightly differently, but we can drop our local fix on the next roll). |
| 22 - Add a fix for handling of unknown namespaces, commit upstream is pending. | 22 - Add a fix for handling of unknown namespaces, commit upstream is pending. |
| 23 - Add fixes for ending the parse properly if a SAX callback calls xmlStopParser(
), commit upstream is pending. | 23 - Add fixes for ending the parse properly if a SAX callback calls xmlStopParser(
), commit upstream is pending. |
| 24 - Add fix for entities, commit upstream is http://git.gnome.org/browse/libxml2/c
ommit/?id=5bd3c061823a8499b27422aee04ea20aae24f03e | 24 - Add fix for entities, commit upstream is http://git.gnome.org/browse/libxml2/c
ommit/?id=5bd3c061823a8499b27422aee04ea20aae24f03e |
| 25 - Import UTF-8 fix from upstream: http://git.gnome.org/browse/libxml2/commit/?id
=0795348aeb86648723bc391e4d02e20631c10bca | 25 - Import UTF-8 fix from upstream: http://git.gnome.org/browse/libxml2/commit/?id
=0795348aeb86648723bc391e4d02e20631c10bca |
| 26 - Import XPath fix http://git.gnome.org/browse/libxml2/commit/xpath.c?id=2ddecc2
3862bab1a9a9e51e097aefc92ec305e28 | 26 - Import XPath fix http://git.gnome.org/browse/libxml2/commit/xpath.c?id=2ddecc2
3862bab1a9a9e51e097aefc92ec305e28 |
| 27 - Merge clang warning fix http://git.gnome.org/browse/libxml2/commit/?id=aae48e6
4dfbf2b46b157a4c1857e30645116388f | 27 - Merge clang warning fix http://git.gnome.org/browse/libxml2/commit/?id=aae48e6
4dfbf2b46b157a4c1857e30645116388f |
| 28 - Add a fix for proper escaping of xpointer expressions, commit upstream is pend
ing. | 28 - Add a fix for proper escaping of xpointer expressions, commit upstream is pend
ing. |
| 29 - Add helper classes in chromium/libxml_utils.cc and chromium/include/libxml/lib
xml_utils.h. | 29 - Add helper classes in chromium/libxml_utils.cc and chromium/include/libxml/lib
xml_utils.h. |
| 30 - Add a tweak to limit problems caused by excessive strings and buffers. | 30 - Add a tweak to limit problems caused by excessive strings and buffers. |
| 31 - Change the xmlNs struct a little bit, so it looks like it has no children | 31 - Change the xmlNs struct a little bit, so it looks like it has no children |
| 32 - Prevent snprintf from being defined as _snprintf on VS 2015. | 32 if treated as a generic xmlNode object. |
| 33 if treated as a generic xmlNode object. | |
| 34 - Fix pretty harmless use-after-free in generate-id function. | 33 - Fix pretty harmless use-after-free in generate-id function. |
| 35 - Merge a clang warning fix http://git.gnome.org/browse/libxml2/commit/?id=71343
4d2309da469d64b35e163ea6556dadccada | 34 - Merge a clang warning fix http://git.gnome.org/browse/libxml2/commit/?id=71343
4d2309da469d64b35e163ea6556dadccada |
| 36 - Import attribute normalization fix http://git.gnome.org/browse/libxml2/commit/
?id=6a36fbe3b3e001a8a840b5c1fdd81cefc9947f0d | 35 - Import attribute normalization fix http://git.gnome.org/browse/libxml2/commit/
?id=6a36fbe3b3e001a8a840b5c1fdd81cefc9947f0d |
| 37 - Merge a redundant comparison fix http://git.gnome.org/browse/libxml2/commit/?i
d=2af19f985b911b6dc6ada478ba8d201d2ddc9309 | 36 - Merge a redundant comparison fix http://git.gnome.org/browse/libxml2/commit/?i
d=2af19f985b911b6dc6ada478ba8d201d2ddc9309 |
| 38 - Merge a redundant comparisons fix https://git.gnome.org/browse/libxml2/commit/
?id=eea38159be421dbafbee38f40e239f91734bc713 | 37 - Merge a redundant comparisons fix https://git.gnome.org/browse/libxml2/commit/
?id=eea38159be421dbafbee38f40e239f91734bc713 |
| 39 - Merge XML_PARSER_EOF checks https://git.gnome.org/browse/libxml2/commit/?id=48
b4cdde3483e054af8ea02e0cd7ee467b0e9a50 and https://git.gnome.org/browse/libxml2/
commit/?id=e50ba8164eee06461c73cd8abb9b46aa0be81869 | 38 - Merge XML_PARSER_EOF checks https://git.gnome.org/browse/libxml2/commit/?id=48
b4cdde3483e054af8ea02e0cd7ee467b0e9a50 and https://git.gnome.org/browse/libxml2/
commit/?id=e50ba8164eee06461c73cd8abb9b46aa0be81869 |
| 39 - Prevent snprintf from being defined as _snprintf on VS 2015. |
| 40 - Make ucrt of Win10 SDK not define POSIX error codes. |
| 41 - Delete/disable nanoftp and nanohttp. |
| 40 | 42 |
| 41 To import a new snapshot of libxml: | 43 To import a new snapshot of libxml: |
| 42 | 44 |
| 43 - Visit http://xmlsoft.org/downloads.html and download the latest source | 45 - Visit http://xmlsoft.org/downloads.html and download the latest source |
| 44 distribution. | 46 distribution. |
| 45 - Copy the files into this directory, omitting files which have been omitted | 47 - Copy the files into this directory, omitting files which have been omitted |
| 46 here. E.g.: for i in $(find . -type f); do cp ../libxml-newver/$i $i; done | 48 here. E.g.: for i in $(find . -type f); do cp ../libxml-newver/$i $i; done |
| 47 This should clobber all local changes to this directory. | 49 This should clobber all local changes to this directory. |
| 48 - Apply the patches in patches/ and fix any problems. | 50 - Apply the patches in patches/ and fix any problems. |
| 49 UPDATE THOSE PATCHES OR EVAN WILL HUNT YOU DOWN. | 51 UPDATE THOSE PATCHES OR EVAN WILL HUNT YOU DOWN. |
| 50 - On a Linux system, | 52 - On a Linux system, |
| 51 $ cd linux | 53 $ cd linux |
| 52 $ ../configure --without-iconv --without-ftp --without-http | 54 $ ../configure --without-iconv --without-ftp --without-http |
| 53 to generate config.h and include/libxml/xmlversion.h for Linux. | 55 to generate config.h and include/libxml/xmlversion.h for Linux. |
| 54 - On a Mac, | 56 - On a Mac, |
| 55 $ cd mac | 57 $ cd mac |
| 56 $ ../configure --without-iconv --without-ftp --without-http | 58 $ ../configure --without-iconv --without-ftp --without-http |
| 57 to generate config.h and include/libxml/xmlversion.h for Macs. | 59 to generate config.h and include/libxml/xmlversion.h for Macs. |
| 58 - On Windows, run build/generate-win32-headers.bat to re-generate config.h and | 60 - On Windows, run build/generate-win32-headers.bat to re-generate config.h and |
| 59 include/libxml/xmlversion.h for Windows builds. | 61 include/libxml/xmlversion.h for Windows builds. |
| 60 - Update this README to reflect the new version number. | 62 - Update this README to reflect the new version number. |
| OLD | NEW |