165 Commits

Author SHA256 Message Date
1e31ce4a12 Accepting request 1003582 from home:david.anes:branches:devel:libraries:c_c++
Add missing bug number to latest change in changelog

OBS-URL: https://build.opensuse.org/request/show/1003582
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=181
2022-09-14 16:15:09 +00:00
bb1d712d6d Accepting request 1000723 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Build for now with --with-legacy to enable APIs that have been
  deprecated recently.

OBS-URL: https://build.opensuse.org/request/show/1000723
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=179
2022-09-01 16:11:04 +00:00
85797f999a Accepting request 1000642 from home:iznogood:branches:devel:libraries:c_c++
- Update to version 2.10.2:
  * Improvements:
    + Remove set-but-unused variable in xmlXPathScanName
    + Silence -Warray-bounds warning
  * Build system
    + build: require automake-1.16.3 or later
    + Remove generated files from distribution
  * Test suite: Don't create missing.xml when running testapi
- Add configure --with-python=%{__python3} inbefore python build,
  as upstream no longer ships pre-grenerated files.
- Use sed to fix env-script-interpreter in documentation example.
- Pass with-ftp to configure, build ftp support.

OBS-URL: https://build.opensuse.org/request/show/1000642
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=178
2022-09-01 10:19:03 +00:00
2f50e21357 Accepting request 999277 from home:iznogood:branches:devel:libraries:c_c++
- Update to version 2.10.1:
  * Regressions: Fix xmlCtxtReadDoc with encoding
  * Bug fixes: Fix HTML parser with threads and --without-legacy
  * Build system:
    + Fix build with Python 3.10
    + cmake: Disable version script on macOS
    + Remove Makefile rule to build testapi.c
  * Documentation:
    + Switch back to HTML output for API documentation
    + Port doc/examples/index.py to Python 3
    + Fix order of exports in libxml2-api.xml
    + Remove libxml2-refs.xml

OBS-URL: https://build.opensuse.org/request/show/999277
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=176
2022-08-29 11:45:35 +00:00
15bb2353ef Accepting request 997729 from home:david.anes:branches:devel:libraries:c_c++
- Update to 2.10.0:
  * Security
    + [CVE-2022-2309] Reset nsNr in xmlCtxtReset
    + Reserve byte for NUL terminator and report errors consistently in xmlBuf and
      xmlBuffer
    + Fix missing NUL terminators in xmlBuf and xmlBuffer functions
    + Fix integer overflow in xmlBufferDump()
    + xmlBufAvail() should return length without including a byte for NUL
      terminator
    + Fix ownership of xmlNodePtr & xmlAttrPtr fields in xmlSetTreeDoc()
    + Use xmlNewDocText in xmlXIncludeCopyRange
    + Fix use-after-free bugs when calling xmlTextReaderClose() before
      xmlFreeTextReader() on post-validating parser
    + Use UPDATE_COMPAT() consistently in buf.c
    + fix: xmlXPathParserContext could be double-delete in  OOM case.
  * Removals and deprecations
    + Disable XPointer location support by default
    + Remove outdated xml2Conf.sh
    + Deprecate module init and cleanup functions
    + Remove obsolete XML Software Autoupdate (XSA) file
    + Remove DOCBparser
    + Remove obsolete Python test framework
    + Remove broken VxWorks support
    + Remove broken Mac OS 9 support
    + Remove broken bakefile support
    + Remove broken Visual Studio 2010 support
    + Remove broken Windows CE support
    + Deprecate IDREF-related functions in valid.h
    + Deprecate legacy functions
    + Disable legacy support by default

OBS-URL: https://build.opensuse.org/request/show/997729
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=175
2022-08-18 11:47:37 +00:00
74eadea270 Accepting request 984890 from home:mcepl:branches:devel:libraries:c_c++
Record fixed security bugs for synchronization with SLE package.

