blob: 936f02c619272ac6eefa089265ff152f4a32ea65 [file] [log] [blame]
Lev Walkinf15320b2004-06-03 03:38:44 +00001
Lev Walkin64399722004-08-11 07:17:22 +000020.8.17: 2004-Aug-11
Lev Walkind8b940c2004-08-11 05:35:51 +00003
4 * Improved compiler output: duplicate #includes eliminated.
Lev Walkin64399722004-08-11 07:17:22 +00005 * Win32 portability fixes.
Lev Walkin3af51b42004-08-11 08:11:50 +00006 * More compatibility with C++ or non-GCC compilers.
Lev Walkind8b940c2004-08-11 05:35:51 +00007
Lev Walkinab42ef92004-07-22 12:19:42 +000080.8.16: 2004-Jul-22
9
10 * Fixed application-level problem in SET OF/SEQUENCE OF array cleanup.
11 (Severity: medium, Security impact: low)
Lev Walkin99006362004-08-07 03:52:26 +000012 * Improved asn_GT2time() and added asn_time2{GT,UT}() functions.
Lev Walkinf5dda9c2004-08-07 05:01:45 +000013 * BIT STRING pretty-printing.
Lev Walkinab42ef92004-07-22 12:19:42 +000014
Lev Walkinf7a6c6d2004-07-21 03:55:44 +0000150.8.15: 2004-Jul-20
Lev Walkin29a62262004-07-15 10:52:58 +000016
17 * Fixed parser: memory leak in free_struct code for SET OF/SEQUENCE OF.
18 (Severity: high, Security impact: medium)
Lev Walkinc698eb82004-07-21 04:15:24 +000019 * Fixed parser: invalid memory reference in code constructing tags.
Lev Walkinf7a6c6d2004-07-21 03:55:44 +000020 (Test case 48) (Severity: high, Security impact: medium)
21 When encoding data for certain ASN.1 specifications containing
22 explicit tags, the tag is always written incorrectly due to
23 incorrect memory reference. The encoding will almost always produce
24 unparseable data and might well reference unmapped region so program
25 would produce segmentation violation. Fortunately, memory is
26 read, not written, so remote exploits cannot execute arbitrary
27 code and triggering unmapped memory reference is highly unlikely
28 even it attacker knows the code (basically, the compiler should place
29 asn1_DEF_... right before the end of the mapped memory region, which
30 is extremely rare).
Lev Walkindb13f512004-07-19 17:30:25 +000031 * Improved INTEGER type printing.
Lev Walkin29a62262004-07-15 10:52:58 +000032
Lev Walkin35631482004-07-01 00:52:50 +0000330.8.14: 2004-Jun-30
34
35 * Fixed compiler: extensibility of CHOICE and SET type has not been
36 taken into account during table construction.
37 (Test case 47) (Severity: high, Security impact: low)
38
Lev Walkind0d63f02004-06-28 21:22:20 +0000390.8.13: 2004-Jun-29
40
41 * Fixed compiler: the skip values for IMPLICIT tagging were broken
42 in some complex cases where one type is defined using another.
43 (Test case 46) (Severity: medium, Security impact: low).
44 * Added -fknown-extern-type command line parameter to asn1c.
45 * Removed -N command line flag and underlying functionality
46 to honor KISS principle.
47
Lev Walkine8826882004-06-18 00:03:54 +0000480.8.12: 2004-Jun-17
Lev Walkin715f45c2004-06-14 13:53:32 +000049
Lev Walkine8826882004-06-18 00:03:54 +000050 * RELATIVE-OID and OBJECT IDENTIFIER encoders/decoders are not bound
51 anymore to an integer type of specific size (unsigned long). The
52 size of an integer must be provided explicitly.
53 See {OBJECT_IDENTIFIER|RELATIVE_OID}_{get|set}_arcs().
Lev Walkin715f45c2004-06-14 13:53:32 +000054 * SEQUENCE BER decoder fixed again for complex CHOICE case
Lev Walkin90c408c2004-06-14 13:54:21 +000055 (Test case 44) (Severity: medium, Security impact: low).
Lev Walkin715f45c2004-06-14 13:53:32 +000056
Lev Walkin67c2aec2004-06-05 08:47:18 +0000570.8.11: 2004-Jun-05
58
Lev Walkin28551732004-07-21 04:28:32 +000059 * Enforced stricter conformance with C standards.
Lev Walkin715f45c2004-06-14 13:53:32 +000060 * SEQUENCE BER decoder is now equipped with the sorted map
Lev Walkin886e22e2004-06-06 07:20:37 +000061 in case of complex CHOICE descendants. Test case 44 created.
Lev Walkin67c2aec2004-06-05 08:47:18 +000062
Lev Walkinf15320b2004-06-03 03:38:44 +0000630.8.10: 2004-Jun-02
64
65 * Added const qualifier where necessary.
66 * Changed position of outmost_tag fetcher within asn1_TYPE_descriptor_t
67 structure.
68
690.8.9: 2004-May-26
70
71 * Added *_{get|set}_arcs_*() functions for OBJECT IDENTIFIER
72 and RELATIVE-OID, together with test cases.
73
740.8.8: 2004-May-09
75
76 * Introduced subtype constraints support (incomplete!).
77 * Fixed compiler. If the last member of the SEQUENCE is OPTIONAL
78 and absent in the encoding, and the type is extensible (...) or
79 EXTENSIBILITY IMPLIED flag is set, then the structure could not
80 be correctly decoded. (Severity: high, Security impact: low).
81 * Compiler: fixed recursive ASN.1 types inclusion (Severity: low,
82 Security impact: none).
83 * Parser: IMPORTS/FROM fixes, now allowing multiple sections.
84 * Code compiled and checked on PowerPC (@MacOS X). No major portability
85 issues experienced.
86
870.8.7: 2004-Apr-11 T-version-0-8-7
88
89 * Fixed SEQUENCE BER decoder: if the last member of the SEQUENCE is
90 OPTIONAL and absent in the encoding, RC_FAIL was returned instead
91 of RC_OK (Severity: high, Security impact: low).
92 * Added test case to check the above problem.
93 * Added test case to check -fnative-integers mode.
94
950.8.6: 2004-Apr-03 T-version-0-8-6
96
97 * Fixed compiler output for embedded ASN.1 structures.
98
990.8.5: 2004-Mar-28 T-version-0-8-5
100
101 * Fixed ber_tlv_length() computation problem (Severity: blocker,
102 Security impact: none).
103 Reported by <vss@high.net.ru>
104
1050.8.4: 2004-Mar-22
106
107 * Removed RC_ITAG enumeration element from BER decoder.
108 This return code did not have much practical value.
109
1100.8.3: 2004-Mar-14 T-version-0-8-3
111
112 * Fixed SET::BER decoder: restart after reaching a buffer boundary
113 weas broken (Severity: blocker, Security impact: low).
114 * Fixed OCTET STRING::BER decoder: restart after reaching a buffer
115 boundary was broken (Severity: blocker, Security impact: low).
116 Reported by <vss@high.net.ru>
117 * Added test cases to check decoders restartability.
118 * Slightly more general INTEGER2long decoder.
119 * Allowed nested /* C-type */ comments, as per X.680:2002.
120
1210.8.2: 2004-Mar-01 T-version-0-8-2
122
123 * Fixed SEQUENCE BER decoder: an OPTIONAL element was required, where
124 should not have been (Severity: major; Security impact: low).
125 * Fixed print_struct pointer inheritance.
126 * Added -fno-c99 and -funnamed-unions
127
1280.8.1: 2004-Feb-22
129
130 * -R switch to asn1c: Omit support code, compile only the tables.
131 * Introduced NativeInteger pseudotype.
132 * Corrected the informal print_struct()'s output format.
133
1340.8.0: 2004-Feb-03 T-version-0-8-0
135
136 * Some documentation is created (a .pdf and a short manual page).
137 * Last touches to the code.
138
1390.7.9: 2004-Feb-01 T-version-0-7-9
140
141 * Human readable printing support.
142 * Support for implicit (standard) constraints.
143
1440.7.8: 2004-Jan-31
145
146 * SET now rejects duplicate fields in the data stream.
147
1480.7.7: 2004-Jan-25
149
150 * Added types: GeneralizedTime and UTCTime.
151
1520.7.6: 2004-Jan-24 T-version-0-7-6
153
154 * DER encoding of a SET OF now involves dynamic sorting.
155
1560.7.5: 2004-Jan-24 T-version-0-7-5
157
158 * DER encoding of a SET with untagged CHOICE
159 now involves dynamic sorting.
160
1610.7.0: 2004-Jan-19 T-version-0-7-0
162
163 * A bunch of DER encoders is implemented.
164
1650.6.6: 2004-Jan-11
166
167 * Implemented CHOICE decoder.
168 * Implemented destructors support.
169
1700.6.5: 2004-Jan-03
171
172 * Implemented SET decoder.
173 * Implemented SET OF and SEQUENCE OF decoders.
174
1750.6.4: 2003-Dec-31
176
177 * Implemented BOOLEAN, NULL, ENUMERATED decoders.
178 * Implemented OCTET STRING decoder.
179 * Implemented BIT STRING decoder.
180
1810.6: 2003-Dec-30
182
183 * First decoding of a BER-encoded structure!
184
1850.5: 2003-Dec-28
186
187 * Framework and most of the compiler backbone coding done.
188
1890.1: 2003-Nov-28
190
191 * Programming started.