- update to 1.4.5 (bsc#1218432):
* Fix invalid memory access (reading beyond allocated memory)
due to missing integer overflow check.
various data type classes. This fixes CVE-2021-3405.
- revert last change, breaks mkvtoolnix that uses
- Support C++ visibility by reusing win32 code for the same
- Do not use gcc -ansi flag.
- update baselibs.conf
- fix -devel package dependencies
- remove static libraries
- don't build as root
OBS-URL: https://build.opensuse.org/request/show/1135508
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libebml?expand=0&rev=79
- update to 1.4.3:
* A C++14 compliant C++ compiler is now required.
* Fix compilation with g++ 11. Fixes#80.
* Remove Coremake project files
* Updated the bundled utf8cpp to v3.2.1.
* Fixed several problems in `EbmlBinary:` potential segfault by
writing to a `nullptr`, potential memory leak under certain error
conditions.
* Fixed problems with the generated `pkg-config` files if any of the
installation paths are absolute.
- drop 0001-include-appropriate-header-files-for-std-numeric_lim.patch (upstream)
OBS-URL: https://build.opensuse.org/request/show/1007415
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libebml?expand=0&rev=75
- Update to version 1.4.1
* Fixed a case EbmlMaster::Read where the element returned via
UpperEltFound and FountElt points to a just-deleted element,
causing callers to think the memory returned is valid,
potentially leading to use-after-free/double-free errors.
This can happen if the specific element's Read function
throws an exception when encountering certain invalid data
constellations.
OBS-URL: https://build.opensuse.org/request/show/860422
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libebml?expand=0&rev=69
- Update to version 1.4.0
* Due to breaking ABI the soname version has been bumped to
5.0.0.
* Default symbol visibility is now "hidden", reducing binary
size.
* Converted some things pointed out by cppcheck & clang-tidy
to C++11.
* Fixed a lot of issues pointed out by clang-tidy.
* Added a function "ForceNoDefault" in the "EbmlElement" class.
* Added a function "OverwriteData" in the "EbmlElement" class
to complement the existing "OverwriteHead" function.
* A C++11 compliant compiler is now required. Several of its
features are now used in the source.
* EbmlElement::FindNextElement: fixed a buffer overflow on the
stack by one byte when the first byte read had its upper
four bits unset.
* EbmlCrc32: added a explicit assignment operator with default
implementation as an explicit copy constructor exists
(implicit assignment operators are deprecated in such cases).
- Spec cleanup
OBS-URL: https://build.opensuse.org/request/show/817488
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libebml?expand=0&rev=67
- Update to 1.3.6:
* Fixed undefined behavior when reading signed integers with
negative values from files.
* Fixed a small memory leak when reading an element runs into an
I/O exception (e.g. due to having reached the end of the file).
* Fixed the EbmlMaster::GetDataStart() function returning wrong
values for elements with an infinite/unknown size.
* Fixed finding the next element ID when garbage data is
encountered during the scan for the ID.
* Fixed several potential situations where reading child element
data could exceed the parent element's size.
OBS-URL: https://build.opensuse.org/request/show/626511
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libebml?expand=0&rev=58
- Update to 1.3.5
* The function EbmlMaster::CheckMandatory() will now only return
false if a mandatory element is missing for which there's no
default value in the specifications. This means that callers
such as EbmlMaster::UpdateSize() and by extension
EbmlMaster::Render() will not insist on all mandatory elements
being present anymore, but only those for which there's
no default value.
* Added a template function `FindNextChild`.
* Fix reading and EBML element even though the ID was not found
within the allowed reading limit.
* Fixed an instance of undefined behavior in
EbmlElement::GetSemantic() due to binding a dereferenced null
pointer to a reference.
OBS-URL: https://build.opensuse.org/request/show/518700
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libebml?expand=0&rev=56
- no need to put the internal code of EbmlCrc32 in the public header
- more safety on the Binary buffer handling in case we run out of memory
- fix CRC32 detection in master elements
- fix compilation under gcc 4.5
- Fixed handling of UTF-8 strings with characters encoded in more than three bytes
- Increased library .so name to .3 due to binary incompatible changes
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libebml?expand=0&rev=17