OBS-URL: https://build.opensuse.org/request/show/984890
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=173
2022-06-27 14:31:54 +00:00
c528738a30 Accepting request 974481 from home:david.anes:branches:devel:libraries:c_c++
- Update to 2.9.14:
  * Security:
    + [CVE-2022-29824] Integer overflow in xmlBuf and xmlBuffer
    + Fix potential double-free in xmlXPtrStringRangeFunction
    + Fix memory leak in xmlFindCharEncodingHandler
    + Normalize XPath strings in-place
    + Prevent integer-overflow in htmlSkipBlankChars() and 
      xmlSkipBlankChars()
    + Fix leak of xmlElementContent
  * Bug fixes:
    + Fix parsing of subtracted regex character classes
    + Fix recursion check in xinclude.c
    + Reset last error in xmlCleanupGlobals
    + Fix certain combinations of regex range quantifiers
    + Fix range quantifier on subregex
  * Improvements:
    + Fix recovery from invalid HTML start tags
  * Build system, portability:
    + Define LFS macros before including system headers
    + Initialize XPath floating-point globals
    + configure: check for icu DEFS 
    + configure.ac: produce tar.xz only (GNOME policy)
    + CMakeLists.txt: Fix LIBXML_VERSION_NUMBER
    + Fix build with older Python versions
    + Fix --without-valid build

OBS-URL: https://build.opensuse.org/request/show/974481
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=171
2022-05-02 21:14:54 +00:00
c4d11fc651 Accepting request 963492 from home:dimstar:Factory
Resubmit, rebased after branch was broken by update; fix self-cycle causing issues on bootstrap; puthon yupo fixed

OBS-URL: https://build.opensuse.org/request/show/963492
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=169
2022-03-21 14:09:59 +00:00
2aa915077a Accepting request 960606 from home:luc14n0:branches:devel:libraries:c_c++
Update to version 2.9.13.

OBS-URL: https://build.opensuse.org/request/show/960606
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=168
2022-03-20 19:44:40 +00:00
ec267bda96 Accepting request 927304 from home:mcepl:branches:devel:libraries:c_c++
- Rewrite package to the single-spec %python_subpackage_only style and
  eliminate unnecessary multibuild.

OBS-URL: https://build.opensuse.org/request/show/927304
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=167
2021-10-25 13:06:46 +00:00
2ab8b55b79 Accepting request 896721 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Fix python-lxml regression with libxml2 2.9.12:
  * Work around lxml API abuse:
      gitlab.gnome.org/GNOME/libxml2/issues/255
- Add upstream patches:
  * libxml2-fix-lxml-corrupted-subtree-structures.patch
  * libxml2-fix-regression-in-xmlNodeDumpOutputInternal.patch

OBS-URL: https://build.opensuse.org/request/show/896721
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=165
2021-06-01 20:33:10 +00:00
7a8a699c3a Accepting request 896506 from home:susnux:branches:devel:libraries:c_c++
Update to version 2.9.12

