blob: 6c7e05a3b3fb9e026dba3ecfcf2194b73a3ab909 [file] [log] [blame]
vlmfa67ddc2004-06-03 03:38:44 +00001
vlmdae7f9d2004-08-22 03:25:24 +000020.9: 2004-Aug-21
vlmd3d0fbd2004-08-18 05:43:55 +00003
4 * Reworked subtype constraints handling, aiming at PER-applicability.
vlm7ce9add2004-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.
vlmf25d2812004-08-20 13:38:25 +00007 * -t option added to asn1c to ease manual BER/CER/DER decoding.
vlmdae7f9d2004-08-22 03:25:24 +00008 * Added support COMPONENTS OF construct.
9 * Numerous parser fixes and enhancements.
vlmd3d0fbd2004-08-18 05:43:55 +000010
vlm19aae982004-08-18 09:05:12 +0000110.8.19: 2004-Aug-18
12
13 * Fixed BER encoder (problem encoding large tag values)
14 (Severity: medium, Security impact: low)
15
vlm22736492004-08-13 12:39:17 +0000160.8.18: 2004-Aug-12
17
18 * Parser: fixed multiple IMPORTS problem (incorrect assertion).
19 * Parser: constraints extensibility parsing fix.
20
vlm6e73a042004-08-11 07:17:22 +0000210.8.17: 2004-Aug-11
vlm8ed2f6f2004-08-11 05:35:51 +000022
23 * Improved compiler output: duplicate #includes eliminated.
vlm6e73a042004-08-11 07:17:22 +000024 * Win32 portability fixes.
vlme167bf72004-08-11 08:11:50 +000025 * More compatibility with C++ or non-GCC compilers.
vlm8ed2f6f2004-08-11 05:35:51 +000026
vlm972a5382004-07-22 12:19:42 +0000270.8.16: 2004-Jul-22
28
29 * Fixed application-level problem in SET OF/SEQUENCE OF array cleanup.
30 (Severity: medium, Security impact: low)
vlm81057a82004-08-07 03:52:26 +000031 * Improved asn_GT2time() and added asn_time2{GT,UT}() functions.
vlm49b511a2004-08-07 05:01:45 +000032 * BIT STRING pretty-printing.
vlm972a5382004-07-22 12:19:42 +000033
vlm796c1da2004-07-21 03:55:44 +0000340.8.15: 2004-Jul-20
vlmf0769b42004-07-15 10:52:58 +000035
36 * Fixed parser: memory leak in free_struct code for SET OF/SEQUENCE OF.
37 (Severity: high, Security impact: medium)
vlmde1d8f72004-07-21 04:15:24 +000038 * Fixed parser: invalid memory reference in code constructing tags.
vlm796c1da2004-07-21 03:55:44 +000039 (Test case 48) (Severity: high, Security impact: medium)
40 When encoding data for certain ASN.1 specifications containing
41 explicit tags, the tag is always written incorrectly due to
42 incorrect memory reference. The encoding will almost always produce
43 unparseable data and might well reference unmapped region so program
44 would produce segmentation violation. Fortunately, memory is
45 read, not written, so remote exploits cannot execute arbitrary
46 code and triggering unmapped memory reference is highly unlikely
47 even it attacker knows the code (basically, the compiler should place
48 asn1_DEF_... right before the end of the mapped memory region, which
49 is extremely rare).
vlm7d278c42004-07-19 17:30:25 +000050 * Improved INTEGER type printing.
vlmf0769b42004-07-15 10:52:58 +000051
vlm79b08d52004-07-01 00:52:50 +0000520.8.14: 2004-Jun-30
53
54 * Fixed compiler: extensibility of CHOICE and SET type has not been
55 taken into account during table construction.
56 (Test case 47) (Severity: high, Security impact: low)
57
vlm65328a82004-06-28 21:22:20 +0000580.8.13: 2004-Jun-29
59
60 * Fixed compiler: the skip values for IMPLICIT tagging were broken
61 in some complex cases where one type is defined using another.
62 (Test case 46) (Severity: medium, Security impact: low).
63 * Added -fknown-extern-type command line parameter to asn1c.
64 * Removed -N command line flag and underlying functionality
65 to honor KISS principle.
66
vlmd315be52004-06-18 00:03:54 +0000670.8.12: 2004-Jun-17
vlme511d3e2004-06-14 13:53:32 +000068
vlmd315be52004-06-18 00:03:54 +000069 * RELATIVE-OID and OBJECT IDENTIFIER encoders/decoders are not bound
70 anymore to an integer type of specific size (unsigned long). The
71 size of an integer must be provided explicitly.
72 See {OBJECT_IDENTIFIER|RELATIVE_OID}_{get|set}_arcs().
vlme511d3e2004-06-14 13:53:32 +000073 * SEQUENCE BER decoder fixed again for complex CHOICE case
vlm23ea2c72004-06-14 13:54:21 +000074 (Test case 44) (Severity: medium, Security impact: low).
vlme511d3e2004-06-14 13:53:32 +000075
vlm97986e42004-06-05 08:47:18 +0000760.8.11: 2004-Jun-05
77
vlm387ab0c2004-07-21 04:28:32 +000078 * Enforced stricter conformance with C standards.
vlme511d3e2004-06-14 13:53:32 +000079 * SEQUENCE BER decoder is now equipped with the sorted map
vlm45191f52004-06-06 07:20:37 +000080 in case of complex CHOICE descendants. Test case 44 created.
vlm97986e42004-06-05 08:47:18 +000081
vlmfa67ddc2004-06-03 03:38:44 +0000820.8.10: 2004-Jun-02
83
84 * Added const qualifier where necessary.
85 * Changed position of outmost_tag fetcher within asn1_TYPE_descriptor_t
86 structure.
87
880.8.9: 2004-May-26
89
90 * Added *_{get|set}_arcs_*() functions for OBJECT IDENTIFIER
91 and RELATIVE-OID, together with test cases.
92
930.8.8: 2004-May-09
94
95 * Introduced subtype constraints support (incomplete!).
96 * Fixed compiler. If the last member of the SEQUENCE is OPTIONAL
97 and absent in the encoding, and the type is extensible (...) or
98 EXTENSIBILITY IMPLIED flag is set, then the structure could not
99 be correctly decoded. (Severity: high, Security impact: low).
100 * Compiler: fixed recursive ASN.1 types inclusion (Severity: low,
101 Security impact: none).
102 * Parser: IMPORTS/FROM fixes, now allowing multiple sections.
103 * Code compiled and checked on PowerPC (@MacOS X). No major portability
104 issues experienced.
105
1060.8.7: 2004-Apr-11 T-version-0-8-7
107
108 * Fixed SEQUENCE BER decoder: if the last member of the SEQUENCE is
109 OPTIONAL and absent in the encoding, RC_FAIL was returned instead
110 of RC_OK (Severity: high, Security impact: low).
111 * Added test case to check the above problem.
112 * Added test case to check -fnative-integers mode.
113
1140.8.6: 2004-Apr-03 T-version-0-8-6
115
116 * Fixed compiler output for embedded ASN.1 structures.
117
1180.8.5: 2004-Mar-28 T-version-0-8-5
119
120 * Fixed ber_tlv_length() computation problem (Severity: blocker,
121 Security impact: none).
122 Reported by <vss@high.net.ru>
123
1240.8.4: 2004-Mar-22
125
126 * Removed RC_ITAG enumeration element from BER decoder.
127 This return code did not have much practical value.
128
1290.8.3: 2004-Mar-14 T-version-0-8-3
130
131 * Fixed SET::BER decoder: restart after reaching a buffer boundary
132 weas broken (Severity: blocker, Security impact: low).
133 * Fixed OCTET STRING::BER decoder: restart after reaching a buffer
134 boundary was broken (Severity: blocker, Security impact: low).
135 Reported by <vss@high.net.ru>
136 * Added test cases to check decoders restartability.
137 * Slightly more general INTEGER2long decoder.
138 * Allowed nested /* C-type */ comments, as per X.680:2002.
139
1400.8.2: 2004-Mar-01 T-version-0-8-2
141
142 * Fixed SEQUENCE BER decoder: an OPTIONAL element was required, where
143 should not have been (Severity: major; Security impact: low).
144 * Fixed print_struct pointer inheritance.
145 * Added -fno-c99 and -funnamed-unions
146
1470.8.1: 2004-Feb-22
148
149 * -R switch to asn1c: Omit support code, compile only the tables.
150 * Introduced NativeInteger pseudotype.
151 * Corrected the informal print_struct()'s output format.
152
1530.8.0: 2004-Feb-03 T-version-0-8-0
154
155 * Some documentation is created (a .pdf and a short manual page).
156 * Last touches to the code.
157
1580.7.9: 2004-Feb-01 T-version-0-7-9
159
160 * Human readable printing support.
161 * Support for implicit (standard) constraints.
162
1630.7.8: 2004-Jan-31
164
165 * SET now rejects duplicate fields in the data stream.
166
1670.7.7: 2004-Jan-25
168
169 * Added types: GeneralizedTime and UTCTime.
170
1710.7.6: 2004-Jan-24 T-version-0-7-6
172
173 * DER encoding of a SET OF now involves dynamic sorting.
174
1750.7.5: 2004-Jan-24 T-version-0-7-5
176
177 * DER encoding of a SET with untagged CHOICE
178 now involves dynamic sorting.
179
1800.7.0: 2004-Jan-19 T-version-0-7-0
181
182 * A bunch of DER encoders is implemented.
183
1840.6.6: 2004-Jan-11
185
186 * Implemented CHOICE decoder.
187 * Implemented destructors support.
188
1890.6.5: 2004-Jan-03
190
191 * Implemented SET decoder.
192 * Implemented SET OF and SEQUENCE OF decoders.
193
1940.6.4: 2003-Dec-31
195
196 * Implemented BOOLEAN, NULL, ENUMERATED decoders.
197 * Implemented OCTET STRING decoder.
198 * Implemented BIT STRING decoder.
199
2000.6: 2003-Dec-30
201
202 * First decoding of a BER-encoded structure!
203
2040.5: 2003-Dec-28
205
206 * Framework and most of the compiler backbone coding done.
207
2080.1: 2003-Nov-28
209
210 * Programming started.