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

Comparing CBOR-XS/Changes (file contents):
Revision 1.58 by root, Sun Apr 24 13:15:19 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
8TODO: Fredrik Ljunggren, document utf8_strings 111.81
9 - the Math::BigFloat maintainer apparently thinks that changing 12 - Math::BigInt and Math::BigFloat are pretty broken (again),
10 documented maths function to suddenly yield different results or 13 so disable some tests. (try printing the bigfloat
11 to fail completely on valid input is cool. Try to work around 14 799999999999999999998E99999999999999999998).
12 this madness - if Math::BigFloat changes its API too much, 15
13 future versions will have to remove support for bignums 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
55 - Math::BigFloat madness workaround, see
56 http://blog.schmorp.de/2016-04-23-mathbigfloat-maintainer-fail.html
14 (bugreport by zdm@softvisio.net). 57 (bugreport by zdm@softvisio.net).
58 - add text_keys and text_strings options to force CBOR text encoding
59 for perl hash keys or all strings, as a result of discussions
60 with Fredrik Ljunggren.
61 - implement support for arbitrary-exponent numbers (see
62 http://peteroupc.github.io/CBOR/bigfrac.html, tags 264 and 265)
63 for both en- and decoding.
64 - implement support for rational numbers (see
65 http://peteroupc.github.io/CBOR/rational.html, tag 30) for both
66 en- and decoding.
67 - the above effectively implements all registered CBOR extensions
68 in a sensible manner.
15 - remove some weird dead code that was duplication (%FILTER). 69 - remove some weird dead code that was duplicated (%FILTER).
70 - add t/58_hv.t, which tests hashes and the new text_* flags.
71 hashes apparently were not encoded at all in any of the existing
72 tests.
73 - document Math::BigFloat base-2 performance/crash issues.
74 - use stability canary.
16 75
171.41 Thu 25 Feb 15:22:03 CET 2016 761.41 Thu 25 Feb 15:22:03 CET 2016
18 - avoid perl panics on nested FREEZE/THAW calls (testcase by 77 - avoid perl panics on nested FREEZE/THAW calls (testcase by
19 Victor Efimov). 78 Victor Efimov).
20 79

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines