blob: fc7abe1d47e729998cc220cb6ab7b68be20ee760 [file] [log] [blame]
Lev Walkinf15320b2004-06-03 03:38:44 +00001
Lev Walkinb4adfd32004-09-13 08:32:15 +000020.9.5: 2004-Sep-13
3
4 * Fixed CER (common BER) decoder code. See check-25.c/VisibleString
5 case for details. X.690 specifies that inner structures in BER
6 encoding must be tagged by stripping off the outer tag for each
7 subsequent containment level. See also X.690: 8.21.5.4 and
8 the "Spouse" case in A.3.
9 (Severity: medium, Security impact: low)
10 * Added converters between any generic type and the ANY type.
11
Lev Walkin906654e2004-09-10 15:49:15 +0000120.9.4: 2004-Sep-10
Lev Walkin4a727052004-09-10 09:38:17 +000013
14 * More support for recursive type definitions.
15 * Explicit support for ANY type decoding.
Lev Walkin906654e2004-09-10 15:49:15 +000016 * Refactored tags processing code.
17 * Fixed constraints checking code: non-exploitable buffer overflow.
18 (Severity: medium, Security impact: low)
Lev Walkin4a727052004-09-10 09:38:17 +000019
Lev Walkin6ce12322004-09-08 02:49:06 +0000200.9.3: 2004-Sep-07
Lev Walkin8059bc42004-08-26 06:19:23 +000021
Lev Walkin7b1b9ab2004-09-05 10:41:39 +000022 * Extended constraints support in parametrized types.
23 * Better support for parametrization and constraints handling.
Lev Walkin699ed4b2004-09-08 00:27:33 +000024 * Better handling of recursive type definitions.
Lev Walkin9d2cd722004-09-04 05:02:31 +000025 * Added support for ANY type.
Lev Walkin8059bc42004-08-26 06:19:23 +000026
Lev Walkin4ce78ca2004-08-25 01:34:11 +0000270.9.2: 2004-Aug-24
28
Lev Walkin51c38232004-08-25 02:06:48 +000029 * More flexible subtype constraints handling, with relaxed
30 PER visibility rules for actual constraints checking code generator.
Lev Walkin4ce78ca2004-08-25 01:34:11 +000031 * Indirect references in constraints resolver code fixed.
32 * Avoided compilation warning on gcc 3.3.3 systems.
Lev Walkinc74ea222004-08-25 02:27:47 +000033 * Better ValueSet printing.
Lev Walkin4ce78ca2004-08-25 01:34:11 +000034
Lev Walkinfa66e082004-08-24 05:25:57 +0000350.9.1: 2004-Aug-23
36
37 * Documentation updated: doc/asn1c-usage.pdf
38 * Fixed OBJECT IDENTIFIER human-readable printing.
39 Reported by <siden@ul-gsm.ru>.
40
Lev Walkin09e85222004-08-23 09:24:40 +0000410.9: 2004-Aug-23
Lev Walkin3d0b5a32004-08-18 05:43:55 +000042
43 * Reworked subtype constraints handling, aiming at PER-applicability.
Lev Walkin45b2fdf2004-08-19 13:35:01 +000044 * BOOLEAN and NULL are now implemented in terms of native int type.
45 * Compiler now links in only necessary skeleton files.
Lev Walkin9bc36682004-08-20 13:38:25 +000046 * -t option added to asn1c to ease manual BER/CER/DER decoding.
Lev Walkin08079b02004-08-22 03:25:24 +000047 * Added support COMPONENTS OF construct.
48 * Numerous parser fixes and enhancements.
Lev Walkin16835b62004-08-22 13:47:59 +000049 * Better constraint failure reporting.
Lev Walkin3d0b5a32004-08-18 05:43:55 +000050
Lev Walkin1ef79852004-08-18 09:05:12 +0000510.8.19: 2004-Aug-18
52
53 * Fixed BER encoder (problem encoding large tag values)
54 (Severity: medium, Security impact: low)
55
Lev Walkinb0892fe2004-08-13 12:39:17 +0000560.8.18: 2004-Aug-12
57
58 * Parser: fixed multiple IMPORTS problem (incorrect assertion).
59 * Parser: constraints extensibility parsing fix.
60
Lev Walkin64399722004-08-11 07:17:22 +0000610.8.17: 2004-Aug-11
Lev Walkind8b940c2004-08-11 05:35:51 +000062
63 * Improved compiler output: duplicate #includes eliminated.
Lev Walkin64399722004-08-11 07:17:22 +000064 * Win32 portability fixes.
Lev Walkin3af51b42004-08-11 08:11:50 +000065 * More compatibility with C++ or non-GCC compilers.
Lev Walkind8b940c2004-08-11 05:35:51 +000066
Lev Walkinab42ef92004-07-22 12:19:42 +0000670.8.16: 2004-Jul-22
68
69 * Fixed application-level problem in SET OF/SEQUENCE OF array cleanup.
70 (Severity: medium, Security impact: low)
Lev Walkin99006362004-08-07 03:52:26 +000071 * Improved asn_GT2time() and added asn_time2{GT,UT}() functions.
Lev Walkinf5dda9c2004-08-07 05:01:45 +000072 * BIT STRING pretty-printing.
Lev Walkinab42ef92004-07-22 12:19:42 +000073
Lev Walkinf7a6c6d2004-07-21 03:55:44 +0000740.8.15: 2004-Jul-20
Lev Walkin29a62262004-07-15 10:52:58 +000075
76 * Fixed parser: memory leak in free_struct code for SET OF/SEQUENCE OF.
77 (Severity: high, Security impact: medium)
Lev Walkinc698eb82004-07-21 04:15:24 +000078 * Fixed parser: invalid memory reference in code constructing tags.
Lev Walkinf7a6c6d2004-07-21 03:55:44 +000079 (Test case 48) (Severity: high, Security impact: medium)
80 When encoding data for certain ASN.1 specifications containing
81 explicit tags, the tag is always written incorrectly due to
82 incorrect memory reference. The encoding will almost always produce
83 unparseable data and might well reference unmapped region so program
84 would produce segmentation violation. Fortunately, memory is
85 read, not written, so remote exploits cannot execute arbitrary
86 code and triggering unmapped memory reference is highly unlikely
87 even it attacker knows the code (basically, the compiler should place
88 asn1_DEF_... right before the end of the mapped memory region, which
89 is extremely rare).
Lev Walkindb13f512004-07-19 17:30:25 +000090 * Improved INTEGER type printing.
Lev Walkin29a62262004-07-15 10:52:58 +000091
Lev Walkin35631482004-07-01 00:52:50 +0000920.8.14: 2004-Jun-30
93
94 * Fixed compiler: extensibility of CHOICE and SET type has not been
95 taken into account during table construction.
96 (Test case 47) (Severity: high, Security impact: low)
97
Lev Walkind0d63f02004-06-28 21:22:20 +0000980.8.13: 2004-Jun-29
99
100 * Fixed compiler: the skip values for IMPLICIT tagging were broken
101 in some complex cases where one type is defined using another.
102 (Test case 46) (Severity: medium, Security impact: low).
103 * Added -fknown-extern-type command line parameter to asn1c.
104 * Removed -N command line flag and underlying functionality
105 to honor KISS principle.
106
Lev Walkine8826882004-06-18 00:03:54 +00001070.8.12: 2004-Jun-17
Lev Walkin715f45c2004-06-14 13:53:32 +0000108
Lev Walkine8826882004-06-18 00:03:54 +0000109 * RELATIVE-OID and OBJECT IDENTIFIER encoders/decoders are not bound
110 anymore to an integer type of specific size (unsigned long). The
111 size of an integer must be provided explicitly.
112 See {OBJECT_IDENTIFIER|RELATIVE_OID}_{get|set}_arcs().
Lev Walkin715f45c2004-06-14 13:53:32 +0000113 * SEQUENCE BER decoder fixed again for complex CHOICE case
Lev Walkin90c408c2004-06-14 13:54:21 +0000114 (Test case 44) (Severity: medium, Security impact: low).
Lev Walkin715f45c2004-06-14 13:53:32 +0000115
Lev Walkin67c2aec2004-06-05 08:47:18 +00001160.8.11: 2004-Jun-05
117
Lev Walkin28551732004-07-21 04:28:32 +0000118 * Enforced stricter conformance with C standards.
Lev Walkin715f45c2004-06-14 13:53:32 +0000119 * SEQUENCE BER decoder is now equipped with the sorted map
Lev Walkin886e22e2004-06-06 07:20:37 +0000120 in case of complex CHOICE descendants. Test case 44 created.
Lev Walkin67c2aec2004-06-05 08:47:18 +0000121
Lev Walkinf15320b2004-06-03 03:38:44 +00001220.8.10: 2004-Jun-02
123
124 * Added const qualifier where necessary.
125 * Changed position of outmost_tag fetcher within asn1_TYPE_descriptor_t
126 structure.
127
1280.8.9: 2004-May-26
129
130 * Added *_{get|set}_arcs_*() functions for OBJECT IDENTIFIER
131 and RELATIVE-OID, together with test cases.
132
1330.8.8: 2004-May-09
134
135 * Introduced subtype constraints support (incomplete!).
136 * Fixed compiler. If the last member of the SEQUENCE is OPTIONAL
137 and absent in the encoding, and the type is extensible (...) or
138 EXTENSIBILITY IMPLIED flag is set, then the structure could not
139 be correctly decoded. (Severity: high, Security impact: low).
140 * Compiler: fixed recursive ASN.1 types inclusion (Severity: low,
141 Security impact: none).
142 * Parser: IMPORTS/FROM fixes, now allowing multiple sections.
143 * Code compiled and checked on PowerPC (@MacOS X). No major portability
144 issues experienced.
145
1460.8.7: 2004-Apr-11 T-version-0-8-7
147
148 * Fixed SEQUENCE BER decoder: if the last member of the SEQUENCE is
149 OPTIONAL and absent in the encoding, RC_FAIL was returned instead
150 of RC_OK (Severity: high, Security impact: low).
151 * Added test case to check the above problem.
152 * Added test case to check -fnative-integers mode.
153
1540.8.6: 2004-Apr-03 T-version-0-8-6
155
156 * Fixed compiler output for embedded ASN.1 structures.
157
1580.8.5: 2004-Mar-28 T-version-0-8-5
159
160 * Fixed ber_tlv_length() computation problem (Severity: blocker,
161 Security impact: none).
162 Reported by <vss@high.net.ru>
163
1640.8.4: 2004-Mar-22
165
166 * Removed RC_ITAG enumeration element from BER decoder.
167 This return code did not have much practical value.
168
1690.8.3: 2004-Mar-14 T-version-0-8-3
170
171 * Fixed SET::BER decoder: restart after reaching a buffer boundary
172 weas broken (Severity: blocker, Security impact: low).
173 * Fixed OCTET STRING::BER decoder: restart after reaching a buffer
174 boundary was broken (Severity: blocker, Security impact: low).
175 Reported by <vss@high.net.ru>
176 * Added test cases to check decoders restartability.
177 * Slightly more general INTEGER2long decoder.
178 * Allowed nested /* C-type */ comments, as per X.680:2002.
179
1800.8.2: 2004-Mar-01 T-version-0-8-2
181
182 * Fixed SEQUENCE BER decoder: an OPTIONAL element was required, where
183 should not have been (Severity: major; Security impact: low).
184 * Fixed print_struct pointer inheritance.
185 * Added -fno-c99 and -funnamed-unions
186
1870.8.1: 2004-Feb-22
188
189 * -R switch to asn1c: Omit support code, compile only the tables.
190 * Introduced NativeInteger pseudotype.
191 * Corrected the informal print_struct()'s output format.
192
1930.8.0: 2004-Feb-03 T-version-0-8-0
194
195 * Some documentation is created (a .pdf and a short manual page).
196 * Last touches to the code.
197
1980.7.9: 2004-Feb-01 T-version-0-7-9
199
200 * Human readable printing support.
201 * Support for implicit (standard) constraints.
202
2030.7.8: 2004-Jan-31
204
205 * SET now rejects duplicate fields in the data stream.
206
2070.7.7: 2004-Jan-25
208
209 * Added types: GeneralizedTime and UTCTime.
210
2110.7.6: 2004-Jan-24 T-version-0-7-6
212
213 * DER encoding of a SET OF now involves dynamic sorting.
214
2150.7.5: 2004-Jan-24 T-version-0-7-5
216
217 * DER encoding of a SET with untagged CHOICE
218 now involves dynamic sorting.
219
2200.7.0: 2004-Jan-19 T-version-0-7-0
221
222 * A bunch of DER encoders is implemented.
223
2240.6.6: 2004-Jan-11
225
226 * Implemented CHOICE decoder.
227 * Implemented destructors support.
228
2290.6.5: 2004-Jan-03
230
231 * Implemented SET decoder.
232 * Implemented SET OF and SEQUENCE OF decoders.
233
2340.6.4: 2003-Dec-31
235
236 * Implemented BOOLEAN, NULL, ENUMERATED decoders.
237 * Implemented OCTET STRING decoder.
238 * Implemented BIT STRING decoder.
239
2400.6: 2003-Dec-30
241
242 * First decoding of a BER-encoded structure!
243
2440.5: 2003-Dec-28
245
246 * Framework and most of the compiler backbone coding done.
247
2480.1: 2003-Nov-28
249
250 * Programming started.