blob: 6ddf8428678f5ab575523b3607d200f1489f1f2f [file] [log] [blame]
Lev Walkinf15320b2004-06-03 03:38:44 +00001
Lev Walkin9bc36682004-08-20 13:38:25 +000020.9: 2004-Aug-20
Lev Walkin3d0b5a32004-08-18 05:43:55 +00003
4 * Reworked subtype constraints handling, aiming at PER-applicability.
Lev Walkin45b2fdf2004-08-19 13:35:01 +00005 * BOOLEAN and NULL are now implemented in terms of native int type.
6 * Compiler now links in only necessary skeleton files.
Lev Walkin9bc36682004-08-20 13:38:25 +00007 * -t option added to asn1c to ease manual BER/CER/DER decoding.
Lev Walkin3d0b5a32004-08-18 05:43:55 +00008
Lev Walkin1ef79852004-08-18 09:05:12 +000090.8.19: 2004-Aug-18
10
11 * Fixed BER encoder (problem encoding large tag values)
12 (Severity: medium, Security impact: low)
13
Lev Walkinb0892fe2004-08-13 12:39:17 +0000140.8.18: 2004-Aug-12
15
16 * Parser: fixed multiple IMPORTS problem (incorrect assertion).
17 * Parser: constraints extensibility parsing fix.
18
Lev Walkin64399722004-08-11 07:17:22 +0000190.8.17: 2004-Aug-11
Lev Walkind8b940c2004-08-11 05:35:51 +000020
21 * Improved compiler output: duplicate #includes eliminated.
Lev Walkin64399722004-08-11 07:17:22 +000022 * Win32 portability fixes.
Lev Walkin3af51b42004-08-11 08:11:50 +000023 * More compatibility with C++ or non-GCC compilers.
Lev Walkind8b940c2004-08-11 05:35:51 +000024
Lev Walkinab42ef92004-07-22 12:19:42 +0000250.8.16: 2004-Jul-22
26
27 * Fixed application-level problem in SET OF/SEQUENCE OF array cleanup.
28 (Severity: medium, Security impact: low)
Lev Walkin99006362004-08-07 03:52:26 +000029 * Improved asn_GT2time() and added asn_time2{GT,UT}() functions.
Lev Walkinf5dda9c2004-08-07 05:01:45 +000030 * BIT STRING pretty-printing.
Lev Walkinab42ef92004-07-22 12:19:42 +000031
Lev Walkinf7a6c6d2004-07-21 03:55:44 +0000320.8.15: 2004-Jul-20
Lev Walkin29a62262004-07-15 10:52:58 +000033
34 * Fixed parser: memory leak in free_struct code for SET OF/SEQUENCE OF.
35 (Severity: high, Security impact: medium)
Lev Walkinc698eb82004-07-21 04:15:24 +000036 * Fixed parser: invalid memory reference in code constructing tags.
Lev Walkinf7a6c6d2004-07-21 03:55:44 +000037 (Test case 48) (Severity: high, Security impact: medium)
38 When encoding data for certain ASN.1 specifications containing
39 explicit tags, the tag is always written incorrectly due to
40 incorrect memory reference. The encoding will almost always produce
41 unparseable data and might well reference unmapped region so program
42 would produce segmentation violation. Fortunately, memory is
43 read, not written, so remote exploits cannot execute arbitrary
44 code and triggering unmapped memory reference is highly unlikely
45 even it attacker knows the code (basically, the compiler should place
46 asn1_DEF_... right before the end of the mapped memory region, which
47 is extremely rare).
Lev Walkindb13f512004-07-19 17:30:25 +000048 * Improved INTEGER type printing.
Lev Walkin29a62262004-07-15 10:52:58 +000049
Lev Walkin35631482004-07-01 00:52:50 +0000500.8.14: 2004-Jun-30
51
52 * Fixed compiler: extensibility of CHOICE and SET type has not been
53 taken into account during table construction.
54 (Test case 47) (Severity: high, Security impact: low)
55
Lev Walkind0d63f02004-06-28 21:22:20 +0000560.8.13: 2004-Jun-29
57
58 * Fixed compiler: the skip values for IMPLICIT tagging were broken
59 in some complex cases where one type is defined using another.
60 (Test case 46) (Severity: medium, Security impact: low).
61 * Added -fknown-extern-type command line parameter to asn1c.
62 * Removed -N command line flag and underlying functionality
63 to honor KISS principle.
64
Lev Walkine8826882004-06-18 00:03:54 +0000650.8.12: 2004-Jun-17
Lev Walkin715f45c2004-06-14 13:53:32 +000066
Lev Walkine8826882004-06-18 00:03:54 +000067 * RELATIVE-OID and OBJECT IDENTIFIER encoders/decoders are not bound
68 anymore to an integer type of specific size (unsigned long). The
69 size of an integer must be provided explicitly.
70 See {OBJECT_IDENTIFIER|RELATIVE_OID}_{get|set}_arcs().
Lev Walkin715f45c2004-06-14 13:53:32 +000071 * SEQUENCE BER decoder fixed again for complex CHOICE case
Lev Walkin90c408c2004-06-14 13:54:21 +000072 (Test case 44) (Severity: medium, Security impact: low).
Lev Walkin715f45c2004-06-14 13:53:32 +000073
Lev Walkin67c2aec2004-06-05 08:47:18 +0000740.8.11: 2004-Jun-05
75
Lev Walkin28551732004-07-21 04:28:32 +000076 * Enforced stricter conformance with C standards.
Lev Walkin715f45c2004-06-14 13:53:32 +000077 * SEQUENCE BER decoder is now equipped with the sorted map
Lev Walkin886e22e2004-06-06 07:20:37 +000078 in case of complex CHOICE descendants. Test case 44 created.
Lev Walkin67c2aec2004-06-05 08:47:18 +000079
Lev Walkinf15320b2004-06-03 03:38:44 +0000800.8.10: 2004-Jun-02
81
82 * Added const qualifier where necessary.
83 * Changed position of outmost_tag fetcher within asn1_TYPE_descriptor_t
84 structure.
85
860.8.9: 2004-May-26
87
88 * Added *_{get|set}_arcs_*() functions for OBJECT IDENTIFIER
89 and RELATIVE-OID, together with test cases.
90
910.8.8: 2004-May-09
92
93 * Introduced subtype constraints support (incomplete!).
94 * Fixed compiler. If the last member of the SEQUENCE is OPTIONAL
95 and absent in the encoding, and the type is extensible (...) or
96 EXTENSIBILITY IMPLIED flag is set, then the structure could not
97 be correctly decoded. (Severity: high, Security impact: low).
98 * Compiler: fixed recursive ASN.1 types inclusion (Severity: low,
99 Security impact: none).
100 * Parser: IMPORTS/FROM fixes, now allowing multiple sections.
101 * Code compiled and checked on PowerPC (@MacOS X). No major portability
102 issues experienced.
103
1040.8.7: 2004-Apr-11 T-version-0-8-7
105
106 * Fixed SEQUENCE BER decoder: if the last member of the SEQUENCE is
107 OPTIONAL and absent in the encoding, RC_FAIL was returned instead
108 of RC_OK (Severity: high, Security impact: low).
109 * Added test case to check the above problem.
110 * Added test case to check -fnative-integers mode.
111
1120.8.6: 2004-Apr-03 T-version-0-8-6
113
114 * Fixed compiler output for embedded ASN.1 structures.
115
1160.8.5: 2004-Mar-28 T-version-0-8-5
117
118 * Fixed ber_tlv_length() computation problem (Severity: blocker,
119 Security impact: none).
120 Reported by <vss@high.net.ru>
121
1220.8.4: 2004-Mar-22
123
124 * Removed RC_ITAG enumeration element from BER decoder.
125 This return code did not have much practical value.
126
1270.8.3: 2004-Mar-14 T-version-0-8-3
128
129 * Fixed SET::BER decoder: restart after reaching a buffer boundary
130 weas broken (Severity: blocker, Security impact: low).
131 * Fixed OCTET STRING::BER decoder: restart after reaching a buffer
132 boundary was broken (Severity: blocker, Security impact: low).
133 Reported by <vss@high.net.ru>
134 * Added test cases to check decoders restartability.
135 * Slightly more general INTEGER2long decoder.
136 * Allowed nested /* C-type */ comments, as per X.680:2002.
137
1380.8.2: 2004-Mar-01 T-version-0-8-2
139
140 * Fixed SEQUENCE BER decoder: an OPTIONAL element was required, where
141 should not have been (Severity: major; Security impact: low).
142 * Fixed print_struct pointer inheritance.
143 * Added -fno-c99 and -funnamed-unions
144
1450.8.1: 2004-Feb-22
146
147 * -R switch to asn1c: Omit support code, compile only the tables.
148 * Introduced NativeInteger pseudotype.
149 * Corrected the informal print_struct()'s output format.
150
1510.8.0: 2004-Feb-03 T-version-0-8-0
152
153 * Some documentation is created (a .pdf and a short manual page).
154 * Last touches to the code.
155
1560.7.9: 2004-Feb-01 T-version-0-7-9
157
158 * Human readable printing support.
159 * Support for implicit (standard) constraints.
160
1610.7.8: 2004-Jan-31
162
163 * SET now rejects duplicate fields in the data stream.
164
1650.7.7: 2004-Jan-25
166
167 * Added types: GeneralizedTime and UTCTime.
168
1690.7.6: 2004-Jan-24 T-version-0-7-6
170
171 * DER encoding of a SET OF now involves dynamic sorting.
172
1730.7.5: 2004-Jan-24 T-version-0-7-5
174
175 * DER encoding of a SET with untagged CHOICE
176 now involves dynamic sorting.
177
1780.7.0: 2004-Jan-19 T-version-0-7-0
179
180 * A bunch of DER encoders is implemented.
181
1820.6.6: 2004-Jan-11
183
184 * Implemented CHOICE decoder.
185 * Implemented destructors support.
186
1870.6.5: 2004-Jan-03
188
189 * Implemented SET decoder.
190 * Implemented SET OF and SEQUENCE OF decoders.
191
1920.6.4: 2003-Dec-31
193
194 * Implemented BOOLEAN, NULL, ENUMERATED decoders.
195 * Implemented OCTET STRING decoder.
196 * Implemented BIT STRING decoder.
197
1980.6: 2003-Dec-30
199
200 * First decoding of a BER-encoded structure!
201
2020.5: 2003-Dec-28
203
204 * Framework and most of the compiler backbone coding done.
205
2060.1: 2003-Nov-28
207
208 * Programming started.