blob: 1b9dec4540b3ef2fa357773f413f0d714691e981 [file] [log] [blame]
vlmfa67ddc2004-06-03 03:38:44 +00001
vlmfcf990c2004-08-18 05:53:22 +000020.9.1: 2004-Aug-12
vlmd3d0fbd2004-08-18 05:43:55 +00003
4 * Reworked subtype constraints handling, aiming at PER-applicability.
5
vlm19aae982004-08-18 09:05:12 +000060.8.19: 2004-Aug-18
7
8 * Fixed BER encoder (problem encoding large tag values)
9 (Severity: medium, Security impact: low)
10
vlm22736492004-08-13 12:39:17 +0000110.8.18: 2004-Aug-12
12
13 * Parser: fixed multiple IMPORTS problem (incorrect assertion).
14 * Parser: constraints extensibility parsing fix.
15
vlm6e73a042004-08-11 07:17:22 +0000160.8.17: 2004-Aug-11
vlm8ed2f6f2004-08-11 05:35:51 +000017
18 * Improved compiler output: duplicate #includes eliminated.
vlm6e73a042004-08-11 07:17:22 +000019 * Win32 portability fixes.
vlme167bf72004-08-11 08:11:50 +000020 * More compatibility with C++ or non-GCC compilers.
vlm8ed2f6f2004-08-11 05:35:51 +000021
vlm972a5382004-07-22 12:19:42 +0000220.8.16: 2004-Jul-22
23
24 * Fixed application-level problem in SET OF/SEQUENCE OF array cleanup.
25 (Severity: medium, Security impact: low)
vlm81057a82004-08-07 03:52:26 +000026 * Improved asn_GT2time() and added asn_time2{GT,UT}() functions.
vlm49b511a2004-08-07 05:01:45 +000027 * BIT STRING pretty-printing.
vlm972a5382004-07-22 12:19:42 +000028
vlm796c1da2004-07-21 03:55:44 +0000290.8.15: 2004-Jul-20
vlmf0769b42004-07-15 10:52:58 +000030
31 * Fixed parser: memory leak in free_struct code for SET OF/SEQUENCE OF.
32 (Severity: high, Security impact: medium)
vlmde1d8f72004-07-21 04:15:24 +000033 * Fixed parser: invalid memory reference in code constructing tags.
vlm796c1da2004-07-21 03:55:44 +000034 (Test case 48) (Severity: high, Security impact: medium)
35 When encoding data for certain ASN.1 specifications containing
36 explicit tags, the tag is always written incorrectly due to
37 incorrect memory reference. The encoding will almost always produce
38 unparseable data and might well reference unmapped region so program
39 would produce segmentation violation. Fortunately, memory is
40 read, not written, so remote exploits cannot execute arbitrary
41 code and triggering unmapped memory reference is highly unlikely
42 even it attacker knows the code (basically, the compiler should place
43 asn1_DEF_... right before the end of the mapped memory region, which
44 is extremely rare).
vlm7d278c42004-07-19 17:30:25 +000045 * Improved INTEGER type printing.
vlmf0769b42004-07-15 10:52:58 +000046
vlm79b08d52004-07-01 00:52:50 +0000470.8.14: 2004-Jun-30
48
49 * Fixed compiler: extensibility of CHOICE and SET type has not been
50 taken into account during table construction.
51 (Test case 47) (Severity: high, Security impact: low)
52
vlm65328a82004-06-28 21:22:20 +0000530.8.13: 2004-Jun-29
54
55 * Fixed compiler: the skip values for IMPLICIT tagging were broken
56 in some complex cases where one type is defined using another.
57 (Test case 46) (Severity: medium, Security impact: low).
58 * Added -fknown-extern-type command line parameter to asn1c.
59 * Removed -N command line flag and underlying functionality
60 to honor KISS principle.
61
vlmd315be52004-06-18 00:03:54 +0000620.8.12: 2004-Jun-17
vlme511d3e2004-06-14 13:53:32 +000063
vlmd315be52004-06-18 00:03:54 +000064 * RELATIVE-OID and OBJECT IDENTIFIER encoders/decoders are not bound
65 anymore to an integer type of specific size (unsigned long). The
66 size of an integer must be provided explicitly.
67 See {OBJECT_IDENTIFIER|RELATIVE_OID}_{get|set}_arcs().
vlme511d3e2004-06-14 13:53:32 +000068 * SEQUENCE BER decoder fixed again for complex CHOICE case
vlm23ea2c72004-06-14 13:54:21 +000069 (Test case 44) (Severity: medium, Security impact: low).
vlme511d3e2004-06-14 13:53:32 +000070
vlm97986e42004-06-05 08:47:18 +0000710.8.11: 2004-Jun-05
72
vlm387ab0c2004-07-21 04:28:32 +000073 * Enforced stricter conformance with C standards.
vlme511d3e2004-06-14 13:53:32 +000074 * SEQUENCE BER decoder is now equipped with the sorted map
vlm45191f52004-06-06 07:20:37 +000075 in case of complex CHOICE descendants. Test case 44 created.
vlm97986e42004-06-05 08:47:18 +000076
vlmfa67ddc2004-06-03 03:38:44 +0000770.8.10: 2004-Jun-02
78
79 * Added const qualifier where necessary.
80 * Changed position of outmost_tag fetcher within asn1_TYPE_descriptor_t
81 structure.
82
830.8.9: 2004-May-26
84
85 * Added *_{get|set}_arcs_*() functions for OBJECT IDENTIFIER
86 and RELATIVE-OID, together with test cases.
87
880.8.8: 2004-May-09
89
90 * Introduced subtype constraints support (incomplete!).
91 * Fixed compiler. If the last member of the SEQUENCE is OPTIONAL
92 and absent in the encoding, and the type is extensible (...) or
93 EXTENSIBILITY IMPLIED flag is set, then the structure could not
94 be correctly decoded. (Severity: high, Security impact: low).
95 * Compiler: fixed recursive ASN.1 types inclusion (Severity: low,
96 Security impact: none).
97 * Parser: IMPORTS/FROM fixes, now allowing multiple sections.
98 * Code compiled and checked on PowerPC (@MacOS X). No major portability
99 issues experienced.
100
1010.8.7: 2004-Apr-11 T-version-0-8-7
102
103 * Fixed SEQUENCE BER decoder: if the last member of the SEQUENCE is
104 OPTIONAL and absent in the encoding, RC_FAIL was returned instead
105 of RC_OK (Severity: high, Security impact: low).
106 * Added test case to check the above problem.
107 * Added test case to check -fnative-integers mode.
108
1090.8.6: 2004-Apr-03 T-version-0-8-6
110
111 * Fixed compiler output for embedded ASN.1 structures.
112
1130.8.5: 2004-Mar-28 T-version-0-8-5
114
115 * Fixed ber_tlv_length() computation problem (Severity: blocker,
116 Security impact: none).
117 Reported by <vss@high.net.ru>
118
1190.8.4: 2004-Mar-22
120
121 * Removed RC_ITAG enumeration element from BER decoder.
122 This return code did not have much practical value.
123
1240.8.3: 2004-Mar-14 T-version-0-8-3
125
126 * Fixed SET::BER decoder: restart after reaching a buffer boundary
127 weas broken (Severity: blocker, Security impact: low).
128 * Fixed OCTET STRING::BER decoder: restart after reaching a buffer
129 boundary was broken (Severity: blocker, Security impact: low).
130 Reported by <vss@high.net.ru>
131 * Added test cases to check decoders restartability.
132 * Slightly more general INTEGER2long decoder.
133 * Allowed nested /* C-type */ comments, as per X.680:2002.
134
1350.8.2: 2004-Mar-01 T-version-0-8-2
136
137 * Fixed SEQUENCE BER decoder: an OPTIONAL element was required, where
138 should not have been (Severity: major; Security impact: low).
139 * Fixed print_struct pointer inheritance.
140 * Added -fno-c99 and -funnamed-unions
141
1420.8.1: 2004-Feb-22
143
144 * -R switch to asn1c: Omit support code, compile only the tables.
145 * Introduced NativeInteger pseudotype.
146 * Corrected the informal print_struct()'s output format.
147
1480.8.0: 2004-Feb-03 T-version-0-8-0
149
150 * Some documentation is created (a .pdf and a short manual page).
151 * Last touches to the code.
152
1530.7.9: 2004-Feb-01 T-version-0-7-9
154
155 * Human readable printing support.
156 * Support for implicit (standard) constraints.
157
1580.7.8: 2004-Jan-31
159
160 * SET now rejects duplicate fields in the data stream.
161
1620.7.7: 2004-Jan-25
163
164 * Added types: GeneralizedTime and UTCTime.
165
1660.7.6: 2004-Jan-24 T-version-0-7-6
167
168 * DER encoding of a SET OF now involves dynamic sorting.
169
1700.7.5: 2004-Jan-24 T-version-0-7-5
171
172 * DER encoding of a SET with untagged CHOICE
173 now involves dynamic sorting.
174
1750.7.0: 2004-Jan-19 T-version-0-7-0
176
177 * A bunch of DER encoders is implemented.
178
1790.6.6: 2004-Jan-11
180
181 * Implemented CHOICE decoder.
182 * Implemented destructors support.
183
1840.6.5: 2004-Jan-03
185
186 * Implemented SET decoder.
187 * Implemented SET OF and SEQUENCE OF decoders.
188
1890.6.4: 2003-Dec-31
190
191 * Implemented BOOLEAN, NULL, ENUMERATED decoders.
192 * Implemented OCTET STRING decoder.
193 * Implemented BIT STRING decoder.
194
1950.6: 2003-Dec-30
196
197 * First decoding of a BER-encoded structure!
198
1990.5: 2003-Dec-28
200
201 * Framework and most of the compiler backbone coding done.
202
2030.1: 2003-Nov-28
204
205 * Programming started.