blob: 3867e960f2251ae04b80d302a2af213945df3484 [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.
Lev Walkin5caf0382004-09-14 02:46:22 +000011 * Parser fixed: Information Object Class fields may be taged.
12 * Parser fixed: tagged types inside SEQUENCE OF/SET OF support.
Lev Walkinb4adfd32004-09-13 08:32:15 +000013
Lev Walkin906654e2004-09-10 15:49:15 +0000140.9.4: 2004-Sep-10
Lev Walkin4a727052004-09-10 09:38:17 +000015
16 * More support for recursive type definitions.
17 * Explicit support for ANY type decoding.
Lev Walkin906654e2004-09-10 15:49:15 +000018 * Refactored tags processing code.
19 * Fixed constraints checking code: non-exploitable buffer overflow.
20 (Severity: medium, Security impact: low)
Lev Walkin4a727052004-09-10 09:38:17 +000021
Lev Walkin6ce12322004-09-08 02:49:06 +0000220.9.3: 2004-Sep-07
Lev Walkin8059bc42004-08-26 06:19:23 +000023
Lev Walkin7b1b9ab2004-09-05 10:41:39 +000024 * Extended constraints support in parametrized types.
25 * Better support for parametrization and constraints handling.
Lev Walkin699ed4b2004-09-08 00:27:33 +000026 * Better handling of recursive type definitions.
Lev Walkin9d2cd722004-09-04 05:02:31 +000027 * Added support for ANY type.
Lev Walkin8059bc42004-08-26 06:19:23 +000028
Lev Walkin4ce78ca2004-08-25 01:34:11 +0000290.9.2: 2004-Aug-24
30
Lev Walkin51c38232004-08-25 02:06:48 +000031 * More flexible subtype constraints handling, with relaxed
32 PER visibility rules for actual constraints checking code generator.
Lev Walkin4ce78ca2004-08-25 01:34:11 +000033 * Indirect references in constraints resolver code fixed.
34 * Avoided compilation warning on gcc 3.3.3 systems.
Lev Walkinc74ea222004-08-25 02:27:47 +000035 * Better ValueSet printing.
Lev Walkin4ce78ca2004-08-25 01:34:11 +000036
Lev Walkinfa66e082004-08-24 05:25:57 +0000370.9.1: 2004-Aug-23
38
39 * Documentation updated: doc/asn1c-usage.pdf
40 * Fixed OBJECT IDENTIFIER human-readable printing.
41 Reported by <siden@ul-gsm.ru>.
42
Lev Walkin09e85222004-08-23 09:24:40 +0000430.9: 2004-Aug-23
Lev Walkin3d0b5a32004-08-18 05:43:55 +000044
45 * Reworked subtype constraints handling, aiming at PER-applicability.
Lev Walkin45b2fdf2004-08-19 13:35:01 +000046 * BOOLEAN and NULL are now implemented in terms of native int type.
47 * Compiler now links in only necessary skeleton files.
Lev Walkin9bc36682004-08-20 13:38:25 +000048 * -t option added to asn1c to ease manual BER/CER/DER decoding.
Lev Walkin08079b02004-08-22 03:25:24 +000049 * Added support COMPONENTS OF construct.
50 * Numerous parser fixes and enhancements.
Lev Walkin16835b62004-08-22 13:47:59 +000051 * Better constraint failure reporting.
Lev Walkin3d0b5a32004-08-18 05:43:55 +000052
Lev Walkin1ef79852004-08-18 09:05:12 +0000530.8.19: 2004-Aug-18
54
55 * Fixed BER encoder (problem encoding large tag values)
56 (Severity: medium, Security impact: low)
57
Lev Walkinb0892fe2004-08-13 12:39:17 +0000580.8.18: 2004-Aug-12
59
60 * Parser: fixed multiple IMPORTS problem (incorrect assertion).
61 * Parser: constraints extensibility parsing fix.
62
Lev Walkin64399722004-08-11 07:17:22 +0000630.8.17: 2004-Aug-11
Lev Walkind8b940c2004-08-11 05:35:51 +000064
65 * Improved compiler output: duplicate #includes eliminated.
Lev Walkin64399722004-08-11 07:17:22 +000066 * Win32 portability fixes.
Lev Walkin3af51b42004-08-11 08:11:50 +000067 * More compatibility with C++ or non-GCC compilers.
Lev Walkind8b940c2004-08-11 05:35:51 +000068
Lev Walkinab42ef92004-07-22 12:19:42 +0000690.8.16: 2004-Jul-22
70
71 * Fixed application-level problem in SET OF/SEQUENCE OF array cleanup.
72 (Severity: medium, Security impact: low)
Lev Walkin99006362004-08-07 03:52:26 +000073 * Improved asn_GT2time() and added asn_time2{GT,UT}() functions.
Lev Walkinf5dda9c2004-08-07 05:01:45 +000074 * BIT STRING pretty-printing.
Lev Walkinab42ef92004-07-22 12:19:42 +000075
Lev Walkinf7a6c6d2004-07-21 03:55:44 +0000760.8.15: 2004-Jul-20
Lev Walkin29a62262004-07-15 10:52:58 +000077
78 * Fixed parser: memory leak in free_struct code for SET OF/SEQUENCE OF.
79 (Severity: high, Security impact: medium)
Lev Walkinc698eb82004-07-21 04:15:24 +000080 * Fixed parser: invalid memory reference in code constructing tags.
Lev Walkinf7a6c6d2004-07-21 03:55:44 +000081 (Test case 48) (Severity: high, Security impact: medium)
82 When encoding data for certain ASN.1 specifications containing
83 explicit tags, the tag is always written incorrectly due to
84 incorrect memory reference. The encoding will almost always produce
85 unparseable data and might well reference unmapped region so program
86 would produce segmentation violation. Fortunately, memory is
87 read, not written, so remote exploits cannot execute arbitrary
88 code and triggering unmapped memory reference is highly unlikely
89 even it attacker knows the code (basically, the compiler should place
90 asn1_DEF_... right before the end of the mapped memory region, which
91 is extremely rare).
Lev Walkindb13f512004-07-19 17:30:25 +000092 * Improved INTEGER type printing.
Lev Walkin29a62262004-07-15 10:52:58 +000093
Lev Walkin35631482004-07-01 00:52:50 +0000940.8.14: 2004-Jun-30
95
96 * Fixed compiler: extensibility of CHOICE and SET type has not been
97 taken into account during table construction.
98 (Test case 47) (Severity: high, Security impact: low)
99
Lev Walkind0d63f02004-06-28 21:22:20 +00001000.8.13: 2004-Jun-29
101
102 * Fixed compiler: the skip values for IMPLICIT tagging were broken
103 in some complex cases where one type is defined using another.
104 (Test case 46) (Severity: medium, Security impact: low).
105 * Added -fknown-extern-type command line parameter to asn1c.
106 * Removed -N command line flag and underlying functionality
107 to honor KISS principle.
108
Lev Walkine8826882004-06-18 00:03:54 +00001090.8.12: 2004-Jun-17
Lev Walkin715f45c2004-06-14 13:53:32 +0000110
Lev Walkine8826882004-06-18 00:03:54 +0000111 * RELATIVE-OID and OBJECT IDENTIFIER encoders/decoders are not bound
112 anymore to an integer type of specific size (unsigned long). The
113 size of an integer must be provided explicitly.
114 See {OBJECT_IDENTIFIER|RELATIVE_OID}_{get|set}_arcs().
Lev Walkin715f45c2004-06-14 13:53:32 +0000115 * SEQUENCE BER decoder fixed again for complex CHOICE case
Lev Walkin90c408c2004-06-14 13:54:21 +0000116 (Test case 44) (Severity: medium, Security impact: low).
Lev Walkin715f45c2004-06-14 13:53:32 +0000117
Lev Walkin67c2aec2004-06-05 08:47:18 +00001180.8.11: 2004-Jun-05
119
Lev Walkin28551732004-07-21 04:28:32 +0000120 * Enforced stricter conformance with C standards.
Lev Walkin715f45c2004-06-14 13:53:32 +0000121 * SEQUENCE BER decoder is now equipped with the sorted map
Lev Walkin886e22e2004-06-06 07:20:37 +0000122 in case of complex CHOICE descendants. Test case 44 created.
Lev Walkin67c2aec2004-06-05 08:47:18 +0000123
Lev Walkinf15320b2004-06-03 03:38:44 +00001240.8.10: 2004-Jun-02
125
126 * Added const qualifier where necessary.
127 * Changed position of outmost_tag fetcher within asn1_TYPE_descriptor_t
128 structure.
129
1300.8.9: 2004-May-26
131
132 * Added *_{get|set}_arcs_*() functions for OBJECT IDENTIFIER
133 and RELATIVE-OID, together with test cases.
134
1350.8.8: 2004-May-09
136
137 * Introduced subtype constraints support (incomplete!).
138 * Fixed compiler. If the last member of the SEQUENCE is OPTIONAL
139 and absent in the encoding, and the type is extensible (...) or
140 EXTENSIBILITY IMPLIED flag is set, then the structure could not
141 be correctly decoded. (Severity: high, Security impact: low).
142 * Compiler: fixed recursive ASN.1 types inclusion (Severity: low,
143 Security impact: none).
144 * Parser: IMPORTS/FROM fixes, now allowing multiple sections.
145 * Code compiled and checked on PowerPC (@MacOS X). No major portability
146 issues experienced.
147
1480.8.7: 2004-Apr-11 T-version-0-8-7
149
150 * Fixed SEQUENCE BER decoder: if the last member of the SEQUENCE is
151 OPTIONAL and absent in the encoding, RC_FAIL was returned instead
152 of RC_OK (Severity: high, Security impact: low).
153 * Added test case to check the above problem.
154 * Added test case to check -fnative-integers mode.
155
1560.8.6: 2004-Apr-03 T-version-0-8-6
157
158 * Fixed compiler output for embedded ASN.1 structures.
159
1600.8.5: 2004-Mar-28 T-version-0-8-5
161
162 * Fixed ber_tlv_length() computation problem (Severity: blocker,
163 Security impact: none).
164 Reported by <vss@high.net.ru>
165
1660.8.4: 2004-Mar-22
167
168 * Removed RC_ITAG enumeration element from BER decoder.
169 This return code did not have much practical value.
170
1710.8.3: 2004-Mar-14 T-version-0-8-3
172
173 * Fixed SET::BER decoder: restart after reaching a buffer boundary
174 weas broken (Severity: blocker, Security impact: low).
175 * Fixed OCTET STRING::BER decoder: restart after reaching a buffer
176 boundary was broken (Severity: blocker, Security impact: low).
177 Reported by <vss@high.net.ru>
178 * Added test cases to check decoders restartability.
179 * Slightly more general INTEGER2long decoder.
180 * Allowed nested /* C-type */ comments, as per X.680:2002.
181
1820.8.2: 2004-Mar-01 T-version-0-8-2
183
184 * Fixed SEQUENCE BER decoder: an OPTIONAL element was required, where
185 should not have been (Severity: major; Security impact: low).
186 * Fixed print_struct pointer inheritance.
187 * Added -fno-c99 and -funnamed-unions
188
1890.8.1: 2004-Feb-22
190
191 * -R switch to asn1c: Omit support code, compile only the tables.
192 * Introduced NativeInteger pseudotype.
193 * Corrected the informal print_struct()'s output format.
194
1950.8.0: 2004-Feb-03 T-version-0-8-0
196
197 * Some documentation is created (a .pdf and a short manual page).
198 * Last touches to the code.
199
2000.7.9: 2004-Feb-01 T-version-0-7-9
201
202 * Human readable printing support.
203 * Support for implicit (standard) constraints.
204
2050.7.8: 2004-Jan-31
206
207 * SET now rejects duplicate fields in the data stream.
208
2090.7.7: 2004-Jan-25
210
211 * Added types: GeneralizedTime and UTCTime.
212
2130.7.6: 2004-Jan-24 T-version-0-7-6
214
215 * DER encoding of a SET OF now involves dynamic sorting.
216
2170.7.5: 2004-Jan-24 T-version-0-7-5
218
219 * DER encoding of a SET with untagged CHOICE
220 now involves dynamic sorting.
221
2220.7.0: 2004-Jan-19 T-version-0-7-0
223
224 * A bunch of DER encoders is implemented.
225
2260.6.6: 2004-Jan-11
227
228 * Implemented CHOICE decoder.
229 * Implemented destructors support.
230
2310.6.5: 2004-Jan-03
232
233 * Implemented SET decoder.
234 * Implemented SET OF and SEQUENCE OF decoders.
235
2360.6.4: 2003-Dec-31
237
238 * Implemented BOOLEAN, NULL, ENUMERATED decoders.
239 * Implemented OCTET STRING decoder.
240 * Implemented BIT STRING decoder.
241
2420.6: 2003-Dec-30
243
244 * First decoding of a BER-encoded structure!
245
2460.5: 2003-Dec-28
247
248 * Framework and most of the compiler backbone coding done.
249
2500.1: 2003-Nov-28
251
252 * Programming started.