OBS-URL: https://build.opensuse.org/request/show/896506
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=164
2021-06-01 08:19:29 +00:00
d86bd362b7 Accepting request 894327 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Security fix: [bsc#1186015, CVE-2021-3541]
  * Exponential entity expansion attack bypasses all existing
    protection mechanisms.
- Add libxml2-CVE-2021-3541.patch

OBS-URL: https://build.opensuse.org/request/show/894327
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=163
2021-05-22 11:06:52 +00:00
278925eda6 Accepting request 892031 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Security fix: [bsc#1185698, CVE-2021-3537]
  * NULL pointer dereference in valid.c:xmlValidBuildAContentModel
  * Add libxml2-CVE-2021-3537.patch

OBS-URL: https://build.opensuse.org/request/show/892031
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=161
2021-05-11 05:53:45 +00:00
87ee057918 Accepting request 889099 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Security fix: [bsc#1185408, CVE-2021-3518]
  * Fix use-after-free in xinclude.c:xmlXIncludeDoProcess()
  * Add libxml2-CVE-2021-3518.patch

- Security fix: [bsc#1185410, CVE-2021-3517]
  * Fix heap-based buffer overflow in entities.c:xmlEncodeEntitiesInternal()
  * Add libxml2-CVE-2021-3517.patch

- Security fix: [bsc#1185409, CVE-2021-3516]
  * Fix use-after-free in entities.c:xmlEncodeEntitiesInternal()
  * Add libxml2-CVE-2021-3516.patch

OBS-URL: https://build.opensuse.org/request/show/889099
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=159
2021-04-29 07:09:39 +00:00
ef3b755a12 Accepting request 874752 from home:wicked:qubes-build
- Fails to build against Python 3.9:
  * Add upstream commit that fixes the issue
    e4fb368418
- Add patch libxml2-python39.patch

OBS-URL: https://build.opensuse.org/request/show/874752
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=157
2021-02-24 16:33:40 +00:00
d297826eb0 Accepting request 856646 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Security fix: [bsc#1161521, CVE-2019-20388]
  * Memory leak in xmlSchemaPreRun in xmlschemas.c
- Add libxml2-CVE-2019-20388.patch

OBS-URL: https://build.opensuse.org/request/show/856646
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=155
2020-12-19 18:30:12 +00:00
6d423d6285 Accepting request 850723 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Avoid quadratic checking of identity-constraints: [bsc#1178823]
  * key/unique/keyref schema attributes currently use qudratic loops
    to check their various constraints (that keys are unique and that
    keyrefs refer to existing keys).
  * This fix uses a hash table to avoid the quadratic behaviour.
- Add libxml2-Avoid-quadratic-checking-of-identity-constraints.patch

OBS-URL: https://build.opensuse.org/request/show/850723
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=153
2020-11-25 14:50:14 +00:00
697a5e87f4 Accepting request 843675 from home:bnavigator:branches:devel:libraries:c_c++
- Make python subpackage ready for multiple python3 flavors
  gh#openSUSE/python-rpm-macros#66

OBS-URL: https://build.opensuse.org/request/show/843675
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=151
2020-10-29 15:26:01 +00:00
79386fed17 Accepting request 832699 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Security fix: [bsc#1176179, CVE-2020-24977]
  * xmllint: global-buffer-overflow in xmlEncodeEntitiesInternal
- Add patch libxml2-CVE-2020-24977.patch

OBS-URL: https://build.opensuse.org/request/show/832699
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=149
2020-09-07 17:25:35 +00:00
a0d91ce08c Accepting request 809632 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Fix invalid xmlns references since the fix for CVE-2019-19956 [bsc#1172021]
- Revert upstream commit 5a02583c7e683896d84878bd90641d8d9b0d0549
  * Add patch libxml2-CVE-2019-19956.patch

- Security fix: [bsc#1161517, CVE-2020-7595]
  * xmlStringLenDecodeEntities in parser.c has an infinite loop in
    a certain end-of-file situation
- Add libxml2-CVE-2020-7595.patch

OBS-URL: https://build.opensuse.org/request/show/809632
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=147
2020-06-01 08:19:33 +00:00
Tomáš Chvátal
e6ab7faf4d - Do not pull in the non-python deps on the python build
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=145
2020-03-16 10:02:14 +00:00
Tomáš Chvátal
c609340d41 - Revert the previous change and use multibuild to determine
supported flavors.
  We need to be able to enable/disable pythons in prjconf and
  multibuild directly clashes with that.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=144
2020-03-14 11:13:46 +00:00
Tomáš Chvátal
42b7649202 Accepting request 757198 from home:StefanBruens:branches:devel:libraries:c_c++
- Build python2 and python3 bindings in separate flavors. As
  python3-libxml2 is a dependency of e.g. itstools and thus many
  other packages these packages no longer have a build dependency
  on python2. Breaks a build loop for python2.

OBS-URL: https://build.opensuse.org/request/show/757198
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=142
2019-12-17 10:16:49 +00:00
fb66360529 Accepting request 751664 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Since libxml2-2.9.10 perl-XML-LibXSLT fails to build: [bsc#1157450]
  * Revert upstream commit to make xmlFreeNodeList non-recursive
    0762c9b69b
- Add patch libxml2-xmlFreeNodeList-recursive.patch

OBS-URL: https://build.opensuse.org/request/show/751664
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=140
2019-11-28 16:58:00 +00:00
Tomáš Chvátal
f724b2168c Accepting request 748960 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Version update to 2.9.10:
  * Portability:
    + Fix exponent digits when running tests under old MSVC
    + Work around buggy ceil() function on AIX
    + Don't call printf with NULL string in runtest.c
    + Switched from unsigned long to ptrdiff_t in parser.c
    + timsort.h: support older GCCs
    + Make configure.ac work with older pkg-config
  * Bug Fixes:
    + Fix for conditional sections at end of document
    + Make sure that Python tests exit with error code
    + Audit memory error handling in xpath.c
    + Fix error code in xmlTextWriterStartDocument
    + Fix integer overflow when counting written bytes
    + Fix uninitialized memory access in HTML parser
    + Fix memory leak in xmlSchemaValAtomicType
    + Disallow conditional sections in internal subset
    + Fix use-after-free in xmlTextReaderFreeNodeList
    + Fix Regextests
    + Fix empty branch in regex
    + Fix integer overflow in entity recursion check
    + Don't read external entities or XIncludes from stdin
    + Fix Schema determinism check of ##other namespaces
    + Fix potential null deref in xmlSchemaIDCFillNodeTables
    + Fix potential memory leak in xmlBufBackToBuffer
    + Fix error message when processing XIncludes with fallbacks
    + Fix memory leak in xmlRegEpxFromParse
    + 14:00 is a valid timezone for xs:dateTime
    + Fix memory leak in xmlParseBalancedChunkMemoryRecover
    + Fix potential null deref in xmlRelaxNGParsePatterns

OBS-URL: https://build.opensuse.org/request/show/748960
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=139
2019-11-16 07:50:11 +00:00
Tomáš Chvátal
8319f31679 - Do not depend on setuptools to keep the depgraph small and
avoid build cycles

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=137
2019-09-09 08:28:46 +00:00
Tomáš Chvátal
cd3df1fd86 - Use python[23]-libmxl2 as python names not python-libxml2-python
which is kinda confusing

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=136
2019-08-02 13:09:12 +00:00
Tomáš Chvátal
883d33ecf9 - Do not ship libtool archive anymore
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=135
2019-08-01 10:53:38 +00:00
Tomáš Chvátal
bac7f8f4ab Accepting request 720054 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Enable tests also in the python subpackages

- Added a new configurable variable XPATH_DEFAULT_MAX_NODESET_LENGTH
  to avoid nodeset limit when processing large XML files [bsc#1135123]
  * Added libxml2-make-XPATH_MAX_NODESET_LENGTH-configurable.patch

- Merge python-libxml2-python spec and changes files into the
  libxml2 ones using _multibuild [bsc#1126499, bsc#1123919]

- Add libxml2-python3-string-null-check.patch: fix NULL pointer
    dereference when parsing invalid data (bsc#1065270
    glgo#libxml2!15).).
- Drop patch python3.6-verify_fd.patch merged upstream
- clean with spec-cleaner

- libxml2-python3-unicode-errors.patch: work around an issue with
  libxml2 supplied error strings being undecodable UTF-8 (bsc#1065270)

- convert to singlespec, build a python 3 version
- change build instructions to use setup.py (and %python_build macros)
  instead of makefile-based approach
- add python3.6-verify_fd.patch that fixes libxml2 on python 3.6
- rename to python-libxml2-python to conform to package naming policy
  (PyPI name is "libxml2-python")

- buildignore python to avoid build cycle

  * please see ChangeLog for more info
- fix version

OBS-URL: https://build.opensuse.org/request/show/720054
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=134
2019-07-31 13:47:56 +00:00
Tomáš Chvátal
516187c5de Accepting request 668947 from home:mgorse:branches:devel:libraries:c_c++
- Version update to 2.9.9:
  * Security:
    + CVE-2018-9251 CVE-2018-14567 Fix infinite loop in LZMA
      decompression (boo#1088279 boo#1105166).
    + CVE-2018-14404 Fix nullptr deref with XPath logic ops
      (boo#1102046).
  * Bug fixes:
    + Fix building relative URIs
    + Problem with data in interleave in RelaxNG validation
    + Fix memory leak in xmlSwitchInputEncodingInt error path
    + Set doc on element obtained from freeElems
    + Fix HTML serialization with UTF-8 encoding
    + Use actual doc in xmlTextReaderRead*Xml
    + Unlink node before freeing it in xmlSAX2StartElement
    + Check return value of nodePush in xmlSAX2StartElement
    + Free input buffer in xmlHaltParser
    + Reset HTML parser input pointers on encoding failure
    + Fix xmlSchemaValidCtxtPtr reuse memory leak
    + Fix xmlTextReaderNext with preparsed document
    + HTML noscript should not close p
    + Don't change context node in xmlXPathRoot
  * Improvements:
    + Remove redefined starts and defines inside include elements
    + Allow choice within choice in nameClass in RELAX NG
    + Look inside divs for starts and defines inside include
    +  Add newlines to 'xmllint --xpath' output
    + Don't include SAX.h from globals.h
    + Support xmlTextReaderNextSibling w/o preparsed doc
    + Improve restoring of context size and position
    + Simplify and harden nodeset filtering

OBS-URL: https://build.opensuse.org/request/show/668947
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=132
2019-01-28 07:51:27 +00:00
Tomáš Chvátal
37c6be8ae8 Accepting request 589169 from home:kukuk:branches:devel:libraries:c_c++
- Use %license instead of %doc [bsc#1082318]

OBS-URL: https://build.opensuse.org/request/show/589169
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=129
2018-03-20 12:36:57 +00:00
Tomáš Chvátal
c0692240c9 - Version update to 2.9.8:
* Various -Werror fixes and compilation updates as travis is now
    used by upstream
  * Few additional tests added for ICU operations

- Version update to 2.9.8:
  * Various -Werror fixes and compilation updates as travis is now
    used by upstream
  * Few additional tests added for ICU operations
- Drop patch python3.6-verify_fd.patch merged upstream

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=127
2018-03-14 13:19:21 +00:00
Tomáš Chvátal
b9c3bca323 Accepting request 540750 from home:avindra
- Version update to 2.9.7 release:
  * Bug Fixes:
    + xmlcatalog: restore ability to query system catalog easily
    + Fix comparison of nodesets to strings
  * Improvements:
    + Add Makefile rules to rebuild HTML man pages
    + Remove generated file python/setup.py from version control
    + Fix mixed decls and code in timsort.h
    + Rework handling of return values in thread tests
    + Fix unused variable warnings in testrecurse
    + Fix -Wimplicit-fallthrough warnings
    + Upgrade timsort.h to latest revision
    + Fix a couple of warnings in dict.c and threads.c
    + Fix unused variable warnings in nanohttp.c
    + Don't include winsock2.h in xmllint.c
    + Use __linux__ macro in generated code
  * Portability:
    + Add declaration for DllMain
    + Fix preprocessor conditional in threads.h
    + Fix macro redefinition warning
    + many Windows specific improvements
  * Documentation:
    + xmlcatalog: refresh man page wrt. quering system catalog easily
- Includes bug fixes from 2.9.6:
  * Fix XPath stack frame logic
  * Report undefined XPath variable error message
  * Fix regression with librsvg
  * Handle more invalid entity values in recovery mode
  * Fix structured validation errors
  * Fix memory leak in LZMA decompressor
  * Set memory limit for LZMA decompression
  * Handle illegal entity values in recovery mode
  * Fix debug dump of streaming XPath expressions
  * Fix memory leak in nanoftp
  * Fix memory leaks in SAX1 parser
- Drop libxml2-bug787941.patch
  * upstreamed in 3157cf4e53c03bc3da604472c015c63141907db8
- clean with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/540750
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=125
2017-11-12 07:41:35 +00:00
Tomáš Chvátal
02b2b9544b Accepting request 528088 from home:jengelh:branches:devel:libraries:c_c++
- Update package summaries and RPM groups. Trim descriptions for
  size on secondary subpackages. Replace install call by a
  commonly-used macro.

OBS-URL: https://build.opensuse.org/request/show/528088
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=119
2017-09-21 14:42:13 +00:00
Tomáš Chvátal
73ebdf714b - Add patch to fix TW integration:
* libxml2-bug787941.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=118
2017-09-21 14:07:04 +00:00
Tomáš Chvátal
0e165aec08 - Version update to 2.9.5 release:
* Merged all the previous cve fixes that were patched in
  * Few small tweaks
- Remove merged patches:
  * libxml2-CVE-2016-4658.patch
  * libxml2-CVE-2017-0663.patch
  * libxml2-CVE-2017-5969.patch
  * libxml2-CVE-2017-9047.patch
  * libxml2-CVE-2017-9048.patch
  * libxml2-CVE-2017-9049.patch
  * libxml2-2.9.4-fix_attribute_decoding.patch

- Version update to 2.9.5 release:
  * Merged all the previous cve fixes that were patched in
  * Few small tweaks
- Remove merged patches:
  * libxml2-CVE-2016-4658.patch
  * libxml2-CVE-2017-0663.patch
  * libxml2-CVE-2017-5969.patch
  * libxml2-CVE-2017-9047.patch
  * libxml2-CVE-2017-9048.patch
  * libxml2-CVE-2017-9049.patch
  * libxml2-2.9.4-fix_attribute_decoding.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=117
2017-09-10 10:05:02 +00:00
1cae816e2a Accepting request 503950 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Security fix:
  * libxml2-CVE-2017-0663.patch [bsc#1044337, CVE-2017-0663]
    * Fix Heap buffer overflow in xmlAddID

OBS-URL: https://build.opensuse.org/request/show/503950
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=115
2017-06-16 10:34:52 +00:00
Ismail Dönmez
d11c158e4b Accepting request 503708 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Security fix:
  * libxml2-CVE-2017-5969.patch [bsc#1024989, CVE-2017-5969]
    * Fix NULL pointer deref in xmlDumpElementContent

OBS-URL: https://build.opensuse.org/request/show/503708
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=114
2017-06-14 15:05:12 +00:00
Tomáš Chvátal
f155f039e2 Accepting request 497343 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Security fixes:
  * libxml2-CVE-2017-9049.patch [bsc#1039066]
    * heap-based buffer overflow (xmlDictComputeFastKey func)
  * libxml2-CVE-2017-9048.patch [bsc#1039063]
    * stack overflow vulnerability (xmlSnprintfElementContent func)
  * libxml2-CVE-2017-9047.patch [bsc#1039064]
    * stack overflow vulnerability (xmlSnprintfElementContent func)

OBS-URL: https://build.opensuse.org/request/show/497343
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=112
2017-05-23 08:45:45 +00:00
Tomáš Chvátal
ff92ef6132 Accepting request 477477 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Added libxml2-CVE-2016-4658.patch: Disallow namespace nodes in 
  XPointer ranges. Namespace nodes must be copied to avoid 
  use-after-free errors. But they don't necessarily have a physical
  representation in a document, so simply disallow them in XPointer
  ranges [bsc#1005544] [CVE-2016-4658]

OBS-URL: https://build.opensuse.org/request/show/477477
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=110
2017-03-07 12:08:36 +00:00
Ismail Dönmez
6e6c86b733 Accepting request 400685 from home:kstreitova:branches:devel:libraries:c_c++
- add libxml2-2.9.4-fix_attribute_decoding.patch to fix attribute
  decoding during XML schema validation [bnc#983288]

OBS-URL: https://build.opensuse.org/request/show/400685
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=108
2016-06-08 17:11:23 +00:00
Ismail Dönmez
183cea9230 Accepting request 398384 from home:psimons:branches:devel:libraries:c_c++
Update libxml2 to version libxml2-2.9.4. The new version is resistant against
CVE-2016-3627, CVE-2016-1833, CVE-2016-1835, CVE-2016-1837, CVE-2016-1836,
CVE-2016-1839, CVE-2016-1838, CVE-2016-1840, CVE-2016-4483, CVE-2016-1834,
CVE-2016-3705, and CVE-2016-1762.

OBS-URL: https://build.opensuse.org/request/show/398384
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=107
2016-05-28 07:30:13 +00:00
1f4c7fe0cc Accepting request 397049 from home:kstreitova:branches:devel:libraries:c_c++
- add libxml2-2.9.3-bogus_UTF-8_encoding_error.patch to fix XML
  push parser that fails with bogus UTF-8 encoding error when
  multi-byte character in large CDATA section is split across
  buffer [bnc#962796]

OBS-URL: https://build.opensuse.org/request/show/397049
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=105
2016-05-21 10:07:08 +00:00
ff9f040359 Accepting request 393436 from home:simotek:branches:devel:libraries:c_c++
Fixes for CVE-2016-3627 CVE-2016-3705, not sure who came up with the patch naming scheme but it copies the SLE equivalents

OBS-URL: https://build.opensuse.org/request/show/393436
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=103
2016-05-03 14:37:11 +00:00
de1ddd6225 - Update to new upstream release 2.9.3 (bsc#954429):
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=102
2015-11-26 08:58:02 +00:00
b235683ade Accepting request 346082 from home:susnux:branches:devel:libraries:c_c++
Update to new upstream release 2.9.3:
A lot of security fixes (CVE's) and other fixes.
Patches are fixed upstream and can be therefore removed.

OBS-URL: https://build.opensuse.org/request/show/346082
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=101
2015-11-26 08:56:39 +00:00
Ismail Dönmez
051dd26e8a Accepting request 259660 from home:vitezslav_cizek:branches:devel:libraries:c_c++
- fix a missing entities after CVE-2014-3660 fix
  (https://bugzilla.gnome.org/show_bug.cgi?id=738805)
  * added patches:
    0001-Fix-missing-entities-after-CVE-2014-3660-fix.patch
    0002-Adding-example-from-bugs-738805-to-regression-tests.patch

  * https://bugzilla.redhat.com/show_bug.cgi?id=1153753

OBS-URL: https://build.opensuse.org/request/show/259660
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=99
2014-11-04 18:12:02 +00:00
Ismail Dönmez
5566422ae7 Accepting request 259470 from home:vitezslav_cizek:branches:devel:libraries:c_c++
- fix a regression in libxml2 2.9.2
  (https://bugzilla.gnome.org/show_bug.cgi?id=738805,
   https://bugzilla.redhat.com/show_bug.cgi?id=1153753)
- add libxml2-dont_initialize_catalog.patch

OBS-URL: https://build.opensuse.org/request/show/259470
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=98
2014-11-03 11:07:52 +00:00
Ismail Dönmez
c6242f9929 Accepting request 259159 from home:vitezslav_cizek:branches:devel:libraries:c_c++
- update to 2.9.2
  * drop libxml2-CVE-2014-3660.patch (upstream)
  * add keyring to verify tarball
  Security:
  Fix for CVE-2014-3660 billion laugh variant
  CVE-2014-0191 Do not fetch external parameter entities
  Improvements:
  win32/libxml2.def.src after rebuild in doc
  elfgcchack.h: more legacy needs xmlSAX2StartElement() and xmlSAX2EndElement()
  elfgcchack.h: add xmlXPathNodeEval and xmlXPathSetContextNode
  Provide cmake module
  Fix a couple of issues raised by make dist
  Fix and add const qualifiers
  Preparing for upcoming release of 2.9.2
  Fix zlib and lzma libraries check via command line
  wrong error column in structured error when parsing end tag
  doc/news.html: small update to avoid line join while generating NEWS.
  Add methods for python3 iterator
  Support element node traversal in document fragments
  xmlNodeSetName: Allow setting the name to a substring of the currently set name
  Added macros for argument casts
  adding init calls to xml and html Read parsing entry points
  Get rid of 'REPLACEMENT CHARACTER' Unicode chars in xmlschemas.c
  Implement choice for name classes on attributes
  Two small namespace tweaks
  xmllint --memory should fail on empty files
  Cast encoding name to char pointer to match arg type

OBS-URL: https://build.opensuse.org/request/show/259159
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=96
2014-10-31 16:08:17 +00:00