SHA256
8
0
forked from pool/libxml2

12 Commits

Author SHA256 Message Date
57a2c02f94 Accepting request 1238553 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 2.13.5:
  * Regressions:
    - xmlIO: Fix reading from non-regular files like pipes
    - xmlreader: Fix return value of xmlTextReaderReadString
    - parser: Fix loading of parameter entities in external DTDs
    - parser: Fix downstream code that swaps DTDs
    - parser: Fix detection of duplicate attributes
    - string: Fix va_copy fallback
  * Bug fixes:
    - xpath: Fix parsing of non-ASCII names
- Update to 2.13.4:
  * Regressions:
    - parser: Make unsupported encodings an error in declarations
    - io: don't set the executable bit when creating files
    - xmlcatalog: Improved fix for #699
    - Revert "catalog: Fetch XML catalog before dumping"
    - io: Add missing calls to xmlInitParser
    - tree: Restore return value of xmlNodeListGetString with NULL list
    - parser: Fix error handling after reaching limit
    - parser: Make xmlParseChunk return an error if parser was stopped
  * Bug fixes:
    - python: Fix SAX driver with character streams
  * Improvements:
    - xpath: Make recursion check work with xmlXPathCompile
    - parser: Report at least one fatal error
- Update to 2.13.3:
  * Security:
    - [bsc#1234812, CVE-2024-40896] Fix XXE protection in downstream code
  * Regressions:
    - autotools: Use AC_CHECK_DECL to check for getentropy

OBS-URL: https://build.opensuse.org/request/show/1238553
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=230
2025-01-20 08:42:54 +00:00
46de1e365a checkin
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=227
2024-11-13 09:48:33 +00:00
aaeba4d182 checkin
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=226
2024-11-13 09:39:45 +00:00
David Anes
7b90242533 Accepting request 1127259 from home:david.anes:branches:devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1127259
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=208
2023-11-17 09:12:32 +00:00
David Anes
48b25dcc99 Accepting request 1126959 from home:david.anes:branches:devel:libraries:c_c++
- Bring back a patch that was mistakenly removed in the last update.
  * Readded libxml2-make-XPATH_MAX_NODESET_LENGTH-configurable.patch

OBS-URL: https://build.opensuse.org/request/show/1126959
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=207
2023-11-16 15:56:37 +00:00
David Anes
1ebb983988 Accepting request 1126893 from home:david.anes:branches:devel:libraries:c_c++
- Removed patches (already in upstream):
  * libxml2-CVE-2023-39615.patch
  * libxml2-CVE-2023-45322.patch
  * libxml2-make-XPATH_MAX_NODESET_LENGTH-configurable.patch
  * python312.patch
- Update to 2.12.0: 
  * Major changes:
    - Most of the known issues leading to quadratic behavior in the 
      XML parser were fixed. Internal hash tables were rewritten to 
      reduce memory consumption.
    - Starting with this release, it should be enough to add the 
      --with-legacy configuration option to provide maximum ABI 
      compatibility. 
    - libxml2 will now store global variables in thread-local 
      storage if supported by the compiler. This avoids allocating 
      the data lazily which can result in a fatal error condition. 
    - A new API function xmlCheckThreadLocalStorage was added so the
      allocation can be checked earlier if compiler TLS is not 
      supported. 
    - To prepare for future improvements, some API functions now 
      expect or return a const xmlError struct.
    - Several cyclic dependencies in public header files were fixed. 
    - Refactoring of the encoding code has been mostly completed. 
      Calling xmlSwitchEncoding from client code is now fully 
      supported, for example to override the encoding for the push 
      parser.
    - When parsing data from memory, libxml2 will now stream data 
      chunk by chunk instead of copying the whole buffer (possibly 
      twice with encodings), reducing peak memory consumption 
      considerably.

OBS-URL: https://build.opensuse.org/request/show/1126893
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=206
2023-11-16 15:42:22 +00:00
997e8aa1f4 Accepting request 1084343 from home:david.anes:branches:devel:libraries:c_c++
- Rebased patches:
  * libxml2-make-XPATH_MAX_NODESET_LENGTH-configurable.patch
- Update to 2.11.1:
  * Fixes build and ABI issues.
    - cmake: Fix va_copy detection (Luca Niccoli)
    - libxml.m4: Fix quoting
    - Link with --undefined-version
    - libxml2.syms: Revert removal of version information
- Update to 2.11.0: 
  * Major changes
    - Protection against entity expansion attacks, also known as 
      "billion laughs" has been greatly improved. Malicious files 
      should be detected reliably now and false positives should be
      reduced. It is possible though that large documents which make
      heavy use of entities are rejected now.
    - This release finally fixes symbol visibility on UNIX systems. 
      Internal symbols will now be hidden. While these symbols were
      never declared in public headers, it was still possible to
      declare them manually. Now this won't work.
    - All symbol information has been removed from the ELF version
      script to fix link errors with --no-undefined-version. The
      version nodes are kept so it should still be possible to run
      binaries linked against older versions.
    - About 90 memory errors in code paths handling malloc failures
      have been fixed. While these issues shouldn't impact security,
      this improves robustness under memory pressure.
    - The XInclude engine has been reworked to properly support 
      nested includes.
    - Several cases of quadratic behavior in the XML push parser
      have been fixed.

OBS-URL: https://build.opensuse.org/request/show/1084343
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=194
2023-05-03 16:01:24 +00:00
b7a7f0a08f Accepting request 1010960 from home:iznogood:branches:devel:libraries:c_c++
- Update to version 2.10.3:
  + Security:
    - [CVE-2022-40304] Fix dict corruption caused by entity
      reference cycles
    - [CVE-2022-40303] Fix integer overflows with XML_PARSE_HUGE
    - Fix overflow check in SAX2.c
  + Build system: cmake: Set SOVERSION
- Rebase patches with quilt.

OBS-URL: https://build.opensuse.org/request/show/1010960
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=183
2022-10-17 07:34:17 +00:00
8088db10c7 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
f67e4fc7fc 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
Tomáš Chvátal
b989e62df9 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
7f41703c02 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=1 2009-06-18 18:16:21 +00:00