blob: 6af592e0df3ac92294826c61a1f1e290943c81ab [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)
Lev Walkin99006362004-08-07 03:52:26 +00006 * Improved asn_GT2time() and added asn_time2{GT,UT}() functions.
Lev Walkinab42ef92004-07-22 12:19:42 +00007
Lev Walkinf7a6c6d2004-07-21 03:55:44 +000080.8.15: 2004-Jul-20
Lev Walkin29a62262004-07-15 10:52:58 +00009
10 * Fixed parser: memory leak in free_struct code for SET OF/SEQUENCE OF.
11 (Severity: high, Security impact: medium)
Lev Walkinc698eb82004-07-21 04:15:24 +000012 * Fixed parser: invalid memory reference in code constructing tags.
Lev Walkinf7a6c6d2004-07-21 03:55:44 +000013 (Test case 48) (Severity: high, Security impact: medium)
14 When encoding data for certain ASN.1 specifications containing
15 explicit tags, the tag is always written incorrectly due to
16 incorrect memory reference. The encoding will almost always produce
17 unparseable data and might well reference unmapped region so program
18 would produce segmentation violation. Fortunately, memory is
19 read, not written, so remote exploits cannot execute arbitrary
20 code and triggering unmapped memory reference is highly unlikely
21 even it attacker knows the code (basically, the compiler should place
22 asn1_DEF_... right before the end of the mapped memory region, which
23 is extremely rare).
Lev Walkindb13f512004-07-19 17:30:25 +000024 * Improved INTEGER type printing.
Lev Walkin29a62262004-07-15 10:52:58 +000025
Lev Walkin35631482004-07-01 00:52:50 +0000260.8.14: 2004-Jun-30
27
28 * Fixed compiler: extensibility of CHOICE and SET type has not been
29 taken into account during table construction.
30 (Test case 47) (Severity: high, Security impact: low)
31
Lev Walkind0d63f02004-06-28 21:22:20 +0000320.8.13: 2004-Jun-29
33
34 * Fixed compiler: the skip values for IMPLICIT tagging were broken
35 in some complex cases where one type is defined using another.
36 (Test case 46) (Severity: medium, Security impact: low).
37 * Added -fknown-extern-type command line parameter to asn1c.
38 * Removed -N command line flag and underlying functionality
39 to honor KISS principle.
40
Lev Walkine8826882004-06-18 00:03:54 +0000410.8.12: 2004-Jun-17
Lev Walkin715f45c2004-06-14 13:53:32 +000042
Lev Walkine8826882004-06-18 00:03:54 +000043 * RELATIVE-OID and OBJECT IDENTIFIER encoders/decoders are not bound
44 anymore to an integer type of specific size (unsigned long). The
45 size of an integer must be provided explicitly.
46 See {OBJECT_IDENTIFIER|RELATIVE_OID}_{get|set}_arcs().
Lev Walkin715f45c2004-06-14 13:53:32 +000047 * SEQUENCE BER decoder fixed again for complex CHOICE case
Lev Walkin90c408c2004-06-14 13:54:21 +000048 (Test case 44) (Severity: medium, Security impact: low).
Lev Walkin715f45c2004-06-14 13:53:32 +000049
Lev Walkin67c2aec2004-06-05 08:47:18 +0000500.8.11: 2004-Jun-05
51
Lev Walkin28551732004-07-21 04:28:32 +000052 * Enforced stricter conformance with C standards.
Lev Walkin715f45c2004-06-14 13:53:32 +000053 * SEQUENCE BER decoder is now equipped with the sorted map
Lev Walkin886e22e2004-06-06 07:20:37 +000054 in case of complex CHOICE descendants. Test case 44 created.
Lev Walkin67c2aec2004-06-05 08:47:18 +000055
Lev Walkinf15320b2004-06-03 03:38:44 +0000560.8.10: 2004-Jun-02
57
58 * Added const qualifier where necessary.
59 * Changed position of outmost_tag fetcher within asn1_TYPE_descriptor_t
60 structure.
61
620.8.9: 2004-May-26
63
64 * Added *_{get|set}_arcs_*() functions for OBJECT IDENTIFIER
65 and RELATIVE-OID, together with test cases.
66
670.8.8: 2004-May-09
68
69 * Introduced subtype constraints support (incomplete!).
70 * Fixed compiler. If the last member of the SEQUENCE is OPTIONAL
71 and absent in the encoding, and the type is extensible (...) or
72 EXTENSIBILITY IMPLIED flag is set, then the structure could not
73 be correctly decoded. (Severity: high, Security impact: low).
74 * Compiler: fixed recursive ASN.1 types inclusion (Severity: low,
75 Security impact: none).
76 * Parser: IMPORTS/FROM fixes, now allowing multiple sections.
77 * Code compiled and checked on PowerPC (@MacOS X). No major portability
78 issues experienced.
79
800.8.7: 2004-Apr-11 T-version-0-8-7
81
82 * Fixed SEQUENCE BER decoder: if the last member of the SEQUENCE is
83 OPTIONAL and absent in the encoding, RC_FAIL was returned instead
84 of RC_OK (Severity: high, Security impact: low).
85 * Added test case to check the above problem.
86 * Added test case to check -fnative-integers mode.
87
880.8.6: 2004-Apr-03 T-version-0-8-6
89
90 * Fixed compiler output for embedded ASN.1 structures.
91
920.8.5: 2004-Mar-28 T-version-0-8-5
93
94 * Fixed ber_tlv_length() computation problem (Severity: blocker,
95 Security impact: none).
96 Reported by <vss@high.net.ru>
97
980.8.4: 2004-Mar-22
99
100 * Removed RC_ITAG enumeration element from BER decoder.
101 This return code did not have much practical value.
102
1030.8.3: 2004-Mar-14 T-version-0-8-3
104
105 * Fixed SET::BER decoder: restart after reaching a buffer boundary
106 weas broken (Severity: blocker, Security impact: low).
107 * Fixed OCTET STRING::BER decoder: restart after reaching a buffer
108 boundary was broken (Severity: blocker, Security impact: low).
109 Reported by <vss@high.net.ru>
110 * Added test cases to check decoders restartability.
111 * Slightly more general INTEGER2long decoder.
112 * Allowed nested /* C-type */ comments, as per X.680:2002.
113
1140.8.2: 2004-Mar-01 T-version-0-8-2
115
116 * Fixed SEQUENCE BER decoder: an OPTIONAL element was required, where
117 should not have been (Severity: major; Security impact: low).
118 * Fixed print_struct pointer inheritance.
119 * Added -fno-c99 and -funnamed-unions
120
1210.8.1: 2004-Feb-22
122
123 * -R switch to asn1c: Omit support code, compile only the tables.
124 * Introduced NativeInteger pseudotype.
125 * Corrected the informal print_struct()'s output format.
126
1270.8.0: 2004-Feb-03 T-version-0-8-0
128
129 * Some documentation is created (a .pdf and a short manual page).
130 * Last touches to the code.
131
1320.7.9: 2004-Feb-01 T-version-0-7-9
133
134 * Human readable printing support.
135 * Support for implicit (standard) constraints.
136
1370.7.8: 2004-Jan-31
138
139 * SET now rejects duplicate fields in the data stream.
140
1410.7.7: 2004-Jan-25
142
143 * Added types: GeneralizedTime and UTCTime.
144
1450.7.6: 2004-Jan-24 T-version-0-7-6
146
147 * DER encoding of a SET OF now involves dynamic sorting.
148
1490.7.5: 2004-Jan-24 T-version-0-7-5
150
151 * DER encoding of a SET with untagged CHOICE
152 now involves dynamic sorting.
153
1540.7.0: 2004-Jan-19 T-version-0-7-0
155
156 * A bunch of DER encoders is implemented.
157
1580.6.6: 2004-Jan-11
159
160 * Implemented CHOICE decoder.
161 * Implemented destructors support.
162
1630.6.5: 2004-Jan-03
164
165 * Implemented SET decoder.
166 * Implemented SET OF and SEQUENCE OF decoders.
167
1680.6.4: 2003-Dec-31
169
170 * Implemented BOOLEAN, NULL, ENUMERATED decoders.
171 * Implemented OCTET STRING decoder.
172 * Implemented BIT STRING decoder.
173
1740.6: 2003-Dec-30
175
176 * First decoding of a BER-encoded structure!
177
1780.5: 2003-Dec-28
179
180 * Framework and most of the compiler backbone coding done.
181
1820.1: 2003-Nov-28
183
184 * Programming started.