blob: cf3cff8edcd25a6ce9d931ec4538c94d790adb96 [file] [log] [blame]
Lev Walkinf15320b2004-06-03 03:38:44 +00001
Lev Walkinfa9bb6d2017-03-26 03:48:43 -070020.9.??:
Lev Walkin08637ac2017-05-05 03:33:21 -07003 * Added LTE RRC example (Bi-Ruei, Chiu).
Lev Walkinfa9bb6d2017-03-26 03:48:43 -07004
Lev Walkin792b22b2017-03-26 03:29:55 -070050.9.28: 2017-03-26
Lev Walkinc644d992015-09-14 13:45:36 -07006 * PER decoding: avoid memory leak on error. By github.com/simo5
Lev Walkin108d4f92014-10-12 18:58:14 -07007 * Constness patch #46 by Wim L <wiml@omnigroup.com> (41bbf1c..78d604f).
Lev Walkina1e5b9d2015-09-14 12:50:42 -07008 Build issues:
9 * Fixed generated file permissions introduced by earlier pull (issue/32).
Lev Walkin108d4f92014-10-12 18:58:14 -070010 * Win32/MinGW patch #31 by Frank Morgner (frankmorgner).
Lev Walkina1e5b9d2015-09-14 12:50:42 -070011 * Autoreconf fix patch by Dave Cridland (github.com/dwd)
12 * Fix autoreconf-2.69 failure by github.com/brchiu
Lev Walkinc644d992015-09-14 13:45:36 -070013 * Fix C99 warnings. Fix by Adrien Destugues (github.com/pulkomandy).
Lev Walkin7c691052015-09-14 13:50:14 -070014 * C89 compliance fix by Jaroslav Imrich (github.com/jariq).
Lev Walkin7c1dc052016-03-14 03:08:15 -070015 * C standard compliance fixes by Markus Elfring (github.com/elfring).
Lev Walkineace46c2014-09-17 02:18:44 -070016
Lev Walkinb0ed8182014-09-17 01:55:37 -0700170.9.27: 2014-Sep-17
Lev Walkin65907f02014-09-14 17:19:21 -070018 * Build structure fixes for portability.
Lev Walkin58ecc7b2014-09-17 00:32:03 -070019 * Disable long debug of ASN.1 operations during `make check` stage.
20 * Introduce --enable-ASN_DEBUG configure flag to emit long debug output.
Lev Walkin65907f02014-09-14 17:19:21 -070021
Lev Walkine0d321a2014-09-11 01:28:57 -0700220.9.26: 2014-Sep-11
Lev Walkin4d852802014-10-12 17:46:13 -070023 * Updated asn1c-usage.pdf.
24 * Made -fskeletons-copy a default option; removed cmdline option.
25 * Made -fnative-types a default option; removed cmdline option.
26 Added -fwide-types for backwards compatibility.
Lev Walkin4062b012013-10-11 14:29:38 -070027 * Add -fline-refs to avoid being unfriendly to version control systems.
Lev Walkin6169b8d2013-12-07 11:02:44 -080028 * Default constraint checking fix.
29 Thanks to Bartosz Marcinkiewicz <bma@megawatt.com.pl>
Lev Walkinaa61a0f2014-01-13 23:08:47 -080030 * Get rid of non-standard pointer arithmetics on void* pointer.
Lev Walkin6c527842014-02-09 04:34:54 -080031 * PER-encoding of integers wider than 32 bits.
Lev Walkine3e8de02013-03-19 17:16:00 -070032
Lev Walkin4d852802014-10-12 17:46:13 -0700330.9.24: 2013-Mar-16
Lev Walkin83f2a1c2010-03-10 23:09:29 +000034
Lev Walkin4d852802014-10-12 17:46:13 -070035 * GeneralizedTime fix for working with time offsets which are not
36 representable in whole hours. (Severity: low; Security impact: low)
37 Thanks to IP Fabrics, Inc.
38 * Added -fincludes-quoted to asn1c to generate #includes in "double"
39 instead of <angle> quotes.
40 * PER encoding correctness fix. (Severity: high; Security impact: low)
41 Reported by Grzegorz Aksamit.
42 * ENUMERATED extension values check relaxed. Reported by Gabriel Burca.
43 * Fixed decimal decoding of REAL values in -fnative-types mode
44 (Severity: medium; Security impact: medium)
45 * Removed webcgi subproject (introduced in 2004) as useless.
Lev Walkin83f2a1c2010-03-10 23:09:29 +000046
Lev Walkin4d852802014-10-12 17:46:13 -0700470.9.22: 2008-Nov-19
Lev Walkin66adab42006-09-23 02:52:12 +000048
Lev Walkin4d852802014-10-12 17:46:13 -070049 * Added -pdu=all and -pdu=<type> switches to asn1c.
50 * Added PER support for most known-multiplier string types:
51 IA5String, VisibleString, PrintableString, BMPString, UniversalString;
52 useful types: GeneralizedTime, UTCTime, ObjectDescriptor;
53 as well as REAL and OBJECT IDENTIFIER.
54 TODO: SET type.
55 * Added PER support for extensions in SEQUENCE.
56 * Multiple enhancements by Daniele Varrazzo <daniele.varrazzo@gmail.com>
57 * Fixed explicit tagging of an in-lined constructed type.
58 (Severity: low; Security impact: none).
59 * Memory leak fixed in SET OF / SEQUENCE OF when wrong encoding
60 is encountered. (Severity: medium; Security impact: low)
61 * Fixed extensibility handling of second SEQUENCE production.
62 (Severity: low; Security impact: none)
63 * Added DEFAULT handling for known multiplier string.
64 * Added a sample OMA ULP decoder (./examples/sample.source.ULP).
65 * Added full-width 32-bit integer encoding support in PER.
66 * Fixed 1-byte OOB write issue with non-standard and Windows
67 memory allocators (Severity: low; Security impact: medium).
68 Reported by Sheng Yu.
Lev Walkin66adab42006-09-23 02:52:12 +000069
Lev Walkin4d852802014-10-12 17:46:13 -0700700.9.21: 2006-Sep-17
Lev Walkin6b3ff542006-03-06 14:51:00 +000071
Lev Walkin4d852802014-10-12 17:46:13 -070072 * skeletons/standard-modules directory is now used for standard types.
73 * Fixed class field access problem (Test case 98)
74 (Severity: medium; Security impact: none)
75 * Refactored Information Object Classes parsing.
76 * Refactored Parameterization support.
77 * [typedef enum foo {}] foo_e; is now e_foo, see #1287989
78 * Refactored ValueSetTypeAssignment parsing.
79 * asn-decoder-template.c renamed into converter-sample.c
80 * MEGACO (Media Gateway Control Protocol) decoder sample added.
81 * First release of PER encoder (does not encode SETs yet).
82 * Added a sample LDAP decoder (./examples/sample.source.LDAP3).
83 * Added a sample 3GPP RRC decoder (./examples/sample.source.RRC).
84 * Added a sample MEGACO (H.248.1) decoder (sample.source.MEGACO).
Lev Walkin5e155492006-03-06 11:25:53 +000085
Lev Walkin4d852802014-10-12 17:46:13 -0700860.9.20: 2006-Mar-06
Lev Walkind1bfea62005-11-08 03:06:16 +000087
Lev Walkin4d852802014-10-12 17:46:13 -070088 * SET OF CHOICE, SEQUENCE OF CHOICE and a certain named S/O types
89 are represented differently in XER. THIS IS AN INCOMPATIBLE CHANGE.
90 (Test case 70) (Severity: low; Security impact: low)
91 * asn1c: Removed -ftypes88 command line option.
92 * Started PER implementation. Somewhat experimental!
Lev Walkind1bfea62005-11-08 03:06:16 +000093
Lev Walkin4d852802014-10-12 17:46:13 -0700940.9.19: 2005-Oct-06
Lev Walkinda9a3b82005-08-16 17:00:21 +000095
Lev Walkin4d852802014-10-12 17:46:13 -070096 * A proper solution to circular references. No kludge flags
97 should be necessary anymore to produce reference-free code:
98 recursive dependencies are resolved automatically.
99 * Test cases 73 & 92 keep track of various circular references.
100 * Introduced compiler directives to allow finer control over the
101 generated code ("--<ASN1C...>--" in comments), (Test case 93).
102 * New feature for unber(1): -s <skip> bytes.
103 * Mandatory elements map for SET was not getting generated properly.
104 (Test case 94) (Severity: high; Security impact: low)
105 * asn1c: new command line option: -fskeletons-copy.
Lev Walkinda9a3b82005-08-16 17:00:21 +0000106
Lev Walkin4d852802014-10-12 17:46:13 -07001070.9.18: 2005-Aug-14
Lev Walkin58db6952005-08-12 05:13:35 +0000108
Lev Walkin4d852802014-10-12 17:46:13 -0700109 * The obsolete X.208 syntax is handled gracefully now (compound types'
110 member names are invented on the fly). (Test case 87).
111 * Generating enumeration tables for INTEGER types (Test case 88).
112 * Generating enumeration tables for BIT STRING types (Test case 89).
113 * Conditional INTEGER/ENUMERATED representation: long vs. INTEGER_t
114 type is chosen based on PER visible constraints (Test cases 90, 91).
115 * Union structures for CHOICE type are not anonymous anymore.
116 * Made unber(1) program more verbose: effective structure length is
117 now displayed as L="<n>" at the closing tag. (Test check-xxber.sh).
118 * Fixed unber(1)'s -1 switch for indefinite encoding length.
119 * New command line option for unber(1): -m to enable minimalistic mode.
Lev Walkin58db6952005-08-12 05:13:35 +0000120
Lev Walkin4d852802014-10-12 17:46:13 -07001210.9.17: 2005-Aug-07
Lev Walkine54e9422005-07-21 01:18:19 +0000122
Lev Walkin4d852802014-10-12 17:46:13 -0700123 * Tagging mode is implicitly IMPLICIT if AUTOMATIC TAGS is used, #30.6.
124 (Test cases 55, 86).
125 * Started to use extern "C" {} in skeleton headers.
126 * Introduced -finline-choice command line option to fix
127 yet another class of circular references.
Lev Walkine54e9422005-07-21 01:18:19 +0000128
Lev Walkin4d852802014-10-12 17:46:13 -07001290.9.16: 2005-July-04
Lev Walkin2535a692005-07-02 21:42:40 +0000130
Lev Walkin4d852802014-10-12 17:46:13 -0700131 * GeneralizedTime API now supports fractions of seconds.
132 Thanks to Bent Nicolaisen <BN@JAI.com> for support.
133 * ASN.1 parser has been tweaked to allow parsing something like
134 "SEQUENCE----comment----", which is ambiguous for many reasons.
135 * XER decoder better handles not-yet-defined future extensions.
Lev Walkin2535a692005-07-02 21:42:40 +0000136
Lev Walkina127c3a2005-07-02 08:19:26 +00001370.9.15: 2005-July-02
Lev Walkin88693e82005-05-17 21:46:18 +0000138
Lev Walkin4d852802014-10-12 17:46:13 -0700139 * Compiler now checks 64-bit overflows in constraints range handling
140 code. No effect on the code produced by the compiler.
141 * Compiler support for tagged and marked parametrized members.
142 * Empty tags to element map avoided.
143 * Compiled code GCC 4.x compatibility.
Lev Walkin88693e82005-05-17 21:46:18 +0000144
Lev Walkin4d852802014-10-12 17:46:13 -07001450.9.14: 2005-Apr-29
Lev Walkin8b2f0c92005-04-29 18:55:12 +0000146
Lev Walkin4d852802014-10-12 17:46:13 -0700147 * Fixed check-70.-fnative-integers.c test (it was failing
148 when no test directory was found).
Lev Walkin8b2f0c92005-04-29 18:55:12 +0000149
Lev Walkin4d852802014-10-12 17:46:13 -07001500.9.13: 2005-Apr-24
Lev Walkincbf5a7e2005-03-10 18:53:33 +0000151
Lev Walkin4d852802014-10-12 17:46:13 -0700152 * Added extra const qualifiers into the support code.
153 * More RFC variations supported in crfc2asn1.pl.
154 * Refined string values compatibility. (Test cases 77, 78).
155 * Support for ContainedSubtype constraints. (Test case 16).
156 * Parsing support for CONSTRAINED BY. (Test case 79).
157 * Support for CharsDefn (Quadruple and Tuple, most used in
158 ASN1-CHARACTER-MODULE) (Test case 80).
159 * Pretty-printing support for WITH COMPONENT[S]. (Test case 82).
160 * Streamed OCTET STRING decoding of large values: fixed allocation
161 problem introduced in 0.9.9. (Severity: high; Security impact: medium)
162 Reported by Yann Grossel <olrick@users.sourceforge.net>.
163 * Fixed BASIC-XER encoding of REAL numbers.
Lev Walkincbf5a7e2005-03-10 18:53:33 +0000164
Lev Walkin4d852802014-10-12 17:46:13 -07001650.9.12: 2005-Mar-10
Lev Walkine8318b82005-03-06 09:29:03 +0000166
Lev Walkin4d852802014-10-12 17:46:13 -0700167 * Fixed a name clash in produced constraint checking code.
168 * #includes are now in single quotes (to solve a name
169 clash with system's <time.h> on a Win32 system).
170 * Small refinement of XML DTD generation (`asn1c -X`).
171 * Relaxed XER processing rules to skip extra whitespace
172 in some more places. It also skips XML comments (although
173 XML comments in XER are prohibited by X.693, #8.2.1).
174 (Test case 70) (Severity: medium; Security impact: none)
175 Reported by <Dominique.Nerriec@alcatel.fr>.
176 * Constraints on primitive types being defined are now supported.
177 (Test case 74) (Severity: low; Security impact: none)
178 * XMLValueList generation fixed for CHOICE type.
179 (Severity: medium; Security impact: none)
180 * Added the GSM TAP3 decoder into ./examples/sample.source.TAP3
Lev Walkine8318b82005-03-06 09:29:03 +0000181
Lev Walkin4d852802014-10-12 17:46:13 -07001820.9.11: 2005-Mar-04
Lev Walkin87da8262005-03-03 21:29:10 +0000183
Lev Walkin4d852802014-10-12 17:46:13 -0700184 * Released -fcompound-names to fix the name clashes in the code
185 produced by the asn1c.
186 * Released -fno-include-deps to avoid #including non-critical
187 external dependencies.
188 * Compiler is taught to produce compilable code for yet another class
189 of circular ASN.1 type references.
190 * X.693:8.3.4 prohibits anything but SignedNumber; fixed XER codec.
191 * Fixed ENUMERATED identifier to value conversion in XER.
192 Reported by <jacque.celaire@caramail.com>.
193 * If the compiled file contents are the same as in already existing
194 file (left from previous compilation), the old file is retained.
195 This prevents thrashing `make` dependencies if amount of changes in
196 the original ASN.1 module(s) is small.
Lev Walkin87da8262005-03-03 21:29:10 +0000197
Lev Walkin4d852802014-10-12 17:46:13 -07001980.9.10: 2005-Feb-25
Lev Walkin043af0d2005-02-24 21:07:35 +0000199
Lev Walkin4d852802014-10-12 17:46:13 -0700200 * Completed the XER XMLValueList encoding and decoding.
201 * Native integer type is now using "long".
202 * Fixed #1150856. Reported by <vvvy@users.sourceforge.net>.
203 * Some WIN32 portability fixes.
Lev Walkin043af0d2005-02-24 21:07:35 +0000204
Lev Walkin4d852802014-10-12 17:46:13 -07002050.9.9: 2005-Feb-22
Lev Walkind2388382005-01-17 15:27:47 +0000206
Lev Walkin4d852802014-10-12 17:46:13 -0700207 * First release of XER (XML) decoding implementation (somewhat
208 experimental).
209 * ANY allocation routine fixed.
210 Reported by <mikko.ahonen@elma.net>.
211 * Fixed tag parsing (tags like "[ 0 ]" were not supported).
212 * Compiler now checks for duplicate ASN.1 types across modules.
Lev Walkind2388382005-01-17 15:27:47 +0000213
Lev Walkin4d852802014-10-12 17:46:13 -07002140.9.8: 2005-Jan-17
Lev Walkin144db9b2004-10-12 23:26:53 +0000215
Lev Walkin4d852802014-10-12 17:46:13 -0700216 * [NEW PLATFORM] Compiled and tested on Linux @ alpha64 (LP64).
217 Some code needed to be fixed regarding int-long conversions
218 (mostly inside the test suite), and floating point handling
219 code needed to be restructured to handle signalling NAN and
220 other floating point exceptions quietly. Smooth transition!
221 * [NEW PLATFORM] Compiled and tested on Sun Solaris 9 @ sparc.
222 Improved includes/defines of/for system headers.
223 * -X command line option added to asn1c to generate XML DTD.
224 * Empty SEQUENCE and SET clauses are now allowed.
225 * Removed confusion between &xNN; and &#xNN; in enber and unber.
226 * Removed order dependency in DEFAULT references to ENUMERATED
227 identifiers (./tests/68-*-OK.asn1).
228 * ber_dec_rval_t renamed into asn_dec_rval_t: more generality.
229 * Extensions in CHOICE types are properly marked as non-pointers
230 (Test case 59) (Severity: medium; Security impact: medium)
231 Reported by <roman.pfender@sdm.de>.
232 * Tagged CHOICE type is now supported again.
233 (Test case 59) (Severity: low; Security impact: low)
234 Reported by <orlinkata@dir.bg>.
235 * Implemented der_encode_to_buffer() procedure.
Lev Walkin144db9b2004-10-12 23:26:53 +0000236
Lev Walkin4d852802014-10-12 17:46:13 -07002370.9.7.1: 2004-Oct-12
Lev Walkin144db9b2004-10-12 23:26:53 +0000238
Lev Walkin4d852802014-10-12 17:46:13 -0700239 * Fixed automatic tagging for extensions of compound types.
240 * Fixed ParametrizedReference parsing: {} are now recognized.
Lev Walkin144db9b2004-10-12 23:26:53 +0000241
Lev Walkin4d852802014-10-12 17:46:13 -07002420.9.7: 2004-Oct-11
Lev Walkin0ca7aec2004-10-02 00:12:11 +0000243
Lev Walkin4d852802014-10-12 17:46:13 -0700244 * Finished CXER implementation by adding SET and SET OF canonical
245 ordering support.
246 * Fixed unber(1) limits controlling logic.
247 * Removed C99'izm from the x509dump, now understood by older compilers.
248 * Enhanced UTF8String constraint validation, now it checks
249 for the minimal encoding length; API of UTF8String_length() changed.
250 * Fixed SEQUENCE dealing with premature termination of the
251 optionals-laden indefinite length structure. The code was previously
252 refusing to parse such structures.
253 * Fixed explicitly tagged ANY type encoding and decoding
254 (Severity: medium; Security impact: low).
255 * Fixed CHOICE code spin when indefinite length structures appear
256 in the extensions (Severity: medium; Security impact: medium).
257 Reported by <siden@ul-gsm.ru>.
258 * BIT STRING now stores the number of unused octets in a separate field.
Lev Walkin0ca7aec2004-10-02 00:12:11 +0000259
Lev Walkin4d852802014-10-12 17:46:13 -07002600.9.6: 2004-Sep-29
Lev Walkin33cded12004-09-19 19:40:52 +0000261
Lev Walkin4d852802014-10-12 17:46:13 -0700262 * Added several security firewalls: decoder's stack usage control
263 and the stricter checking of the TLV length.
264 * Implemented BASIC-XER encoding support (X.693).
265 * Implemented unber(1) and enber(1) for BER<->XML translation.
266 * Implemented CGI for online ASN.1 compilation (asn1c/webcgi).
267 * Implemented the sample X.509 decoder (./examples/sample.source.PKIX1).
268 * NamedType is now supported for SET OF/SEQUENCE OF type.
269 * Added -fno-constraints option to asn1c, which disabled generation of
270 ASN.1 subtype constraints checking code.
271 * Added ASN1C_ENVIRONMENT_VERSION and get_asn1c_environment_version().
272 * Fixed ANY type decoding (Severity: high; Security impact: low).
273 * Fixed BER decoder restartability problem with certain primitive
274 types (BOOLEAN, INTEGER, and REAL). The problem occured when the
275 encoding of such type is split between several bytes.
276 (Severity: high; Security impact: low)
277 * Support for cross-referencing type definitions (updated ./tests/43-*).
278 * Fixed pretty-printing of the REAL type. Added lots of test cases.
279 * Renamed asn1_* into asn_* in function and type names.
280 * Updated documentation.
Lev Walkin33cded12004-09-19 19:40:52 +0000281
Lev Walkin4d852802014-10-12 17:46:13 -07002820.9.5: 2004-Sep-17
Lev Walkinb4adfd32004-09-13 08:32:15 +0000283
Lev Walkin4d852802014-10-12 17:46:13 -0700284 * Fixed CER (common BER) decoder code. See check-25.c/VisibleString
285 case for details. X.690 specifies that inner structures in BER
286 encoding must be tagged by stripping off the outer tag for each
287 subsequent containment level. See also X.690: 8.21.5.4 and
288 the "Spouse" case in A.3.
289 (Severity: medium; Security impact: low)
290 * Added converters between any generic type and the ANY type.
291 * Parser fixed: Information Object Class fields may be taged.
292 * Parser fixed: tagged types inside SEQUENCE OF/SET OF support.
293 * Improved DEFAULT Value parsing and pretty-printing.
294 * Condition on distinct tags checker was incorrectly dealing with
295 tagged CHOICE types. Fixed. Modified tests/37-indirect-choice-OK.asn1
296 * Improved type name generation code ("struct foo" vs "foo_t").
297 * Fixed constraint checking code incorrectly dealing with imported
298 types with constraint values defined in other modules.
299 * Real REAL support! (Haven't tested denormals support yet!)
300 See skeletons/tests/check-REAL.c
Lev Walkinb4adfd32004-09-13 08:32:15 +0000301
Lev Walkin4d852802014-10-12 17:46:13 -07003020.9.4: 2004-Sep-10
Lev Walkin4a727052004-09-10 09:38:17 +0000303
Lev Walkin4d852802014-10-12 17:46:13 -0700304 * More support for recursive type definitions.
305 * Explicit support for ANY type decoding.
306 * Refactored tags processing code.
307 * Fixed constraints checking code: non-exploitable buffer overflow.
308 (Severity: medium; Security impact: low)
Lev Walkin4a727052004-09-10 09:38:17 +0000309
Lev Walkin4d852802014-10-12 17:46:13 -07003100.9.3: 2004-Sep-07
Lev Walkin8059bc42004-08-26 06:19:23 +0000311
Lev Walkin4d852802014-10-12 17:46:13 -0700312 * Extended constraints support in parametrized types.
313 * Better support for parametrization and constraints handling.
314 * Better handling of recursive type definitions.
315 * Added support for ANY type.
Lev Walkin8059bc42004-08-26 06:19:23 +0000316
Lev Walkin4d852802014-10-12 17:46:13 -07003170.9.2: 2004-Aug-24
Lev Walkin4ce78ca2004-08-25 01:34:11 +0000318
Lev Walkin4d852802014-10-12 17:46:13 -0700319 * More flexible subtype constraints handling, with relaxed
320 PER visibility rules for actual constraints checking code generator.
321 * Indirect references in constraints resolver code fixed.
322 * Avoided compilation warning on gcc 3.3.3 systems.
323 * Better ValueSet printing.
Lev Walkin4ce78ca2004-08-25 01:34:11 +0000324
Lev Walkin4d852802014-10-12 17:46:13 -07003250.9.1: 2004-Aug-23
Lev Walkinfa66e082004-08-24 05:25:57 +0000326
Lev Walkin4d852802014-10-12 17:46:13 -0700327 * Documentation updated: doc/asn1c-usage.pdf
328 * Fixed OBJECT IDENTIFIER human-readable printing.
329 Reported by <siden@ul-gsm.ru>.
Lev Walkinfa66e082004-08-24 05:25:57 +0000330
Lev Walkin4d852802014-10-12 17:46:13 -07003310.9: 2004-Aug-23
Lev Walkin3d0b5a32004-08-18 05:43:55 +0000332
Lev Walkin4d852802014-10-12 17:46:13 -0700333 * Reworked subtype constraints handling, aiming at PER-applicability.
334 * BOOLEAN and NULL are now implemented in terms of native int type.
335 * Compiler now links in only necessary skeleton files.
336 * -t option added to asn1c to ease manual BER/CER/DER decoding.
337 * Added support COMPONENTS OF construct.
338 * Numerous parser fixes and enhancements.
339 * Better constraint failure reporting.
Lev Walkin3d0b5a32004-08-18 05:43:55 +0000340
Lev Walkin4d852802014-10-12 17:46:13 -07003410.8.19: 2004-Aug-18
Lev Walkin1ef79852004-08-18 09:05:12 +0000342
Lev Walkin4d852802014-10-12 17:46:13 -0700343 * Fixed BER encoder (problem encoding large tag values)
344 (Severity: medium; Security impact: low)
Lev Walkin1ef79852004-08-18 09:05:12 +0000345
Lev Walkin4d852802014-10-12 17:46:13 -07003460.8.18: 2004-Aug-12
Lev Walkinb0892fe2004-08-13 12:39:17 +0000347
Lev Walkin4d852802014-10-12 17:46:13 -0700348 * Parser: fixed multiple IMPORTS problem (incorrect assertion).
349 * Parser: constraints extensibility parsing fix.
Lev Walkinb0892fe2004-08-13 12:39:17 +0000350
Lev Walkin4d852802014-10-12 17:46:13 -07003510.8.17: 2004-Aug-11
Lev Walkind8b940c2004-08-11 05:35:51 +0000352
Lev Walkin4d852802014-10-12 17:46:13 -0700353 * Improved compiler output: duplicate #includes eliminated.
354 * Win32 portability fixes.
355 * More compatibility with C++ or non-GCC compilers.
Lev Walkind8b940c2004-08-11 05:35:51 +0000356
Lev Walkin4d852802014-10-12 17:46:13 -07003570.8.16: 2004-Jul-22
Lev Walkinab42ef92004-07-22 12:19:42 +0000358
Lev Walkin4d852802014-10-12 17:46:13 -0700359 * Fixed application-level problem in SET OF/SEQUENCE OF array cleanup.
360 (Severity: medium; Security impact: low)
361 * Improved asn_GT2time() and added asn_time2{GT,UT}() functions.
362 * BIT STRING pretty-printing.
Lev Walkinab42ef92004-07-22 12:19:42 +0000363
Lev Walkin4d852802014-10-12 17:46:13 -07003640.8.15: 2004-Jul-20
Lev Walkin29a62262004-07-15 10:52:58 +0000365
Lev Walkin4d852802014-10-12 17:46:13 -0700366 * Fixed parser: memory leak in free_struct code for SET OF/SEQUENCE OF.
367 (Severity: high; Security impact: medium)
368 * Fixed parser: invalid memory reference in code constructing tags.
369 (Test case 48) (Severity: high; Security impact: medium)
370 When encoding data for certain ASN.1 specifications containing
371 explicit tags, the tag is always written incorrectly due to
372 incorrect memory reference. The encoding will almost always produce
373 unparseable data and might well reference unmapped region so program
374 would produce segmentation violation. Fortunately, memory is
375 read, not written, so remote exploits cannot execute arbitrary
376 code and triggering unmapped memory reference is highly unlikely
377 even it attacker knows the code (basically, the compiler should place
378 asn1_DEF_... right before the end of the mapped memory region, which
379 is extremely rare).
380 * Improved INTEGER type printing.
Lev Walkin29a62262004-07-15 10:52:58 +0000381
Lev Walkin4d852802014-10-12 17:46:13 -07003820.8.14: 2004-Jun-30
Lev Walkin35631482004-07-01 00:52:50 +0000383
Lev Walkin4d852802014-10-12 17:46:13 -0700384 * Fixed compiler: extensibility of CHOICE and SET type has not been
385 taken into account during table construction.
386 (Test case 47) (Severity: high; Security impact: low)
Lev Walkin35631482004-07-01 00:52:50 +0000387
Lev Walkin4d852802014-10-12 17:46:13 -07003880.8.13: 2004-Jun-29
Lev Walkind0d63f02004-06-28 21:22:20 +0000389
Lev Walkin4d852802014-10-12 17:46:13 -0700390 * Fixed compiler: the skip values for IMPLICIT tagging were broken
391 in some complex cases where one type is defined using another.
392 (Test case 46) (Severity: medium; Security impact: low).
393 * Added -fknown-extern-type command line parameter to asn1c.
394 * Removed -N command line flag and underlying functionality
395 to honor KISS principle.
Lev Walkind0d63f02004-06-28 21:22:20 +0000396
Lev Walkin4d852802014-10-12 17:46:13 -07003970.8.12: 2004-Jun-17
Lev Walkin715f45c2004-06-14 13:53:32 +0000398
Lev Walkin4d852802014-10-12 17:46:13 -0700399 * RELATIVE-OID and OBJECT IDENTIFIER encoders/decoders are not bound
400 anymore to an integer type of specific size (unsigned long). The
401 size of an integer must be provided explicitly.
402 See {OBJECT_IDENTIFIER|RELATIVE_OID}_{get|set}_arcs().
403 * SEQUENCE BER decoder fixed again for complex CHOICE case
404 (Test case 44) (Severity: medium; Security impact: low).
Lev Walkin715f45c2004-06-14 13:53:32 +0000405
Lev Walkin4d852802014-10-12 17:46:13 -07004060.8.11: 2004-Jun-05
Lev Walkin67c2aec2004-06-05 08:47:18 +0000407
Lev Walkin4d852802014-10-12 17:46:13 -0700408 * Enforced stricter conformance with C standards.
409 * SEQUENCE BER decoder is now equipped with the sorted map
410 in case of complex CHOICE descendants. Test case 44 created.
Lev Walkin67c2aec2004-06-05 08:47:18 +0000411
Lev Walkin4d852802014-10-12 17:46:13 -07004120.8.10: 2004-Jun-02
Lev Walkinf15320b2004-06-03 03:38:44 +0000413
Lev Walkin4d852802014-10-12 17:46:13 -0700414 * Added const qualifier where necessary.
415 * Changed position of outmost_tag fetcher within asn1_TYPE_descriptor_t
416 structure.
Lev Walkinf15320b2004-06-03 03:38:44 +0000417
Lev Walkin4d852802014-10-12 17:46:13 -07004180.8.9: 2004-May-26
Lev Walkinf15320b2004-06-03 03:38:44 +0000419
Lev Walkin4d852802014-10-12 17:46:13 -0700420 * Added *_{get|set}_arcs_*() functions for OBJECT IDENTIFIER
421 and RELATIVE-OID, together with test cases.
Lev Walkinf15320b2004-06-03 03:38:44 +0000422
Lev Walkin4d852802014-10-12 17:46:13 -07004230.8.8: 2004-May-09
Lev Walkinf15320b2004-06-03 03:38:44 +0000424
Lev Walkin4d852802014-10-12 17:46:13 -0700425 * Introduced subtype constraints support (incomplete!).
426 * Fixed compiler. If the last member of the SEQUENCE is OPTIONAL
427 and absent in the encoding, and the type is extensible (...) or
428 EXTENSIBILITY IMPLIED flag is set, then the structure could not
429 be correctly decoded. (Severity: high; Security impact: low).
430 * Compiler: fixed recursive ASN.1 types inclusion (Severity: low,
431 Security impact: none).
432 * Parser: IMPORTS/FROM fixes, now allowing multiple sections.
433 * NEW PLATFORM: Compiled and tested on MacOS X (@ PowerPC).
434 No major portability issues experienced.
Lev Walkinf15320b2004-06-03 03:38:44 +0000435
Lev Walkin4d852802014-10-12 17:46:13 -07004360.8.7: 2004-Apr-11 T-version-0-8-7
Lev Walkinf15320b2004-06-03 03:38:44 +0000437
Lev Walkin4d852802014-10-12 17:46:13 -0700438 * Fixed SEQUENCE BER decoder: if the last member of the SEQUENCE is
439 OPTIONAL and absent in the encoding, RC_FAIL was returned instead
440 of RC_OK (Severity: high; Security impact: low).
441 * Added test case to check the above problem.
442 * Added test case to check -fnative-integers mode.
Lev Walkinf15320b2004-06-03 03:38:44 +0000443
Lev Walkin4d852802014-10-12 17:46:13 -07004440.8.6: 2004-Apr-03 T-version-0-8-6
Lev Walkinf15320b2004-06-03 03:38:44 +0000445
Lev Walkin4d852802014-10-12 17:46:13 -0700446 * Fixed compiler output for embedded ASN.1 structures.
Lev Walkinf15320b2004-06-03 03:38:44 +0000447
Lev Walkin4d852802014-10-12 17:46:13 -07004480.8.5: 2004-Mar-28 T-version-0-8-5
Lev Walkinf15320b2004-06-03 03:38:44 +0000449
Lev Walkin4d852802014-10-12 17:46:13 -0700450 * Fixed ber_tlv_length() computation problem (Severity: high,
451 Security impact: none).
452 Reported by <vss@high.net.ru>
Lev Walkinf15320b2004-06-03 03:38:44 +0000453
Lev Walkin4d852802014-10-12 17:46:13 -07004540.8.4: 2004-Mar-22
Lev Walkinf15320b2004-06-03 03:38:44 +0000455
Lev Walkin4d852802014-10-12 17:46:13 -0700456 * Removed RC_ITAG enumeration element from BER decoder.
457 This return code did not have much practical value.
Lev Walkinf15320b2004-06-03 03:38:44 +0000458
Lev Walkin4d852802014-10-12 17:46:13 -07004590.8.3: 2004-Mar-14 T-version-0-8-3
Lev Walkinf15320b2004-06-03 03:38:44 +0000460
Lev Walkin4d852802014-10-12 17:46:13 -0700461 * Fixed SET::BER decoder: restart after reaching a buffer boundary
462 weas broken (Severity: high; Security impact: low).
463 * Fixed OCTET STRING::BER decoder: restart after reaching a buffer
464 boundary was broken (Severity: high; Security impact: low).
465 Reported by <vss@high.net.ru>
466 * Added test cases to check decoders restartability.
467 * Slightly more general INTEGER2long decoder.
468 * Allowed nested /* C-type */ comments, as per X.680:2002.
Lev Walkinf15320b2004-06-03 03:38:44 +0000469
Lev Walkin4d852802014-10-12 17:46:13 -07004700.8.2: 2004-Mar-01 T-version-0-8-2
Lev Walkinf15320b2004-06-03 03:38:44 +0000471
Lev Walkin4d852802014-10-12 17:46:13 -0700472 * Fixed SEQUENCE BER decoder: an OPTIONAL element was required, where
473 should not have been (Severity: major; Security impact: low).
474 * Fixed print_struct pointer inheritance.
475 * Added -fno-c99 and -funnamed-unions
Lev Walkinf15320b2004-06-03 03:38:44 +0000476
Lev Walkin4d852802014-10-12 17:46:13 -07004770.8.1: 2004-Feb-22
Lev Walkinf15320b2004-06-03 03:38:44 +0000478
Lev Walkin4d852802014-10-12 17:46:13 -0700479 * -R switch to asn1c: Omit support code, compile only the tables.
480 * Introduced NativeInteger pseudotype.
481 * Corrected the informal print_struct()'s output format.
Lev Walkinf15320b2004-06-03 03:38:44 +0000482
Lev Walkin4d852802014-10-12 17:46:13 -07004830.8.0: 2004-Feb-03 T-version-0-8-0
Lev Walkinf15320b2004-06-03 03:38:44 +0000484
Lev Walkin4d852802014-10-12 17:46:13 -0700485 * Some documentation is created (a .pdf and a short manual page).
486 * Last touches to the code.
Lev Walkinf15320b2004-06-03 03:38:44 +0000487
Lev Walkin4d852802014-10-12 17:46:13 -07004880.7.9: 2004-Feb-01 T-version-0-7-9
Lev Walkinf15320b2004-06-03 03:38:44 +0000489
Lev Walkin4d852802014-10-12 17:46:13 -0700490 * Human readable printing support.
491 * Support for implicit (standard) constraints.
Lev Walkinf15320b2004-06-03 03:38:44 +0000492
Lev Walkin4d852802014-10-12 17:46:13 -07004930.7.8: 2004-Jan-31
Lev Walkinf15320b2004-06-03 03:38:44 +0000494
Lev Walkin4d852802014-10-12 17:46:13 -0700495 * SET now rejects duplicate fields in the data stream.
Lev Walkinf15320b2004-06-03 03:38:44 +0000496
Lev Walkin4d852802014-10-12 17:46:13 -07004970.7.7: 2004-Jan-25
Lev Walkinf15320b2004-06-03 03:38:44 +0000498
Lev Walkin4d852802014-10-12 17:46:13 -0700499 * Added types: GeneralizedTime and UTCTime.
Lev Walkinf15320b2004-06-03 03:38:44 +0000500
Lev Walkin4d852802014-10-12 17:46:13 -07005010.7.6: 2004-Jan-24 T-version-0-7-6
Lev Walkinf15320b2004-06-03 03:38:44 +0000502
Lev Walkin4d852802014-10-12 17:46:13 -0700503 * DER encoding of a SET OF now involves dynamic sorting.
Lev Walkinf15320b2004-06-03 03:38:44 +0000504
Lev Walkin4d852802014-10-12 17:46:13 -07005050.7.5: 2004-Jan-24 T-version-0-7-5
Lev Walkinf15320b2004-06-03 03:38:44 +0000506
Lev Walkin4d852802014-10-12 17:46:13 -0700507 * DER encoding of a SET with untagged CHOICE
508 now involves dynamic sorting.
Lev Walkinf15320b2004-06-03 03:38:44 +0000509
Lev Walkin4d852802014-10-12 17:46:13 -07005100.7.0: 2004-Jan-19 T-version-0-7-0
Lev Walkinf15320b2004-06-03 03:38:44 +0000511
Lev Walkin4d852802014-10-12 17:46:13 -0700512 * A bunch of DER encoders is implemented.
Lev Walkinf15320b2004-06-03 03:38:44 +0000513
Lev Walkin4d852802014-10-12 17:46:13 -07005140.6.6: 2004-Jan-11
Lev Walkinf15320b2004-06-03 03:38:44 +0000515
Lev Walkin4d852802014-10-12 17:46:13 -0700516 * Implemented CHOICE decoder.
517 * Implemented destructors support.
Lev Walkinf15320b2004-06-03 03:38:44 +0000518
Lev Walkin4d852802014-10-12 17:46:13 -07005190.6.5: 2004-Jan-03
Lev Walkinf15320b2004-06-03 03:38:44 +0000520
Lev Walkin4d852802014-10-12 17:46:13 -0700521 * Implemented SET decoder.
522 * Implemented SET OF and SEQUENCE OF decoders.
Lev Walkinf15320b2004-06-03 03:38:44 +0000523
Lev Walkin4d852802014-10-12 17:46:13 -07005240.6.4: 2003-Dec-31
Lev Walkinf15320b2004-06-03 03:38:44 +0000525
Lev Walkin4d852802014-10-12 17:46:13 -0700526 * Implemented BOOLEAN, NULL, ENUMERATED decoders.
527 * Implemented OCTET STRING decoder.
528 * Implemented BIT STRING decoder.
Lev Walkinf15320b2004-06-03 03:38:44 +0000529
Lev Walkin4d852802014-10-12 17:46:13 -07005300.6: 2003-Dec-30
Lev Walkinf15320b2004-06-03 03:38:44 +0000531
Lev Walkin4d852802014-10-12 17:46:13 -0700532 * First decoding of a BER-encoded structure!
Lev Walkinf15320b2004-06-03 03:38:44 +0000533
Lev Walkin4d852802014-10-12 17:46:13 -07005340.5: 2003-Dec-28
Lev Walkinf15320b2004-06-03 03:38:44 +0000535
Lev Walkin4d852802014-10-12 17:46:13 -0700536 * Framework and most of the compiler backbone coding done.
Lev Walkinf15320b2004-06-03 03:38:44 +0000537
Lev Walkin4d852802014-10-12 17:46:13 -07005380.1: 2003-Nov-28
Lev Walkinf15320b2004-06-03 03:38:44 +0000539
Lev Walkin4d852802014-10-12 17:46:13 -0700540 * Programming started.
Lev Walkin6d67d912004-10-05 06:39:35 +0000541
542=== Bug importance disclosure terms ===
543
544SEVERITY.
545 This term applies to the frequence the particular construct is used
546 in the real world. The higher the frequency, the more chances of triggering
547 this bug.
Lev Walkin4d852802014-10-12 17:46:13 -0700548 low: The ASN.1 specifications which could trigger
549 this kind of bug are not widespread.
550 medium: The particular ASN.1 construct is used quite often,
551 so the chance of triggering an error is considerable.
552 high: This fix is considered urgent, or the particular ASN.1
553 construct triggering this bug is in wide use.
Lev Walkin6d67d912004-10-05 06:39:35 +0000554
555SECURITY IMPACT.
556 This term applies to the amount of potential damage a bug exploitation
557 could cause.
Lev Walkin4d852802014-10-12 17:46:13 -0700558 none: No malicious exploitation is possible.
559 low: The local exploitation is unlikely; the remote exploitation
560 is not possible.
561 medium: The remote exploitation is possible when a particular ASN.1
562 construct is being used. If possible, only hard failure, spin
563 or memory leak are the possible outcome: no shellcode
564 injection could possibly be carried by the attack.
565 high: The remote shellcode injection is possible, or the bug is
566 otherwise remotely exploitable for most specifications.
Lev Walkin6d67d912004-10-05 06:39:35 +0000567