blob: d6f4e773bf1d90ee30b077b3cdb048f94099ee5d [file] [log] [blame]
Lev Walkinf15320b2004-06-03 03:38:44 +00001
Lev Walkin4ce78ca2004-08-25 01:34:11 +000020.9.2: 2004-Aug-24
3
4 * Indirect references in constraints resolver code fixed.
5 * Avoided compilation warning on gcc 3.3.3 systems.
6
Lev Walkinfa66e082004-08-24 05:25:57 +000070.9.1: 2004-Aug-23
8
9 * Documentation updated: doc/asn1c-usage.pdf
10 * Fixed OBJECT IDENTIFIER human-readable printing.
11 Reported by <siden@ul-gsm.ru>.
12
Lev Walkin09e85222004-08-23 09:24:40 +0000130.9: 2004-Aug-23
Lev Walkin3d0b5a32004-08-18 05:43:55 +000014
15 * Reworked subtype constraints handling, aiming at PER-applicability.
Lev Walkin45b2fdf2004-08-19 13:35:01 +000016 * BOOLEAN and NULL are now implemented in terms of native int type.
17 * Compiler now links in only necessary skeleton files.
Lev Walkin9bc36682004-08-20 13:38:25 +000018 * -t option added to asn1c to ease manual BER/CER/DER decoding.
Lev Walkin08079b02004-08-22 03:25:24 +000019 * Added support COMPONENTS OF construct.
20 * Numerous parser fixes and enhancements.
Lev Walkin16835b62004-08-22 13:47:59 +000021 * Better constraint failure reporting.
Lev Walkin3d0b5a32004-08-18 05:43:55 +000022
Lev Walkin1ef79852004-08-18 09:05:12 +0000230.8.19: 2004-Aug-18
24
25 * Fixed BER encoder (problem encoding large tag values)
26 (Severity: medium, Security impact: low)
27
Lev Walkinb0892fe2004-08-13 12:39:17 +0000280.8.18: 2004-Aug-12
29
30 * Parser: fixed multiple IMPORTS problem (incorrect assertion).
31 * Parser: constraints extensibility parsing fix.
32
Lev Walkin64399722004-08-11 07:17:22 +0000330.8.17: 2004-Aug-11
Lev Walkind8b940c2004-08-11 05:35:51 +000034
35 * Improved compiler output: duplicate #includes eliminated.
Lev Walkin64399722004-08-11 07:17:22 +000036 * Win32 portability fixes.
Lev Walkin3af51b42004-08-11 08:11:50 +000037 * More compatibility with C++ or non-GCC compilers.
Lev Walkind8b940c2004-08-11 05:35:51 +000038
Lev Walkinab42ef92004-07-22 12:19:42 +0000390.8.16: 2004-Jul-22
40
41 * Fixed application-level problem in SET OF/SEQUENCE OF array cleanup.
42 (Severity: medium, Security impact: low)
Lev Walkin99006362004-08-07 03:52:26 +000043 * Improved asn_GT2time() and added asn_time2{GT,UT}() functions.
Lev Walkinf5dda9c2004-08-07 05:01:45 +000044 * BIT STRING pretty-printing.
Lev Walkinab42ef92004-07-22 12:19:42 +000045
Lev Walkinf7a6c6d2004-07-21 03:55:44 +0000460.8.15: 2004-Jul-20
Lev Walkin29a62262004-07-15 10:52:58 +000047
48 * Fixed parser: memory leak in free_struct code for SET OF/SEQUENCE OF.
49 (Severity: high, Security impact: medium)
Lev Walkinc698eb82004-07-21 04:15:24 +000050 * Fixed parser: invalid memory reference in code constructing tags.
Lev Walkinf7a6c6d2004-07-21 03:55:44 +000051 (Test case 48) (Severity: high, Security impact: medium)
52 When encoding data for certain ASN.1 specifications containing
53 explicit tags, the tag is always written incorrectly due to
54 incorrect memory reference. The encoding will almost always produce
55 unparseable data and might well reference unmapped region so program
56 would produce segmentation violation. Fortunately, memory is
57 read, not written, so remote exploits cannot execute arbitrary
58 code and triggering unmapped memory reference is highly unlikely
59 even it attacker knows the code (basically, the compiler should place
60 asn1_DEF_... right before the end of the mapped memory region, which
61 is extremely rare).
Lev Walkindb13f512004-07-19 17:30:25 +000062 * Improved INTEGER type printing.
Lev Walkin29a62262004-07-15 10:52:58 +000063
Lev Walkin35631482004-07-01 00:52:50 +0000640.8.14: 2004-Jun-30
65
66 * Fixed compiler: extensibility of CHOICE and SET type has not been
67 taken into account during table construction.
68 (Test case 47) (Severity: high, Security impact: low)
69
Lev Walkind0d63f02004-06-28 21:22:20 +0000700.8.13: 2004-Jun-29
71
72 * Fixed compiler: the skip values for IMPLICIT tagging were broken
73 in some complex cases where one type is defined using another.
74 (Test case 46) (Severity: medium, Security impact: low).
75 * Added -fknown-extern-type command line parameter to asn1c.
76 * Removed -N command line flag and underlying functionality
77 to honor KISS principle.
78
Lev Walkine8826882004-06-18 00:03:54 +0000790.8.12: 2004-Jun-17
Lev Walkin715f45c2004-06-14 13:53:32 +000080
Lev Walkine8826882004-06-18 00:03:54 +000081 * RELATIVE-OID and OBJECT IDENTIFIER encoders/decoders are not bound
82 anymore to an integer type of specific size (unsigned long). The
83 size of an integer must be provided explicitly.
84 See {OBJECT_IDENTIFIER|RELATIVE_OID}_{get|set}_arcs().
Lev Walkin715f45c2004-06-14 13:53:32 +000085 * SEQUENCE BER decoder fixed again for complex CHOICE case
Lev Walkin90c408c2004-06-14 13:54:21 +000086 (Test case 44) (Severity: medium, Security impact: low).
Lev Walkin715f45c2004-06-14 13:53:32 +000087
Lev Walkin67c2aec2004-06-05 08:47:18 +0000880.8.11: 2004-Jun-05
89
Lev Walkin28551732004-07-21 04:28:32 +000090 * Enforced stricter conformance with C standards.
Lev Walkin715f45c2004-06-14 13:53:32 +000091 * SEQUENCE BER decoder is now equipped with the sorted map
Lev Walkin886e22e2004-06-06 07:20:37 +000092 in case of complex CHOICE descendants. Test case 44 created.
Lev Walkin67c2aec2004-06-05 08:47:18 +000093
Lev Walkinf15320b2004-06-03 03:38:44 +0000940.8.10: 2004-Jun-02
95
96 * Added const qualifier where necessary.
97 * Changed position of outmost_tag fetcher within asn1_TYPE_descriptor_t
98 structure.
99
1000.8.9: 2004-May-26
101
102 * Added *_{get|set}_arcs_*() functions for OBJECT IDENTIFIER
103 and RELATIVE-OID, together with test cases.
104
1050.8.8: 2004-May-09
106
107 * Introduced subtype constraints support (incomplete!).
108 * Fixed compiler. If the last member of the SEQUENCE is OPTIONAL
109 and absent in the encoding, and the type is extensible (...) or
110 EXTENSIBILITY IMPLIED flag is set, then the structure could not
111 be correctly decoded. (Severity: high, Security impact: low).
112 * Compiler: fixed recursive ASN.1 types inclusion (Severity: low,
113 Security impact: none).
114 * Parser: IMPORTS/FROM fixes, now allowing multiple sections.
115 * Code compiled and checked on PowerPC (@MacOS X). No major portability
116 issues experienced.
117
1180.8.7: 2004-Apr-11 T-version-0-8-7
119
120 * Fixed SEQUENCE BER decoder: if the last member of the SEQUENCE is
121 OPTIONAL and absent in the encoding, RC_FAIL was returned instead
122 of RC_OK (Severity: high, Security impact: low).
123 * Added test case to check the above problem.
124 * Added test case to check -fnative-integers mode.
125
1260.8.6: 2004-Apr-03 T-version-0-8-6
127
128 * Fixed compiler output for embedded ASN.1 structures.
129
1300.8.5: 2004-Mar-28 T-version-0-8-5
131
132 * Fixed ber_tlv_length() computation problem (Severity: blocker,
133 Security impact: none).
134 Reported by <vss@high.net.ru>
135
1360.8.4: 2004-Mar-22
137
138 * Removed RC_ITAG enumeration element from BER decoder.
139 This return code did not have much practical value.
140
1410.8.3: 2004-Mar-14 T-version-0-8-3
142
143 * Fixed SET::BER decoder: restart after reaching a buffer boundary
144 weas broken (Severity: blocker, Security impact: low).
145 * Fixed OCTET STRING::BER decoder: restart after reaching a buffer
146 boundary was broken (Severity: blocker, Security impact: low).
147 Reported by <vss@high.net.ru>
148 * Added test cases to check decoders restartability.
149 * Slightly more general INTEGER2long decoder.
150 * Allowed nested /* C-type */ comments, as per X.680:2002.
151
1520.8.2: 2004-Mar-01 T-version-0-8-2
153
154 * Fixed SEQUENCE BER decoder: an OPTIONAL element was required, where
155 should not have been (Severity: major; Security impact: low).
156 * Fixed print_struct pointer inheritance.
157 * Added -fno-c99 and -funnamed-unions
158
1590.8.1: 2004-Feb-22
160
161 * -R switch to asn1c: Omit support code, compile only the tables.
162 * Introduced NativeInteger pseudotype.
163 * Corrected the informal print_struct()'s output format.
164
1650.8.0: 2004-Feb-03 T-version-0-8-0
166
167 * Some documentation is created (a .pdf and a short manual page).
168 * Last touches to the code.
169
1700.7.9: 2004-Feb-01 T-version-0-7-9
171
172 * Human readable printing support.
173 * Support for implicit (standard) constraints.
174
1750.7.8: 2004-Jan-31
176
177 * SET now rejects duplicate fields in the data stream.
178
1790.7.7: 2004-Jan-25
180
181 * Added types: GeneralizedTime and UTCTime.
182
1830.7.6: 2004-Jan-24 T-version-0-7-6
184
185 * DER encoding of a SET OF now involves dynamic sorting.
186
1870.7.5: 2004-Jan-24 T-version-0-7-5
188
189 * DER encoding of a SET with untagged CHOICE
190 now involves dynamic sorting.
191
1920.7.0: 2004-Jan-19 T-version-0-7-0
193
194 * A bunch of DER encoders is implemented.
195
1960.6.6: 2004-Jan-11
197
198 * Implemented CHOICE decoder.
199 * Implemented destructors support.
200
2010.6.5: 2004-Jan-03
202
203 * Implemented SET decoder.
204 * Implemented SET OF and SEQUENCE OF decoders.
205
2060.6.4: 2003-Dec-31
207
208 * Implemented BOOLEAN, NULL, ENUMERATED decoders.
209 * Implemented OCTET STRING decoder.
210 * Implemented BIT STRING decoder.
211
2120.6: 2003-Dec-30
213
214 * First decoding of a BER-encoded structure!
215
2160.5: 2003-Dec-28
217
218 * Framework and most of the compiler backbone coding done.
219
2200.1: 2003-Nov-28
221
222 * Programming started.