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

Comparing CBOR-XS/Changes (file contents):
Revision 1.43 by root, Mon Dec 2 06:37:52 2013 UTC vs.
Revision 1.90 by root, Thu Oct 21 01:14:58 2021 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: 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?
6 10
7 - work around broken Time::Piece (%z doesn't work as documented, gives 111.84 Thu 21 Oct 2021 03:11:52 CEST
12 - fix a bug in validate_utf8 where we call perl's is_utf8_string with
13 a lenght of zero for empty strings, but perl interprets that as
14 "calculate length", causing spurious validation errors for
15 empty strings.
16 - include validate_utf8 in new_safe.
17 - avoid some warnings.
18
191.83 Tue Dec 8 09:27:06 CET 2020
20 - add CBOR::XS::as_map cast function.
21
221.82 Tue Dec 1 02:47:40 CET 2020
23 - add CBOR::XS::as_bool cast function.
24
251.81 Mon Nov 30 19:29:33 CET 2020
26 - cast functions were broken due to last-minute renaming. thats
27 what you get for not having a tessuite.
28 - Math::BigInt and Math::BigFloat are pretty broken (again),
29 so disable some tests. (try printing the bigfloat
30 799999999999999999998E99999999999999999998).
31
321.8 Sun Nov 29 22:35:13 CET 2020
33 - experimental support for some type casts, as well as embedding
34 raw cbor data.
35
361.71 Thu Nov 15 20:52:13 CET 2018
37 - work around what smells like a perl bug w.r.t. exceptions
38 thrown in callbacks.
39 - update libecb.
40
411.7 Tue Jun 27 04:02:23 CEST 2017
42 - SECURITY FIX: fix two bugs found by american fuzzy lop,
43 upgrade is advised if you accept data from untrusted
44 sources.
45 - an out-of bound sharedref or stringref index could cause an
46 out of bounds access - might be exploitable.
47 - a decoding error during indefinite array or hash decoding
48 could cause an endless loop.
49
501.6 Wed Dec 7 15:13:23 CET 2016
51 - greatly expand the SECURITY IMPLICATIONS and similar sections.
52 - new constructor new_safe, to create a secure CBOR::XS object.
53 - new option forbid_objects, to disallow serialisation.
54 - new CBOR::XS::safe_filter functionality.
55 - fix a crash when decoding a cyclic data structure using
56 stringref/pack_strings when allow_cycles is disabled.
57 - fix a crash when decoding hash keys with length >= 2**31.
58 - avoid unreasonably long decoding times for certain
59 types of (corrupt) cbor texts.
60 - support arrays and hashes with >= 2**31 members.
61 - avoid overflow on pointer arithmetic when checking whether enough
62 data is available.
63 - fix a memory leak that occured when decoding failed while decoding
64 a tagged value.
65 - do not leak the partially constructed result when stringifying
66 a hash key throws an exception.
67 - various code size and efficiency optimizations (reduced code
68 from 42 to 40kB on my system, despite the new features).
69
701.5 Wed Apr 27 11:38:39 CEST 2016
71 - Math::BigFloat madness workaround, see
72 http://blog.schmorp.de/2016-04-23-mathbigfloat-maintainer-fail.html
73 (bugreport by zdm@softvisio.net).
74 - add text_keys and text_strings options to force CBOR text encoding
75 for perl hash keys or all strings, as a result of discussions
76 with Fredrik Ljunggren.
77 - implement support for arbitrary-exponent numbers (see
78 http://peteroupc.github.io/CBOR/bigfrac.html, tags 264 and 265)
79 for both en- and decoding.
80 - implement support for rational numbers (see
81 http://peteroupc.github.io/CBOR/rational.html, tag 30) for both
82 en- and decoding.
83 - the above effectively implements all registered CBOR extensions
84 in a sensible manner.
85 - remove some weird dead code that was duplicated (%FILTER).
86 - add t/58_hv.t, which tests hashes and the new text_* flags.
87 hashes apparently were not encoded at all in any of the existing
88 tests.
89 - document Math::BigFloat base-2 performance/crash issues.
90 - use stability canary.
91
921.41 Thu 25 Feb 15:22:03 CET 2016
93 - avoid perl panics on nested FREEZE/THAW calls (testcase by
94 Victor Efimov).
95
961.4 Mon Feb 8 05:10:15 CET 2016
97 - buffer overflow fix: a fast path during decoding did not check
98 remaining length when decoding hash keys, found by fuzzing.
99 This can potentially leak information in the error message
100 or crash the process.
101 - use C style { 0 } struct initializer.
102 - upgrade libecb.
103
1041.3 Mon Apr 27 22:21:04 CEST 2015
105 - the incremental parser didn't properly parse tagged values
106 (testcase by Mons Anderson).
107 - slightly speed up encoding of plain (nonmagical) arrays.
108 - try to clarify further that effectively all 32 bit architectures
109 have 64 bit integer support.
110 - upgrade libecb.
111
1121.26 Sat Oct 25 08:35:44 CEST 2014
113 - update the t/57_incr.t subtest that would rely on 64 bit ints.
114 - disable t/50_rfc.t test that fails because of broken data::dumper.
115
1161.25 Sun Jan 5 15:19:14 CET 2014
117 - map key decoding was pretty much botched due to the recent cleanups.
118 - work around Time::Piece->epoch returning a string value, avoid encoding
119 this as a tag 1 string.
120 - enable more testcases in t/50_rfc.t, now that they work :)
121
1221.2 Tue Dec 10 22:06:42 CET 2013
123 - implement an incremental decoder.
124
1251.12 Tue Dec 3 11:23:22 CET 2013
126 - work around broken Time::Piece (in old versions of the module, %z doesn't
8 different results on different platforms(!)). 127 work as documented, gives different results on different platforms(!)).
9 128
101.11 Sun Dec 1 18:00:00 CET 2013 1291.11 Sun Dec 1 18:00:00 CET 2013
11 - new setting: validate_utf8, for when you can't trust your cbor data. 130 - new setting: validate_utf8, for when you can't trust your cbor data.
12 - do not leak memory on decoding errors, when allow_cycles is enabled. 131 - do not leak memory on decoding errors, when allow_cycles is enabled.
13 - add default filters for tags 0 and 1, using Time::Piece. 132 - add default filters for tags 0 and 1, using Time::Piece.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines