blob: d1371bf56c0bc78cf5d5d2f9621c203fd50c27e6 [file] [log] [blame]
Lev Walkinf15320b2004-06-03 03:38:44 +00001
Lev Walkinab42ef92004-07-22 12:19:42 +000020.8.16: 2004-Jul-22
3
4 * Fixed application-level problem in SET OF/SEQUENCE OF array cleanup.
5 (Severity: medium, Security impact: low)
6
Lev Walkinf7a6c6d2004-07-21 03:55:44 +000070.8.15: 2004-Jul-20
Lev Walkin29a62262004-07-15 10:52:58 +00008
9 * Fixed parser: memory leak in free_struct code for SET OF/SEQUENCE OF.
10 (Severity: high, Security impact: medium)
Lev Walkinc698eb82004-07-21 04:15:24 +000011 * Fixed parser: invalid memory reference in code constructing tags.
Lev Walkinf7a6c6d2004-07-21 03:55:44 +000012 (Test case 48) (Severity: high, Security impact: medium)
13 When encoding data for certain ASN.1 specifications containing
14 explicit tags, the tag is always written incorrectly due to
15 incorrect memory reference. The encoding will almost always produce
16 unparseable data and might well reference unmapped region so program
17 would produce segmentation violation. Fortunately, memory is
18 read, not written, so remote exploits cannot execute arbitrary
19 code and triggering unmapped memory reference is highly unlikely
20 even it attacker knows the code (basically, the compiler should place
21 asn1_DEF_... right before the end of the mapped memory region, which
22 is extremely rare).
Lev Walkindb13f512004-07-19 17:30:25 +000023 * Improved INTEGER type printing.
Lev Walkin29a62262004-07-15 10:52:58 +000024
Lev Walkin35631482004-07-01 00:52:50 +0000250.8.14: 2004-Jun-30
26
27 * Fixed compiler: extensibility of CHOICE and SET type has not been
28 taken into account during table construction.
29 (Test case 47) (Severity: high, Security impact: low)
30
Lev Walkind0d63f02004-06-28 21:22:20 +0000310.8.13: 2004-Jun-29
32
33 * Fixed compiler: the skip values for IMPLICIT tagging were broken
34 in some complex cases where one type is defined using another.
35 (Test case 46) (Severity: medium, Security impact: low).
36 * Added -fknown-extern-type command line parameter to asn1c.
37 * Removed -N command line flag and underlying functionality
38 to honor KISS principle.
39
Lev Walkine8826882004-06-18 00:03:54 +0000400.8.12: 2004-Jun-17
Lev Walkin715f45c2004-06-14 13:53:32 +000041
Lev Walkine8826882004-06-18 00:03:54 +000042 * RELATIVE-OID and OBJECT IDENTIFIER encoders/decoders are not bound
43 anymore to an integer type of specific size (unsigned long). The
44 size of an integer must be provided explicitly.
45 See {OBJECT_IDENTIFIER|RELATIVE_OID}_{get|set}_arcs().
Lev Walkin715f45c2004-06-14 13:53:32 +000046 * SEQUENCE BER decoder fixed again for complex CHOICE case
Lev Walkin90c408c2004-06-14 13:54:21 +000047 (Test case 44) (Severity: medium, Security impact: low).
Lev Walkin715f45c2004-06-14 13:53:32 +000048
Lev Walkin67c2aec2004-06-05 08:47:18 +0000490.8.11: 2004-Jun-05
50
Lev Walkin28551732004-07-21 04:28:32 +000051 * Enforced stricter conformance with C standards.
Lev Walkin715f45c2004-06-14 13:53:32 +000052 * SEQUENCE BER decoder is now equipped with the sorted map
Lev Walkin886e22e2004-06-06 07:20:37 +000053 in case of complex CHOICE descendants. Test case 44 created.
Lev Walkin67c2aec2004-06-05 08:47:18 +000054
Lev Walkinf15320b2004-06-03 03:38:44 +0000550.8.10: 2004-Jun-02
56
57 * Added const qualifier where necessary.
58 * Changed position of outmost_tag fetcher within asn1_TYPE_descriptor_t
59 structure.
60
610.8.9: 2004-May-26
62
63 * Added *_{get|set}_arcs_*() functions for OBJECT IDENTIFIER
64 and RELATIVE-OID, together with test cases.
65
660.8.8: 2004-May-09
67
68 * Introduced subtype constraints support (incomplete!).
69 * Fixed compiler. If the last member of the SEQUENCE is OPTIONAL
70 and absent in the encoding, and the type is extensible (...) or
71 EXTENSIBILITY IMPLIED flag is set, then the structure could not
72 be correctly decoded. (Severity: high, Security impact: low).
73 * Compiler: fixed recursive ASN.1 types inclusion (Severity: low,
74 Security impact: none).
75 * Parser: IMPORTS/FROM fixes, now allowing multiple sections.
76 * Code compiled and checked on PowerPC (@MacOS X). No major portability
77 issues experienced.
78
790.8.7: 2004-Apr-11 T-version-0-8-7
80
81 * Fixed SEQUENCE BER decoder: if the last member of the SEQUENCE is
82 OPTIONAL and absent in the encoding, RC_FAIL was returned instead
83 of RC_OK (Severity: high, Security impact: low).
84 * Added test case to check the above problem.
85 * Added test case to check -fnative-integers mode.
86
870.8.6: 2004-Apr-03 T-version-0-8-6
88
89 * Fixed compiler output for embedded ASN.1 structures.
90
910.8.5: 2004-Mar-28 T-version-0-8-5
92
93 * Fixed ber_tlv_length() computation problem (Severity: blocker,
94 Security impact: none).
95 Reported by <vss@high.net.ru>
96
970.8.4: 2004-Mar-22
98
99 * Removed RC_ITAG enumeration element from BER decoder.
100 This return code did not have much practical value.
101
1020.8.3: 2004-Mar-14 T-version-0-8-3
103
104 * Fixed SET::BER decoder: restart after reaching a buffer boundary
105 weas broken (Severity: blocker, Security impact: low).
106 * Fixed OCTET STRING::BER decoder: restart after reaching a buffer
107 boundary was broken (Severity: blocker, Security impact: low).
108 Reported by <vss@high.net.ru>
109 * Added test cases to check decoders restartability.
110 * Slightly more general INTEGER2long decoder.
111 * Allowed nested /* C-type */ comments, as per X.680:2002.
112
1130.8.2: 2004-Mar-01 T-version-0-8-2
114
115 * Fixed SEQUENCE BER decoder: an OPTIONAL element was required, where
116 should not have been (Severity: major; Security impact: low).
117 * Fixed print_struct pointer inheritance.
118 * Added -fno-c99 and -funnamed-unions
119
1200.8.1: 2004-Feb-22
121
122 * -R switch to asn1c: Omit support code, compile only the tables.
123 * Introduced NativeInteger pseudotype.
124 * Corrected the informal print_struct()'s output format.
125
1260.8.0: 2004-Feb-03 T-version-0-8-0
127
128 * Some documentation is created (a .pdf and a short manual page).
129 * Last touches to the code.
130
1310.7.9: 2004-Feb-01 T-version-0-7-9
132
133 * Human readable printing support.
134 * Support for implicit (standard) constraints.
135
1360.7.8: 2004-Jan-31
137
138 * SET now rejects duplicate fields in the data stream.
139
1400.7.7: 2004-Jan-25
141
142 * Added types: GeneralizedTime and UTCTime.
143
1440.7.6: 2004-Jan-24 T-version-0-7-6
145
146 * DER encoding of a SET OF now involves dynamic sorting.
147
1480.7.5: 2004-Jan-24 T-version-0-7-5
149
150 * DER encoding of a SET with untagged CHOICE
151 now involves dynamic sorting.
152
1530.7.0: 2004-Jan-19 T-version-0-7-0
154
155 * A bunch of DER encoders is implemented.
156
1570.6.6: 2004-Jan-11
158
159 * Implemented CHOICE decoder.
160 * Implemented destructors support.
161
1620.6.5: 2004-Jan-03
163
164 * Implemented SET decoder.
165 * Implemented SET OF and SEQUENCE OF decoders.
166
1670.6.4: 2003-Dec-31
168
169 * Implemented BOOLEAN, NULL, ENUMERATED decoders.
170 * Implemented OCTET STRING decoder.
171 * Implemented BIT STRING decoder.
172
1730.6: 2003-Dec-30
174
175 * First decoding of a BER-encoded structure!
176
1770.5: 2003-Dec-28
178
179 * Framework and most of the compiler backbone coding done.
180
1810.1: 2003-Nov-28
182
183 * Programming started.