blob: ef2d3fbe7bc05c840983b51463ed2a24b25e7d82 [file] [log] [blame]
Lev Walkinf15320b2004-06-03 03:38:44 +00001
Lev Walkinb0892fe2004-08-13 12:39:17 +000020.8.18: 2004-Aug-12
3
4 * Parser: fixed multiple IMPORTS problem (incorrect assertion).
5 * Parser: constraints extensibility parsing fix.
6
Lev Walkin64399722004-08-11 07:17:22 +000070.8.17: 2004-Aug-11
Lev Walkind8b940c2004-08-11 05:35:51 +00008
9 * Improved compiler output: duplicate #includes eliminated.
Lev Walkin64399722004-08-11 07:17:22 +000010 * Win32 portability fixes.
Lev Walkin3af51b42004-08-11 08:11:50 +000011 * More compatibility with C++ or non-GCC compilers.
Lev Walkind8b940c2004-08-11 05:35:51 +000012
Lev Walkinab42ef92004-07-22 12:19:42 +0000130.8.16: 2004-Jul-22
14
15 * Fixed application-level problem in SET OF/SEQUENCE OF array cleanup.
16 (Severity: medium, Security impact: low)
Lev Walkin99006362004-08-07 03:52:26 +000017 * Improved asn_GT2time() and added asn_time2{GT,UT}() functions.
Lev Walkinf5dda9c2004-08-07 05:01:45 +000018 * BIT STRING pretty-printing.
Lev Walkinab42ef92004-07-22 12:19:42 +000019
Lev Walkinf7a6c6d2004-07-21 03:55:44 +0000200.8.15: 2004-Jul-20
Lev Walkin29a62262004-07-15 10:52:58 +000021
22 * Fixed parser: memory leak in free_struct code for SET OF/SEQUENCE OF.
23 (Severity: high, Security impact: medium)
Lev Walkinc698eb82004-07-21 04:15:24 +000024 * Fixed parser: invalid memory reference in code constructing tags.
Lev Walkinf7a6c6d2004-07-21 03:55:44 +000025 (Test case 48) (Severity: high, Security impact: medium)
26 When encoding data for certain ASN.1 specifications containing
27 explicit tags, the tag is always written incorrectly due to
28 incorrect memory reference. The encoding will almost always produce
29 unparseable data and might well reference unmapped region so program
30 would produce segmentation violation. Fortunately, memory is
31 read, not written, so remote exploits cannot execute arbitrary
32 code and triggering unmapped memory reference is highly unlikely
33 even it attacker knows the code (basically, the compiler should place
34 asn1_DEF_... right before the end of the mapped memory region, which
35 is extremely rare).
Lev Walkindb13f512004-07-19 17:30:25 +000036 * Improved INTEGER type printing.
Lev Walkin29a62262004-07-15 10:52:58 +000037
Lev Walkin35631482004-07-01 00:52:50 +0000380.8.14: 2004-Jun-30
39
40 * Fixed compiler: extensibility of CHOICE and SET type has not been
41 taken into account during table construction.
42 (Test case 47) (Severity: high, Security impact: low)
43
Lev Walkind0d63f02004-06-28 21:22:20 +0000440.8.13: 2004-Jun-29
45
46 * Fixed compiler: the skip values for IMPLICIT tagging were broken
47 in some complex cases where one type is defined using another.
48 (Test case 46) (Severity: medium, Security impact: low).
49 * Added -fknown-extern-type command line parameter to asn1c.
50 * Removed -N command line flag and underlying functionality
51 to honor KISS principle.
52
Lev Walkine8826882004-06-18 00:03:54 +0000530.8.12: 2004-Jun-17
Lev Walkin715f45c2004-06-14 13:53:32 +000054
Lev Walkine8826882004-06-18 00:03:54 +000055 * RELATIVE-OID and OBJECT IDENTIFIER encoders/decoders are not bound
56 anymore to an integer type of specific size (unsigned long). The
57 size of an integer must be provided explicitly.
58 See {OBJECT_IDENTIFIER|RELATIVE_OID}_{get|set}_arcs().
Lev Walkin715f45c2004-06-14 13:53:32 +000059 * SEQUENCE BER decoder fixed again for complex CHOICE case
Lev Walkin90c408c2004-06-14 13:54:21 +000060 (Test case 44) (Severity: medium, Security impact: low).
Lev Walkin715f45c2004-06-14 13:53:32 +000061
Lev Walkin67c2aec2004-06-05 08:47:18 +0000620.8.11: 2004-Jun-05
63
Lev Walkin28551732004-07-21 04:28:32 +000064 * Enforced stricter conformance with C standards.
Lev Walkin715f45c2004-06-14 13:53:32 +000065 * SEQUENCE BER decoder is now equipped with the sorted map
Lev Walkin886e22e2004-06-06 07:20:37 +000066 in case of complex CHOICE descendants. Test case 44 created.
Lev Walkin67c2aec2004-06-05 08:47:18 +000067
Lev Walkinf15320b2004-06-03 03:38:44 +0000680.8.10: 2004-Jun-02
69
70 * Added const qualifier where necessary.
71 * Changed position of outmost_tag fetcher within asn1_TYPE_descriptor_t
72 structure.
73
740.8.9: 2004-May-26
75
76 * Added *_{get|set}_arcs_*() functions for OBJECT IDENTIFIER
77 and RELATIVE-OID, together with test cases.
78
790.8.8: 2004-May-09
80
81 * Introduced subtype constraints support (incomplete!).
82 * Fixed compiler. If the last member of the SEQUENCE is OPTIONAL
83 and absent in the encoding, and the type is extensible (...) or
84 EXTENSIBILITY IMPLIED flag is set, then the structure could not
85 be correctly decoded. (Severity: high, Security impact: low).
86 * Compiler: fixed recursive ASN.1 types inclusion (Severity: low,
87 Security impact: none).
88 * Parser: IMPORTS/FROM fixes, now allowing multiple sections.
89 * Code compiled and checked on PowerPC (@MacOS X). No major portability
90 issues experienced.
91
920.8.7: 2004-Apr-11 T-version-0-8-7
93
94 * Fixed SEQUENCE BER decoder: if the last member of the SEQUENCE is
95 OPTIONAL and absent in the encoding, RC_FAIL was returned instead
96 of RC_OK (Severity: high, Security impact: low).
97 * Added test case to check the above problem.
98 * Added test case to check -fnative-integers mode.
99
1000.8.6: 2004-Apr-03 T-version-0-8-6
101
102 * Fixed compiler output for embedded ASN.1 structures.
103
1040.8.5: 2004-Mar-28 T-version-0-8-5
105
106 * Fixed ber_tlv_length() computation problem (Severity: blocker,
107 Security impact: none).
108 Reported by <vss@high.net.ru>
109
1100.8.4: 2004-Mar-22
111
112 * Removed RC_ITAG enumeration element from BER decoder.
113 This return code did not have much practical value.
114
1150.8.3: 2004-Mar-14 T-version-0-8-3
116
117 * Fixed SET::BER decoder: restart after reaching a buffer boundary
118 weas broken (Severity: blocker, Security impact: low).
119 * Fixed OCTET STRING::BER decoder: restart after reaching a buffer
120 boundary was broken (Severity: blocker, Security impact: low).
121 Reported by <vss@high.net.ru>
122 * Added test cases to check decoders restartability.
123 * Slightly more general INTEGER2long decoder.
124 * Allowed nested /* C-type */ comments, as per X.680:2002.
125
1260.8.2: 2004-Mar-01 T-version-0-8-2
127
128 * Fixed SEQUENCE BER decoder: an OPTIONAL element was required, where
129 should not have been (Severity: major; Security impact: low).
130 * Fixed print_struct pointer inheritance.
131 * Added -fno-c99 and -funnamed-unions
132
1330.8.1: 2004-Feb-22
134
135 * -R switch to asn1c: Omit support code, compile only the tables.
136 * Introduced NativeInteger pseudotype.
137 * Corrected the informal print_struct()'s output format.
138
1390.8.0: 2004-Feb-03 T-version-0-8-0
140
141 * Some documentation is created (a .pdf and a short manual page).
142 * Last touches to the code.
143
1440.7.9: 2004-Feb-01 T-version-0-7-9
145
146 * Human readable printing support.
147 * Support for implicit (standard) constraints.
148
1490.7.8: 2004-Jan-31
150
151 * SET now rejects duplicate fields in the data stream.
152
1530.7.7: 2004-Jan-25
154
155 * Added types: GeneralizedTime and UTCTime.
156
1570.7.6: 2004-Jan-24 T-version-0-7-6
158
159 * DER encoding of a SET OF now involves dynamic sorting.
160
1610.7.5: 2004-Jan-24 T-version-0-7-5
162
163 * DER encoding of a SET with untagged CHOICE
164 now involves dynamic sorting.
165
1660.7.0: 2004-Jan-19 T-version-0-7-0
167
168 * A bunch of DER encoders is implemented.
169
1700.6.6: 2004-Jan-11
171
172 * Implemented CHOICE decoder.
173 * Implemented destructors support.
174
1750.6.5: 2004-Jan-03
176
177 * Implemented SET decoder.
178 * Implemented SET OF and SEQUENCE OF decoders.
179
1800.6.4: 2003-Dec-31
181
182 * Implemented BOOLEAN, NULL, ENUMERATED decoders.
183 * Implemented OCTET STRING decoder.
184 * Implemented BIT STRING decoder.
185
1860.6: 2003-Dec-30
187
188 * First decoding of a BER-encoded structure!
189
1900.5: 2003-Dec-28
191
192 * Framework and most of the compiler backbone coding done.
193
1940.1: 2003-Nov-28
195
196 * Programming started.