blob: d605eaf197095b1124c677cde0583b4778f18c73 [file] [log] [blame]
Lev Walkinf15320b2004-06-03 03:38:44 +00001
Lev Walkind8b940c2004-08-11 05:35:51 +000020.8.17: 2004-Aug-10
3
4 * Improved compiler output: duplicate #includes eliminated.
5
Lev Walkinab42ef92004-07-22 12:19:42 +000060.8.16: 2004-Jul-22
7
8 * Fixed application-level problem in SET OF/SEQUENCE OF array cleanup.
9 (Severity: medium, Security impact: low)
Lev Walkin99006362004-08-07 03:52:26 +000010 * Improved asn_GT2time() and added asn_time2{GT,UT}() functions.
Lev Walkinf5dda9c2004-08-07 05:01:45 +000011 * BIT STRING pretty-printing.
Lev Walkinab42ef92004-07-22 12:19:42 +000012
Lev Walkinf7a6c6d2004-07-21 03:55:44 +0000130.8.15: 2004-Jul-20
Lev Walkin29a62262004-07-15 10:52:58 +000014
15 * Fixed parser: memory leak in free_struct code for SET OF/SEQUENCE OF.
16 (Severity: high, Security impact: medium)
Lev Walkinc698eb82004-07-21 04:15:24 +000017 * Fixed parser: invalid memory reference in code constructing tags.
Lev Walkinf7a6c6d2004-07-21 03:55:44 +000018 (Test case 48) (Severity: high, Security impact: medium)
19 When encoding data for certain ASN.1 specifications containing
20 explicit tags, the tag is always written incorrectly due to
21 incorrect memory reference. The encoding will almost always produce
22 unparseable data and might well reference unmapped region so program
23 would produce segmentation violation. Fortunately, memory is
24 read, not written, so remote exploits cannot execute arbitrary
25 code and triggering unmapped memory reference is highly unlikely
26 even it attacker knows the code (basically, the compiler should place
27 asn1_DEF_... right before the end of the mapped memory region, which
28 is extremely rare).
Lev Walkindb13f512004-07-19 17:30:25 +000029 * Improved INTEGER type printing.
Lev Walkin29a62262004-07-15 10:52:58 +000030
Lev Walkin35631482004-07-01 00:52:50 +0000310.8.14: 2004-Jun-30
32
33 * Fixed compiler: extensibility of CHOICE and SET type has not been
34 taken into account during table construction.
35 (Test case 47) (Severity: high, Security impact: low)
36
Lev Walkind0d63f02004-06-28 21:22:20 +0000370.8.13: 2004-Jun-29
38
39 * Fixed compiler: the skip values for IMPLICIT tagging were broken
40 in some complex cases where one type is defined using another.
41 (Test case 46) (Severity: medium, Security impact: low).
42 * Added -fknown-extern-type command line parameter to asn1c.
43 * Removed -N command line flag and underlying functionality
44 to honor KISS principle.
45
Lev Walkine8826882004-06-18 00:03:54 +0000460.8.12: 2004-Jun-17
Lev Walkin715f45c2004-06-14 13:53:32 +000047
Lev Walkine8826882004-06-18 00:03:54 +000048 * RELATIVE-OID and OBJECT IDENTIFIER encoders/decoders are not bound
49 anymore to an integer type of specific size (unsigned long). The
50 size of an integer must be provided explicitly.
51 See {OBJECT_IDENTIFIER|RELATIVE_OID}_{get|set}_arcs().
Lev Walkin715f45c2004-06-14 13:53:32 +000052 * SEQUENCE BER decoder fixed again for complex CHOICE case
Lev Walkin90c408c2004-06-14 13:54:21 +000053 (Test case 44) (Severity: medium, Security impact: low).
Lev Walkin715f45c2004-06-14 13:53:32 +000054
Lev Walkin67c2aec2004-06-05 08:47:18 +0000550.8.11: 2004-Jun-05
56
Lev Walkin28551732004-07-21 04:28:32 +000057 * Enforced stricter conformance with C standards.
Lev Walkin715f45c2004-06-14 13:53:32 +000058 * SEQUENCE BER decoder is now equipped with the sorted map
Lev Walkin886e22e2004-06-06 07:20:37 +000059 in case of complex CHOICE descendants. Test case 44 created.
Lev Walkin67c2aec2004-06-05 08:47:18 +000060
Lev Walkinf15320b2004-06-03 03:38:44 +0000610.8.10: 2004-Jun-02
62
63 * Added const qualifier where necessary.
64 * Changed position of outmost_tag fetcher within asn1_TYPE_descriptor_t
65 structure.
66
670.8.9: 2004-May-26
68
69 * Added *_{get|set}_arcs_*() functions for OBJECT IDENTIFIER
70 and RELATIVE-OID, together with test cases.
71
720.8.8: 2004-May-09
73
74 * Introduced subtype constraints support (incomplete!).
75 * Fixed compiler. If the last member of the SEQUENCE is OPTIONAL
76 and absent in the encoding, and the type is extensible (...) or
77 EXTENSIBILITY IMPLIED flag is set, then the structure could not
78 be correctly decoded. (Severity: high, Security impact: low).
79 * Compiler: fixed recursive ASN.1 types inclusion (Severity: low,
80 Security impact: none).
81 * Parser: IMPORTS/FROM fixes, now allowing multiple sections.
82 * Code compiled and checked on PowerPC (@MacOS X). No major portability
83 issues experienced.
84
850.8.7: 2004-Apr-11 T-version-0-8-7
86
87 * Fixed SEQUENCE BER decoder: if the last member of the SEQUENCE is
88 OPTIONAL and absent in the encoding, RC_FAIL was returned instead
89 of RC_OK (Severity: high, Security impact: low).
90 * Added test case to check the above problem.
91 * Added test case to check -fnative-integers mode.
92
930.8.6: 2004-Apr-03 T-version-0-8-6
94
95 * Fixed compiler output for embedded ASN.1 structures.
96
970.8.5: 2004-Mar-28 T-version-0-8-5
98
99 * Fixed ber_tlv_length() computation problem (Severity: blocker,
100 Security impact: none).
101 Reported by <vss@high.net.ru>
102
1030.8.4: 2004-Mar-22
104
105 * Removed RC_ITAG enumeration element from BER decoder.
106 This return code did not have much practical value.
107
1080.8.3: 2004-Mar-14 T-version-0-8-3
109
110 * Fixed SET::BER decoder: restart after reaching a buffer boundary
111 weas broken (Severity: blocker, Security impact: low).
112 * Fixed OCTET STRING::BER decoder: restart after reaching a buffer
113 boundary was broken (Severity: blocker, Security impact: low).
114 Reported by <vss@high.net.ru>
115 * Added test cases to check decoders restartability.
116 * Slightly more general INTEGER2long decoder.
117 * Allowed nested /* C-type */ comments, as per X.680:2002.
118
1190.8.2: 2004-Mar-01 T-version-0-8-2
120
121 * Fixed SEQUENCE BER decoder: an OPTIONAL element was required, where
122 should not have been (Severity: major; Security impact: low).
123 * Fixed print_struct pointer inheritance.
124 * Added -fno-c99 and -funnamed-unions
125
1260.8.1: 2004-Feb-22
127
128 * -R switch to asn1c: Omit support code, compile only the tables.
129 * Introduced NativeInteger pseudotype.
130 * Corrected the informal print_struct()'s output format.
131
1320.8.0: 2004-Feb-03 T-version-0-8-0
133
134 * Some documentation is created (a .pdf and a short manual page).
135 * Last touches to the code.
136
1370.7.9: 2004-Feb-01 T-version-0-7-9
138
139 * Human readable printing support.
140 * Support for implicit (standard) constraints.
141
1420.7.8: 2004-Jan-31
143
144 * SET now rejects duplicate fields in the data stream.
145
1460.7.7: 2004-Jan-25
147
148 * Added types: GeneralizedTime and UTCTime.
149
1500.7.6: 2004-Jan-24 T-version-0-7-6
151
152 * DER encoding of a SET OF now involves dynamic sorting.
153
1540.7.5: 2004-Jan-24 T-version-0-7-5
155
156 * DER encoding of a SET with untagged CHOICE
157 now involves dynamic sorting.
158
1590.7.0: 2004-Jan-19 T-version-0-7-0
160
161 * A bunch of DER encoders is implemented.
162
1630.6.6: 2004-Jan-11
164
165 * Implemented CHOICE decoder.
166 * Implemented destructors support.
167
1680.6.5: 2004-Jan-03
169
170 * Implemented SET decoder.
171 * Implemented SET OF and SEQUENCE OF decoders.
172
1730.6.4: 2003-Dec-31
174
175 * Implemented BOOLEAN, NULL, ENUMERATED decoders.
176 * Implemented OCTET STRING decoder.
177 * Implemented BIT STRING decoder.
178
1790.6: 2003-Dec-30
180
181 * First decoding of a BER-encoded structure!
182
1830.5: 2003-Dec-28
184
185 * Framework and most of the compiler backbone coding done.
186
1870.1: 2003-Nov-28
188
189 * Programming started.