blob: 2d0efdba5e8b1c37347fc30726cd44bfd3784468 [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
Lev Walkin51c38232004-08-25 02:06:48 +00004 * More flexible subtype constraints handling, with relaxed
5 PER visibility rules for actual constraints checking code generator.
Lev Walkin4ce78ca2004-08-25 01:34:11 +00006 * Indirect references in constraints resolver code fixed.
7 * Avoided compilation warning on gcc 3.3.3 systems.
Lev Walkinc74ea222004-08-25 02:27:47 +00008 * Better ValueSet printing.
Lev Walkin4ce78ca2004-08-25 01:34:11 +00009
Lev Walkinfa66e082004-08-24 05:25:57 +0000100.9.1: 2004-Aug-23
11
12 * Documentation updated: doc/asn1c-usage.pdf
13 * Fixed OBJECT IDENTIFIER human-readable printing.
14 Reported by <siden@ul-gsm.ru>.
15
Lev Walkin09e85222004-08-23 09:24:40 +0000160.9: 2004-Aug-23
Lev Walkin3d0b5a32004-08-18 05:43:55 +000017
18 * Reworked subtype constraints handling, aiming at PER-applicability.
Lev Walkin45b2fdf2004-08-19 13:35:01 +000019 * BOOLEAN and NULL are now implemented in terms of native int type.
20 * Compiler now links in only necessary skeleton files.
Lev Walkin9bc36682004-08-20 13:38:25 +000021 * -t option added to asn1c to ease manual BER/CER/DER decoding.
Lev Walkin08079b02004-08-22 03:25:24 +000022 * Added support COMPONENTS OF construct.
23 * Numerous parser fixes and enhancements.
Lev Walkin16835b62004-08-22 13:47:59 +000024 * Better constraint failure reporting.
Lev Walkin3d0b5a32004-08-18 05:43:55 +000025
Lev Walkin1ef79852004-08-18 09:05:12 +0000260.8.19: 2004-Aug-18
27
28 * Fixed BER encoder (problem encoding large tag values)
29 (Severity: medium, Security impact: low)
30
Lev Walkinb0892fe2004-08-13 12:39:17 +0000310.8.18: 2004-Aug-12
32
33 * Parser: fixed multiple IMPORTS problem (incorrect assertion).
34 * Parser: constraints extensibility parsing fix.
35
Lev Walkin64399722004-08-11 07:17:22 +0000360.8.17: 2004-Aug-11
Lev Walkind8b940c2004-08-11 05:35:51 +000037
38 * Improved compiler output: duplicate #includes eliminated.
Lev Walkin64399722004-08-11 07:17:22 +000039 * Win32 portability fixes.
Lev Walkin3af51b42004-08-11 08:11:50 +000040 * More compatibility with C++ or non-GCC compilers.
Lev Walkind8b940c2004-08-11 05:35:51 +000041
Lev Walkinab42ef92004-07-22 12:19:42 +0000420.8.16: 2004-Jul-22
43
44 * Fixed application-level problem in SET OF/SEQUENCE OF array cleanup.
45 (Severity: medium, Security impact: low)
Lev Walkin99006362004-08-07 03:52:26 +000046 * Improved asn_GT2time() and added asn_time2{GT,UT}() functions.
Lev Walkinf5dda9c2004-08-07 05:01:45 +000047 * BIT STRING pretty-printing.
Lev Walkinab42ef92004-07-22 12:19:42 +000048
Lev Walkinf7a6c6d2004-07-21 03:55:44 +0000490.8.15: 2004-Jul-20
Lev Walkin29a62262004-07-15 10:52:58 +000050
51 * Fixed parser: memory leak in free_struct code for SET OF/SEQUENCE OF.
52 (Severity: high, Security impact: medium)
Lev Walkinc698eb82004-07-21 04:15:24 +000053 * Fixed parser: invalid memory reference in code constructing tags.
Lev Walkinf7a6c6d2004-07-21 03:55:44 +000054 (Test case 48) (Severity: high, Security impact: medium)
55 When encoding data for certain ASN.1 specifications containing
56 explicit tags, the tag is always written incorrectly due to
57 incorrect memory reference. The encoding will almost always produce
58 unparseable data and might well reference unmapped region so program
59 would produce segmentation violation. Fortunately, memory is
60 read, not written, so remote exploits cannot execute arbitrary
61 code and triggering unmapped memory reference is highly unlikely
62 even it attacker knows the code (basically, the compiler should place
63 asn1_DEF_... right before the end of the mapped memory region, which
64 is extremely rare).
Lev Walkindb13f512004-07-19 17:30:25 +000065 * Improved INTEGER type printing.
Lev Walkin29a62262004-07-15 10:52:58 +000066
Lev Walkin35631482004-07-01 00:52:50 +0000670.8.14: 2004-Jun-30
68
69 * Fixed compiler: extensibility of CHOICE and SET type has not been
70 taken into account during table construction.
71 (Test case 47) (Severity: high, Security impact: low)
72
Lev Walkind0d63f02004-06-28 21:22:20 +0000730.8.13: 2004-Jun-29
74
75 * Fixed compiler: the skip values for IMPLICIT tagging were broken
76 in some complex cases where one type is defined using another.
77 (Test case 46) (Severity: medium, Security impact: low).
78 * Added -fknown-extern-type command line parameter to asn1c.
79 * Removed -N command line flag and underlying functionality
80 to honor KISS principle.
81
Lev Walkine8826882004-06-18 00:03:54 +0000820.8.12: 2004-Jun-17
Lev Walkin715f45c2004-06-14 13:53:32 +000083
Lev Walkine8826882004-06-18 00:03:54 +000084 * RELATIVE-OID and OBJECT IDENTIFIER encoders/decoders are not bound
85 anymore to an integer type of specific size (unsigned long). The
86 size of an integer must be provided explicitly.
87 See {OBJECT_IDENTIFIER|RELATIVE_OID}_{get|set}_arcs().
Lev Walkin715f45c2004-06-14 13:53:32 +000088 * SEQUENCE BER decoder fixed again for complex CHOICE case
Lev Walkin90c408c2004-06-14 13:54:21 +000089 (Test case 44) (Severity: medium, Security impact: low).
Lev Walkin715f45c2004-06-14 13:53:32 +000090
Lev Walkin67c2aec2004-06-05 08:47:18 +0000910.8.11: 2004-Jun-05
92
Lev Walkin28551732004-07-21 04:28:32 +000093 * Enforced stricter conformance with C standards.
Lev Walkin715f45c2004-06-14 13:53:32 +000094 * SEQUENCE BER decoder is now equipped with the sorted map
Lev Walkin886e22e2004-06-06 07:20:37 +000095 in case of complex CHOICE descendants. Test case 44 created.
Lev Walkin67c2aec2004-06-05 08:47:18 +000096
Lev Walkinf15320b2004-06-03 03:38:44 +0000970.8.10: 2004-Jun-02
98
99 * Added const qualifier where necessary.
100 * Changed position of outmost_tag fetcher within asn1_TYPE_descriptor_t
101 structure.
102
1030.8.9: 2004-May-26
104
105 * Added *_{get|set}_arcs_*() functions for OBJECT IDENTIFIER
106 and RELATIVE-OID, together with test cases.
107
1080.8.8: 2004-May-09
109
110 * Introduced subtype constraints support (incomplete!).
111 * Fixed compiler. If the last member of the SEQUENCE is OPTIONAL
112 and absent in the encoding, and the type is extensible (...) or
113 EXTENSIBILITY IMPLIED flag is set, then the structure could not
114 be correctly decoded. (Severity: high, Security impact: low).
115 * Compiler: fixed recursive ASN.1 types inclusion (Severity: low,
116 Security impact: none).
117 * Parser: IMPORTS/FROM fixes, now allowing multiple sections.
118 * Code compiled and checked on PowerPC (@MacOS X). No major portability
119 issues experienced.
120
1210.8.7: 2004-Apr-11 T-version-0-8-7
122
123 * Fixed SEQUENCE BER decoder: if the last member of the SEQUENCE is
124 OPTIONAL and absent in the encoding, RC_FAIL was returned instead
125 of RC_OK (Severity: high, Security impact: low).
126 * Added test case to check the above problem.
127 * Added test case to check -fnative-integers mode.
128
1290.8.6: 2004-Apr-03 T-version-0-8-6
130
131 * Fixed compiler output for embedded ASN.1 structures.
132
1330.8.5: 2004-Mar-28 T-version-0-8-5
134
135 * Fixed ber_tlv_length() computation problem (Severity: blocker,
136 Security impact: none).
137 Reported by <vss@high.net.ru>
138
1390.8.4: 2004-Mar-22
140
141 * Removed RC_ITAG enumeration element from BER decoder.
142 This return code did not have much practical value.
143
1440.8.3: 2004-Mar-14 T-version-0-8-3
145
146 * Fixed SET::BER decoder: restart after reaching a buffer boundary
147 weas broken (Severity: blocker, Security impact: low).
148 * Fixed OCTET STRING::BER decoder: restart after reaching a buffer
149 boundary was broken (Severity: blocker, Security impact: low).
150 Reported by <vss@high.net.ru>
151 * Added test cases to check decoders restartability.
152 * Slightly more general INTEGER2long decoder.
153 * Allowed nested /* C-type */ comments, as per X.680:2002.
154
1550.8.2: 2004-Mar-01 T-version-0-8-2
156
157 * Fixed SEQUENCE BER decoder: an OPTIONAL element was required, where
158 should not have been (Severity: major; Security impact: low).
159 * Fixed print_struct pointer inheritance.
160 * Added -fno-c99 and -funnamed-unions
161
1620.8.1: 2004-Feb-22
163
164 * -R switch to asn1c: Omit support code, compile only the tables.
165 * Introduced NativeInteger pseudotype.
166 * Corrected the informal print_struct()'s output format.
167
1680.8.0: 2004-Feb-03 T-version-0-8-0
169
170 * Some documentation is created (a .pdf and a short manual page).
171 * Last touches to the code.
172
1730.7.9: 2004-Feb-01 T-version-0-7-9
174
175 * Human readable printing support.
176 * Support for implicit (standard) constraints.
177
1780.7.8: 2004-Jan-31
179
180 * SET now rejects duplicate fields in the data stream.
181
1820.7.7: 2004-Jan-25
183
184 * Added types: GeneralizedTime and UTCTime.
185
1860.7.6: 2004-Jan-24 T-version-0-7-6
187
188 * DER encoding of a SET OF now involves dynamic sorting.
189
1900.7.5: 2004-Jan-24 T-version-0-7-5
191
192 * DER encoding of a SET with untagged CHOICE
193 now involves dynamic sorting.
194
1950.7.0: 2004-Jan-19 T-version-0-7-0
196
197 * A bunch of DER encoders is implemented.
198
1990.6.6: 2004-Jan-11
200
201 * Implemented CHOICE decoder.
202 * Implemented destructors support.
203
2040.6.5: 2004-Jan-03
205
206 * Implemented SET decoder.
207 * Implemented SET OF and SEQUENCE OF decoders.
208
2090.6.4: 2003-Dec-31
210
211 * Implemented BOOLEAN, NULL, ENUMERATED decoders.
212 * Implemented OCTET STRING decoder.
213 * Implemented BIT STRING decoder.
214
2150.6: 2003-Dec-30
216
217 * First decoding of a BER-encoded structure!
218
2190.5: 2003-Dec-28
220
221 * Framework and most of the compiler backbone coding done.
222
2230.1: 2003-Nov-28
224
225 * Programming started.