blob: da492e2e2a3a1487cfbf73736e6bd2df2c636215 [file] [log] [blame]
vlmfa67ddc2004-06-03 03:38:44 +00001
vlm972a5382004-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)
vlm81057a82004-08-07 03:52:26 +00006 * Improved asn_GT2time() and added asn_time2{GT,UT}() functions.
vlm49b511a2004-08-07 05:01:45 +00007 * BIT STRING pretty-printing.
vlm972a5382004-07-22 12:19:42 +00008
vlm796c1da2004-07-21 03:55:44 +000090.8.15: 2004-Jul-20
vlmf0769b42004-07-15 10:52:58 +000010
11 * Fixed parser: memory leak in free_struct code for SET OF/SEQUENCE OF.
12 (Severity: high, Security impact: medium)
vlmde1d8f72004-07-21 04:15:24 +000013 * Fixed parser: invalid memory reference in code constructing tags.
vlm796c1da2004-07-21 03:55:44 +000014 (Test case 48) (Severity: high, Security impact: medium)
15 When encoding data for certain ASN.1 specifications containing
16 explicit tags, the tag is always written incorrectly due to
17 incorrect memory reference. The encoding will almost always produce
18 unparseable data and might well reference unmapped region so program
19 would produce segmentation violation. Fortunately, memory is
20 read, not written, so remote exploits cannot execute arbitrary
21 code and triggering unmapped memory reference is highly unlikely
22 even it attacker knows the code (basically, the compiler should place
23 asn1_DEF_... right before the end of the mapped memory region, which
24 is extremely rare).
vlm7d278c42004-07-19 17:30:25 +000025 * Improved INTEGER type printing.
vlmf0769b42004-07-15 10:52:58 +000026
vlm79b08d52004-07-01 00:52:50 +0000270.8.14: 2004-Jun-30
28
29 * Fixed compiler: extensibility of CHOICE and SET type has not been
30 taken into account during table construction.
31 (Test case 47) (Severity: high, Security impact: low)
32
vlm65328a82004-06-28 21:22:20 +0000330.8.13: 2004-Jun-29
34
35 * Fixed compiler: the skip values for IMPLICIT tagging were broken
36 in some complex cases where one type is defined using another.
37 (Test case 46) (Severity: medium, Security impact: low).
38 * Added -fknown-extern-type command line parameter to asn1c.
39 * Removed -N command line flag and underlying functionality
40 to honor KISS principle.
41
vlmd315be52004-06-18 00:03:54 +0000420.8.12: 2004-Jun-17
vlme511d3e2004-06-14 13:53:32 +000043
vlmd315be52004-06-18 00:03:54 +000044 * RELATIVE-OID and OBJECT IDENTIFIER encoders/decoders are not bound
45 anymore to an integer type of specific size (unsigned long). The
46 size of an integer must be provided explicitly.
47 See {OBJECT_IDENTIFIER|RELATIVE_OID}_{get|set}_arcs().
vlme511d3e2004-06-14 13:53:32 +000048 * SEQUENCE BER decoder fixed again for complex CHOICE case
vlm23ea2c72004-06-14 13:54:21 +000049 (Test case 44) (Severity: medium, Security impact: low).
vlme511d3e2004-06-14 13:53:32 +000050
vlm97986e42004-06-05 08:47:18 +0000510.8.11: 2004-Jun-05
52
vlm387ab0c2004-07-21 04:28:32 +000053 * Enforced stricter conformance with C standards.
vlme511d3e2004-06-14 13:53:32 +000054 * SEQUENCE BER decoder is now equipped with the sorted map
vlm45191f52004-06-06 07:20:37 +000055 in case of complex CHOICE descendants. Test case 44 created.
vlm97986e42004-06-05 08:47:18 +000056
vlmfa67ddc2004-06-03 03:38:44 +0000570.8.10: 2004-Jun-02
58
59 * Added const qualifier where necessary.
60 * Changed position of outmost_tag fetcher within asn1_TYPE_descriptor_t
61 structure.
62
630.8.9: 2004-May-26
64
65 * Added *_{get|set}_arcs_*() functions for OBJECT IDENTIFIER
66 and RELATIVE-OID, together with test cases.
67
680.8.8: 2004-May-09
69
70 * Introduced subtype constraints support (incomplete!).
71 * Fixed compiler. If the last member of the SEQUENCE is OPTIONAL
72 and absent in the encoding, and the type is extensible (...) or
73 EXTENSIBILITY IMPLIED flag is set, then the structure could not
74 be correctly decoded. (Severity: high, Security impact: low).
75 * Compiler: fixed recursive ASN.1 types inclusion (Severity: low,
76 Security impact: none).
77 * Parser: IMPORTS/FROM fixes, now allowing multiple sections.
78 * Code compiled and checked on PowerPC (@MacOS X). No major portability
79 issues experienced.
80
810.8.7: 2004-Apr-11 T-version-0-8-7
82
83 * Fixed SEQUENCE BER decoder: if the last member of the SEQUENCE is
84 OPTIONAL and absent in the encoding, RC_FAIL was returned instead
85 of RC_OK (Severity: high, Security impact: low).
86 * Added test case to check the above problem.
87 * Added test case to check -fnative-integers mode.
88
890.8.6: 2004-Apr-03 T-version-0-8-6
90
91 * Fixed compiler output for embedded ASN.1 structures.
92
930.8.5: 2004-Mar-28 T-version-0-8-5
94
95 * Fixed ber_tlv_length() computation problem (Severity: blocker,
96 Security impact: none).
97 Reported by <vss@high.net.ru>
98
990.8.4: 2004-Mar-22
100
101 * Removed RC_ITAG enumeration element from BER decoder.
102 This return code did not have much practical value.
103
1040.8.3: 2004-Mar-14 T-version-0-8-3
105
106 * Fixed SET::BER decoder: restart after reaching a buffer boundary
107 weas broken (Severity: blocker, Security impact: low).
108 * Fixed OCTET STRING::BER decoder: restart after reaching a buffer
109 boundary was broken (Severity: blocker, Security impact: low).
110 Reported by <vss@high.net.ru>
111 * Added test cases to check decoders restartability.
112 * Slightly more general INTEGER2long decoder.
113 * Allowed nested /* C-type */ comments, as per X.680:2002.
114
1150.8.2: 2004-Mar-01 T-version-0-8-2
116
117 * Fixed SEQUENCE BER decoder: an OPTIONAL element was required, where
118 should not have been (Severity: major; Security impact: low).
119 * Fixed print_struct pointer inheritance.
120 * Added -fno-c99 and -funnamed-unions
121
1220.8.1: 2004-Feb-22
123
124 * -R switch to asn1c: Omit support code, compile only the tables.
125 * Introduced NativeInteger pseudotype.
126 * Corrected the informal print_struct()'s output format.
127
1280.8.0: 2004-Feb-03 T-version-0-8-0
129
130 * Some documentation is created (a .pdf and a short manual page).
131 * Last touches to the code.
132
1330.7.9: 2004-Feb-01 T-version-0-7-9
134
135 * Human readable printing support.
136 * Support for implicit (standard) constraints.
137
1380.7.8: 2004-Jan-31
139
140 * SET now rejects duplicate fields in the data stream.
141
1420.7.7: 2004-Jan-25
143
144 * Added types: GeneralizedTime and UTCTime.
145
1460.7.6: 2004-Jan-24 T-version-0-7-6
147
148 * DER encoding of a SET OF now involves dynamic sorting.
149
1500.7.5: 2004-Jan-24 T-version-0-7-5
151
152 * DER encoding of a SET with untagged CHOICE
153 now involves dynamic sorting.
154
1550.7.0: 2004-Jan-19 T-version-0-7-0
156
157 * A bunch of DER encoders is implemented.
158
1590.6.6: 2004-Jan-11
160
161 * Implemented CHOICE decoder.
162 * Implemented destructors support.
163
1640.6.5: 2004-Jan-03
165
166 * Implemented SET decoder.
167 * Implemented SET OF and SEQUENCE OF decoders.
168
1690.6.4: 2003-Dec-31
170
171 * Implemented BOOLEAN, NULL, ENUMERATED decoders.
172 * Implemented OCTET STRING decoder.
173 * Implemented BIT STRING decoder.
174
1750.6: 2003-Dec-30
176
177 * First decoding of a BER-encoded structure!
178
1790.5: 2003-Dec-28
180
181 * Framework and most of the compiler backbone coding done.
182
1830.1: 2003-Nov-28
184
185 * Programming started.