This package contains the benchmark module for xstream.
Provides
Requires
License
BSD-3-Clause
Changelog
* Fri Nov 08 2024 Fridrich Strba <fstrba@suse.com>
- Upgrade to 1.4.21
* Security fixes
+ This maintenance release addresses the security vulnerability
CVE-2024-47072 (bsc#1233085), when using the BinaryDriver to
unmarshal a manipulated input stream causing a Denial of
Service due to a stack overflow.
* Major changes
+ #350: Optimize memory allocation
+ Add a converter for the WeakHashMap which does not write any
elements of the map. Avoids also access to the ReentrantLock
contained in the WeakHashMap since Java 19.
* Minor changes
+ #335: Allow PrettyPrintWriter to replace invalid XML
characters when not running in quirks mode
+ #331, #326: Fix handling of empty
java.util.concurrent.atomic.AtomicReference
+ #334: Fix remaining buffer size calculation in QuickWriter
+ #342: Optimize internal handling of children in DomReader
avoiding O(n^2) access times for siblings
+ #349: Fix support of lambda objects for Java 21 and above
+ #359: Add KEYS file with public keys to verify signed
artifacts.
+ Detect input manipulation in
c.t.x.io.binary.BinaryStreamReader.
+ Use Jettison 1.5.4 by default for Java Runtimes version 8 or
higher.
* API changes
+ Added constant
c.t.x.io.xml.PrettyPrintWriter.XML_1_0_REPLACEMENT.
+ Added constant
c.t.x.io.xml.PrettyPrintWriter.XML_1_1_REPLACEMENT.
+ Added c.t.x.converters.collections.WeakHashMapConverter.
+ Protected field fieldsToOmit of
c.t.x.mapper.ElementIgnoringMapper set to private.
+ Protected field unknownElementsToIgnore of
c.t.x.mapper.ElementIgnoringMapper set to private.
* Stream compatibility
+ The WeakHashMaps, that have been written with previous
versions of XStream, can still be deserialized.
- Build against the stax:stax and stax:stax-api artifact
and without hibernate unconditionally
- Modified patch:
* Revert-MXParser-changes.patch
+ rediff
* Tue Feb 20 2024 Fridrich Strba <fstrba@suse.com>
- Use %patch -P N instead of deprecated %patchN.
* Wed Oct 25 2023 Fridrich Strba <fstrba@suse.com>
- Build with source/target 8 with java 18+
* Sat Sep 09 2023 Fridrich Strba <fstrba@suse.com>
- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp
* Fri Aug 25 2023 Fridrich Strba <fstrba@suse.com>
- Make dependency on bea-stax optional and disable it by default
* Fri Mar 17 2023 Fridrich Strba <fstrba@suse.com>
- Upgrade to 1.4.20
* Security fixes
+ This maintenance release addresses the security
vulnerabilities CVE-2022-40151 (bsc#1203520) and
CVE-2022-41966 (bsc#1206729), causing a Denial of Service by
raising a stack overflow. It also provides new converters for
Optional and Atomic types.
* Major changes
+ #308: Add converter for AtomicBoolean, AtomicInteger,
AtomicLong, and AtomicReference of package
java.util.concurrent.atomic.
+ #293: Add converter for Optional, OptionalDouble, OptionalInt,
and OptionalLong of package java.util.
* Minor changes
+ #287: Close stream opened from provided URL.
+ #284: Fix disabling check against hash code attack with
XStream.setCollectionUpdateLimit(0).
* Stream compatibility
+ The atomic types with new converters of package
java.util.concurrent.atomic, that have been written with
previous versions of XStream, can still be deserialized.
+ The Optional types with new converters of package java.util,
that have been written with previous versions of XStream,
can still be deserialized.
+ The WildcardTypePermission allows by default no longer
anonymous class types.
* API changes
+ Added c.t.x.converters.extended.AtomicBooleanConverter.
+ Added c.t.x.converters.extended.AtomicIntegerConverter.
+ Added c.t.x.converters.extended.AtomicLongConverter.
+ Added c.t.x.converters.extended.AtomicReferenceConverter.
+ Added c.t.x.converters.extended.OptionalConverter.
+ Added c.t.x.converters.extended.OptionalDoubleConverter.
+ Added c.t.x.converters.extended.OptionalIntConverter.
+ Added c.t.x.converters.extended.OptionalLongConverter.
+ Added c.t.x.security.WildcardTypePermission
.WildcardTypePermission(boolean,String[]).
* Wed Mar 30 2022 Fridrich Strba <fstrba@suse.com>
- Build aga