ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/CBOR-XS/Changes
(Generate patch)

Comparing CBOR-XS/Changes (file contents):
Revision 1.66 by root, Tue Apr 26 16:25:48 2016 UTC vs.
Revision 1.81 by root, Sun Nov 29 22:59:49 2020 UTC

1Revision history for Perl extension CBOR::XS 1Revision history for Perl extension CBOR::XS
2 2
3TODO: pack_keys? 3TODO: pack_keys?
4TODO: document encode_cbor_sharing? 4TODO: document encode_cbor_sharing?
5TODO: weaken cyclic structures? 5TODO: weaken cyclic structures?
6TODO: allowed_classes or so? 6TODO: large negative integers
7TODO: type cast tests.
8TODO: possibly implement https://peteroupc.github.io/CBOR/extended.html, but NaNs are nonportable. rely on libecb?
9TODO: https://github.com/svaarala/cbor-specs/blob/master/cbor-nonutf8-string-tags.rst, but maybe that is overkill?
7 10
81.5 111.81
12 - Math::BigInt and Math::BigFloat are pretty broken (again),
13 so disable some tests. (try printing the bigfloat
14 799999999999999999998E99999999999999999998).
15
161.8 Sun Nov 29 22:35:13 CET 2020
17 - experimental support for some type casts, as well as embedding
18 raw cbor data.
19
201.71 Thu Nov 15 20:52:13 CET 2018
21 - work around what smells like a perl bug w.r.t. exceptions
22 thrown in callbacks.
23 - update libecb.
24
251.7 Tue Jun 27 04:02:23 CEST 2017
26 - SECURITY FIX: fix two bugs found by american fuzzy lop,
27 upgrade is advised if you accept data from untrusted
28 sources.
29 - an out-of bound sharedref or stringref index could cause an
30 out of bounds access - might be exploitable.
31 - a decoding error during indefinite array or hash decoding
32 could cause an endless loop.
33
341.6 Wed Dec 7 15:13:23 CET 2016
35 - greatly expand the SECURITY IMPLICATIONS and similar sections.
36 - new constructor new_safe, to create a secure CBOR::XS object.
37 - new option forbid_objects, to disallow serialisation.
38 - new CBOR::XS::safe_filter functionality.
39 - fix a crash when decoding a cyclic data structure using
40 stringref/pack_strings when allow_cycles is disabled.
41 - fix a crash when decoding hash keys with length >= 2**31.
42 - avoid unreasonably long decoding times for certain
43 types of (corrupt) cbor texts.
44 - support arrays and hashes with >= 2**31 members.
45 - avoid overflow on pointer arithmetic when checking whether enough
46 data is available.
47 - fix a memory leak that occured when decoding failed while decoding
48 a tagged value.
49 - do not leak the partially constructed result when stringifying
50 a hash key throws an exception.
51 - various code size and efficiency optimizations (reduced code
52 from 42 to 40kB on my system, despite the new features).
53
541.5 Wed Apr 27 11:38:39 CEST 2016
9 - Math::BigFloat madness workaround, see 55 - Math::BigFloat madness workaround, see
10 http://blog.schmorp.de/2016-04-23-mathbigfloat-maintainer-fail.html 56 http://blog.schmorp.de/2016-04-23-mathbigfloat-maintainer-fail.html
11 (bugreport by zdm@softvisio.net). 57 (bugreport by zdm@softvisio.net).
12 - add text_keys and text_strings options to force CBOR text encoding 58 - add text_keys and text_strings options to force CBOR text encoding
13 for perl hash keys or all strings, as a result of discussions 59 for perl hash keys or all strings, as a result of discussions
16 http://peteroupc.github.io/CBOR/bigfrac.html, tags 264 and 265) 62 http://peteroupc.github.io/CBOR/bigfrac.html, tags 264 and 265)
17 for both en- and decoding. 63 for both en- and decoding.
18 - implement support for rational numbers (see 64 - implement support for rational numbers (see
19 http://peteroupc.github.io/CBOR/rational.html, tag 30) for both 65 http://peteroupc.github.io/CBOR/rational.html, tag 30) for both
20 en- and decoding. 66 en- and decoding.
21 - this effectively implements all registered CBOR extensions 67 - the above effectively implements all registered CBOR extensions
22 in a sensible manner. 68 in a sensible manner.
23 - remove some weird dead code that was duplication (%FILTER). 69 - remove some weird dead code that was duplicated (%FILTER).
24 - add t/58_hv.t, which tests hashes and the new text_* flags. 70 - add t/58_hv.t, which tests hashes and the new text_* flags.
25 hashes apparently were not encoded at all in any of the previous 71 hashes apparently were not encoded at all in any of the existing
26 tests. 72 tests.
27 - document base-2 Math::BigFloat performance/crash issues. 73 - document Math::BigFloat base-2 performance/crash issues.
28 - use stability canary. 74 - use stability canary.
29 75
301.41 Thu 25 Feb 15:22:03 CET 2016 761.41 Thu 25 Feb 15:22:03 CET 2016
31 - avoid perl panics on nested FREEZE/THAW calls (testcase by 77 - avoid perl panics on nested FREEZE/THAW calls (testcase by
32 Victor Efimov). 78 Victor Efimov).

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines