blob: 76fdc2dbf4b674e693c7ec7801ec96dab110d051 [file] [log] [blame]
Lev Walkinf15320b2004-06-03 03:38:44 +00001
Lev Walkineace46c2014-09-17 02:18:44 -070020.9.??:
Lev Walkindb779222014-10-12 19:45:25 -07003 * Fixed generated file permissions introduced by earlier pull (issue/32).
Lev Walkin108d4f92014-10-12 18:58:14 -07004 * Constness patch #46 by Wim L <wiml@omnigroup.com> (41bbf1c..78d604f).
5 * Win32/MinGW patch #31 by Frank Morgner (frankmorgner).
Lev Walkineace46c2014-09-17 02:18:44 -07006
Lev Walkinb0ed8182014-09-17 01:55:37 -070070.9.27: 2014-Sep-17
Lev Walkin65907f02014-09-14 17:19:21 -07008 * Build structure fixes for portability.
Lev Walkin58ecc7b2014-09-17 00:32:03 -07009 * Disable long debug of ASN.1 operations during `make check` stage.
10 * Introduce --enable-ASN_DEBUG configure flag to emit long debug output.
Lev Walkin65907f02014-09-14 17:19:21 -070011
Lev Walkine0d321a2014-09-11 01:28:57 -0700120.9.26: 2014-Sep-11
Lev Walkin4d852802014-10-12 17:46:13 -070013 * Updated asn1c-usage.pdf.
14 * Made -fskeletons-copy a default option; removed cmdline option.
15 * Made -fnative-types a default option; removed cmdline option.
16 Added -fwide-types for backwards compatibility.
Lev Walkin4062b012013-10-11 14:29:38 -070017 * Add -fline-refs to avoid being unfriendly to version control systems.
Lev Walkin6169b8d2013-12-07 11:02:44 -080018 * Default constraint checking fix.
19 Thanks to Bartosz Marcinkiewicz <bma@megawatt.com.pl>
Lev Walkinaa61a0f2014-01-13 23:08:47 -080020 * Get rid of non-standard pointer arithmetics on void* pointer.
Lev Walkin6c527842014-02-09 04:34:54 -080021 * PER-encoding of integers wider than 32 bits.
Lev Walkine3e8de02013-03-19 17:16:00 -070022
Lev Walkin4d852802014-10-12 17:46:13 -0700230.9.24: 2013-Mar-16
Lev Walkin83f2a1c2010-03-10 23:09:29 +000024
Lev Walkin4d852802014-10-12 17:46:13 -070025 * GeneralizedTime fix for working with time offsets which are not
26 representable in whole hours. (Severity: low; Security impact: low)
27 Thanks to IP Fabrics, Inc.
28 * Added -fincludes-quoted to asn1c to generate #includes in "double"
29 instead of <angle> quotes.
30 * PER encoding correctness fix. (Severity: high; Security impact: low)
31 Reported by Grzegorz Aksamit.
32 * ENUMERATED extension values check relaxed. Reported by Gabriel Burca.
33 * Fixed decimal decoding of REAL values in -fnative-types mode
34 (Severity: medium; Security impact: medium)
35 * Removed webcgi subproject (introduced in 2004) as useless.
Lev Walkin83f2a1c2010-03-10 23:09:29 +000036
Lev Walkin4d852802014-10-12 17:46:13 -0700370.9.22: 2008-Nov-19
Lev Walkin66adab42006-09-23 02:52:12 +000038
Lev Walkin4d852802014-10-12 17:46:13 -070039 * Added -pdu=all and -pdu=<type> switches to asn1c.
40 * Added PER support for most known-multiplier string types:
41 IA5String, VisibleString, PrintableString, BMPString, UniversalString;
42 useful types: GeneralizedTime, UTCTime, ObjectDescriptor;
43 as well as REAL and OBJECT IDENTIFIER.
44 TODO: SET type.
45 * Added PER support for extensions in SEQUENCE.
46 * Multiple enhancements by Daniele Varrazzo <daniele.varrazzo@gmail.com>
47 * Fixed explicit tagging of an in-lined constructed type.
48 (Severity: low; Security impact: none).
49 * Memory leak fixed in SET OF / SEQUENCE OF when wrong encoding
50 is encountered. (Severity: medium; Security impact: low)
51 * Fixed extensibility handling of second SEQUENCE production.
52 (Severity: low; Security impact: none)
53 * Added DEFAULT handling for known multiplier string.
54 * Added a sample OMA ULP decoder (./examples/sample.source.ULP).
55 * Added full-width 32-bit integer encoding support in PER.
56 * Fixed 1-byte OOB write issue with non-standard and Windows
57 memory allocators (Severity: low; Security impact: medium).
58 Reported by Sheng Yu.
Lev Walkin66adab42006-09-23 02:52:12 +000059
Lev Walkin4d852802014-10-12 17:46:13 -0700600.9.21: 2006-Sep-17
Lev Walkin6b3ff542006-03-06 14:51:00 +000061
Lev Walkin4d852802014-10-12 17:46:13 -070062 * skeletons/standard-modules directory is now used for standard types.
63 * Fixed class field access problem (Test case 98)
64 (Severity: medium; Security impact: none)
65 * Refactored Information Object Classes parsing.
66 * Refactored Parameterization support.
67 * [typedef enum foo {}] foo_e; is now e_foo, see #1287989
68 * Refactored ValueSetTypeAssignment parsing.
69 * asn-decoder-template.c renamed into converter-sample.c
70 * MEGACO (Media Gateway Control Protocol) decoder sample added.
71 * First release of PER encoder (does not encode SETs yet).
72 * Added a sample LDAP decoder (./examples/sample.source.LDAP3).
73 * Added a sample 3GPP RRC decoder (./examples/sample.source.RRC).
74 * Added a sample MEGACO (H.248.1) decoder (sample.source.MEGACO).
Lev Walkin5e155492006-03-06 11:25:53 +000075
Lev Walkin4d852802014-10-12 17:46:13 -0700760.9.20: 2006-Mar-06
Lev Walkind1bfea62005-11-08 03:06:16 +000077
Lev Walkin4d852802014-10-12 17:46:13 -070078 * SET OF CHOICE, SEQUENCE OF CHOICE and a certain named S/O types
79 are represented differently in XER. THIS IS AN INCOMPATIBLE CHANGE.
80 (Test case 70) (Severity: low; Security impact: low)
81 * asn1c: Removed -ftypes88 command line option.
82 * Started PER implementation. Somewhat experimental!
Lev Walkind1bfea62005-11-08 03:06:16 +000083
Lev Walkin4d852802014-10-12 17:46:13 -0700840.9.19: 2005-Oct-06
Lev Walkinda9a3b82005-08-16 17:00:21 +000085
Lev Walkin4d852802014-10-12 17:46:13 -070086 * A proper solution to circular references. No kludge flags
87 should be necessary anymore to produce reference-free code:
88 recursive dependencies are resolved automatically.
89 * Test cases 73 & 92 keep track of various circular references.
90 * Introduced compiler directives to allow finer control over the
91 generated code ("--<ASN1C...>--" in comments), (Test case 93).
92 * New feature for unber(1): -s <skip> bytes.
93 * Mandatory elements map for SET was not getting generated properly.
94 (Test case 94) (Severity: high; Security impact: low)
95 * asn1c: new command line option: -fskeletons-copy.
Lev Walkinda9a3b82005-08-16 17:00:21 +000096
Lev Walkin4d852802014-10-12 17:46:13 -0700970.9.18: 2005-Aug-14
Lev Walkin58db6952005-08-12 05:13:35 +000098
Lev Walkin4d852802014-10-12 17:46:13 -070099 * The obsolete X.208 syntax is handled gracefully now (compound types'
100 member names are invented on the fly). (Test case 87).
101 * Generating enumeration tables for INTEGER types (Test case 88).
102 * Generating enumeration tables for BIT STRING types (Test case 89).
103 * Conditional INTEGER/ENUMERATED representation: long vs. INTEGER_t
104 type is chosen based on PER visible constraints (Test cases 90, 91).
105 * Union structures for CHOICE type are not anonymous anymore.
106 * Made unber(1) program more verbose: effective structure length is
107 now displayed as L="<n>" at the closing tag. (Test check-xxber.sh).
108 * Fixed unber(1)'s -1 switch for indefinite encoding length.
109 * New command line option for unber(1): -m to enable minimalistic mode.
Lev Walkin58db6952005-08-12 05:13:35 +0000110
Lev Walkin4d852802014-10-12 17:46:13 -07001110.9.17: 2005-Aug-07
Lev Walkine54e9422005-07-21 01:18:19 +0000112
Lev Walkin4d852802014-10-12 17:46:13 -0700113 * Tagging mode is implicitly IMPLICIT if AUTOMATIC TAGS is used, #30.6.
114 (Test cases 55, 86).
115 * Started to use extern "C" {} in skeleton headers.
116 * Introduced -finline-choice command line option to fix
117 yet another class of circular references.
Lev Walkine54e9422005-07-21 01:18:19 +0000118
Lev Walkin4d852802014-10-12 17:46:13 -07001190.9.16: 2005-July-04
Lev Walkin2535a692005-07-02 21:42:40 +0000120
Lev Walkin4d852802014-10-12 17:46:13 -0700121 * GeneralizedTime API now supports fractions of seconds.
122 Thanks to Bent Nicolaisen <BN@JAI.com> for support.
123 * ASN.1 parser has been tweaked to allow parsing something like
124 "SEQUENCE----comment----", which is ambiguous for many reasons.
125 * XER decoder better handles not-yet-defined future extensions.
Lev Walkin2535a692005-07-02 21:42:40 +0000126
Lev Walkina127c3a2005-07-02 08:19:26 +00001270.9.15: 2005-July-02
Lev Walkin88693e82005-05-17 21:46:18 +0000128
Lev Walkin4d852802014-10-12 17:46:13 -0700129 * Compiler now checks 64-bit overflows in constraints range handling
130 code. No effect on the code produced by the compiler.
131 * Compiler support for tagged and marked parametrized members.
132 * Empty tags to element map avoided.
133 * Compiled code GCC 4.x compatibility.
Lev Walkin88693e82005-05-17 21:46:18 +0000134
Lev Walkin4d852802014-10-12 17:46:13 -07001350.9.14: 2005-Apr-29
Lev Walkin8b2f0c92005-04-29 18:55:12 +0000136
Lev Walkin4d852802014-10-12 17:46:13 -0700137 * Fixed check-70.-fnative-integers.c test (it was failing
138 when no test directory was found).
Lev Walkin8b2f0c92005-04-29 18:55:12 +0000139
Lev Walkin4d852802014-10-12 17:46:13 -07001400.9.13: 2005-Apr-24
Lev Walkincbf5a7e2005-03-10 18:53:33 +0000141
Lev Walkin4d852802014-10-12 17:46:13 -0700142 * Added extra const qualifiers into the support code.
143 * More RFC variations supported in crfc2asn1.pl.
144 * Refined string values compatibility. (Test cases 77, 78).
145 * Support for ContainedSubtype constraints. (Test case 16).
146 * Parsing support for CONSTRAINED BY. (Test case 79).
147 * Support for CharsDefn (Quadruple and Tuple, most used in
148 ASN1-CHARACTER-MODULE) (Test case 80).
149 * Pretty-printing support for WITH COMPONENT[S]. (Test case 82).
150 * Streamed OCTET STRING decoding of large values: fixed allocation
151 problem introduced in 0.9.9. (Severity: high; Security impact: medium)
152 Reported by Yann Grossel <olrick@users.sourceforge.net>.
153 * Fixed BASIC-XER encoding of REAL numbers.
Lev Walkincbf5a7e2005-03-10 18:53:33 +0000154
Lev Walkin4d852802014-10-12 17:46:13 -07001550.9.12: 2005-Mar-10
Lev Walkine8318b82005-03-06 09:29:03 +0000156
Lev Walkin4d852802014-10-12 17:46:13 -0700157 * Fixed a name clash in produced constraint checking code.
158 * #includes are now in single quotes (to solve a name
159 clash with system's <time.h> on a Win32 system).
160 * Small refinement of XML DTD generation (`asn1c -X`).
161 * Relaxed XER processing rules to skip extra whitespace
162 in some more places. It also skips XML comments (although
163 XML comments in XER are prohibited by X.693, #8.2.1).
164 (Test case 70) (Severity: medium; Security impact: none)
165 Reported by <Dominique.Nerriec@alcatel.fr>.
166 * Constraints on primitive types being defined are now supported.
167 (Test case 74) (Severity: low; Security impact: none)
168 * XMLValueList generation fixed for CHOICE type.
169 (Severity: medium; Security impact: none)
170 * Added the GSM TAP3 decoder into ./examples/sample.source.TAP3
Lev Walkine8318b82005-03-06 09:29:03 +0000171
Lev Walkin4d852802014-10-12 17:46:13 -07001720.9.11: 2005-Mar-04
Lev Walkin87da8262005-03-03 21:29:10 +0000173
Lev Walkin4d852802014-10-12 17:46:13 -0700174 * Released -fcompound-names to fix the name clashes in the code
175 produced by the asn1c.
176 * Released -fno-include-deps to avoid #including non-critical
177 external dependencies.
178 * Compiler is taught to produce compilable code for yet another class
179 of circular ASN.1 type references.
180 * X.693:8.3.4 prohibits anything but SignedNumber; fixed XER codec.
181 * Fixed ENUMERATED identifier to value conversion in XER.
182 Reported by <jacque.celaire@caramail.com>.
183 * If the compiled file contents are the same as in already existing
184 file (left from previous compilation), the old file is retained.
185 This prevents thrashing `make` dependencies if amount of changes in
186 the original ASN.1 module(s) is small.
Lev Walkin87da8262005-03-03 21:29:10 +0000187
Lev Walkin4d852802014-10-12 17:46:13 -07001880.9.10: 2005-Feb-25
Lev Walkin043af0d2005-02-24 21:07:35 +0000189
Lev Walkin4d852802014-10-12 17:46:13 -0700190 * Completed the XER XMLValueList encoding and decoding.
191 * Native integer type is now using "long".
192 * Fixed #1150856. Reported by <vvvy@users.sourceforge.net>.
193 * Some WIN32 portability fixes.
Lev Walkin043af0d2005-02-24 21:07:35 +0000194
Lev Walkin4d852802014-10-12 17:46:13 -07001950.9.9: 2005-Feb-22
Lev Walkind2388382005-01-17 15:27:47 +0000196
Lev Walkin4d852802014-10-12 17:46:13 -0700197 * First release of XER (XML) decoding implementation (somewhat
198 experimental).
199 * ANY allocation routine fixed.
200 Reported by <mikko.ahonen@elma.net>.
201 * Fixed tag parsing (tags like "[ 0 ]" were not supported).
202 * Compiler now checks for duplicate ASN.1 types across modules.
Lev Walkind2388382005-01-17 15:27:47 +0000203
Lev Walkin4d852802014-10-12 17:46:13 -07002040.9.8: 2005-Jan-17
Lev Walkin144db9b2004-10-12 23:26:53 +0000205
Lev Walkin4d852802014-10-12 17:46:13 -0700206 * [NEW PLATFORM] Compiled and tested on Linux @ alpha64 (LP64).
207 Some code needed to be fixed regarding int-long conversions
208 (mostly inside the test suite), and floating point handling
209 code needed to be restructured to handle signalling NAN and
210 other floating point exceptions quietly. Smooth transition!
211 * [NEW PLATFORM] Compiled and tested on Sun Solaris 9 @ sparc.
212 Improved includes/defines of/for system headers.
213 * -X command line option added to asn1c to generate XML DTD.
214 * Empty SEQUENCE and SET clauses are now allowed.
215 * Removed confusion between &xNN; and &#xNN; in enber and unber.
216 * Removed order dependency in DEFAULT references to ENUMERATED
217 identifiers (./tests/68-*-OK.asn1).
218 * ber_dec_rval_t renamed into asn_dec_rval_t: more generality.
219 * Extensions in CHOICE types are properly marked as non-pointers
220 (Test case 59) (Severity: medium; Security impact: medium)
221 Reported by <roman.pfender@sdm.de>.
222 * Tagged CHOICE type is now supported again.
223 (Test case 59) (Severity: low; Security impact: low)
224 Reported by <orlinkata@dir.bg>.
225 * Implemented der_encode_to_buffer() procedure.
Lev Walkin144db9b2004-10-12 23:26:53 +0000226
Lev Walkin4d852802014-10-12 17:46:13 -07002270.9.7.1: 2004-Oct-12
Lev Walkin144db9b2004-10-12 23:26:53 +0000228
Lev Walkin4d852802014-10-12 17:46:13 -0700229 * Fixed automatic tagging for extensions of compound types.
230 * Fixed ParametrizedReference parsing: {} are now recognized.
Lev Walkin144db9b2004-10-12 23:26:53 +0000231
Lev Walkin4d852802014-10-12 17:46:13 -07002320.9.7: 2004-Oct-11
Lev Walkin0ca7aec2004-10-02 00:12:11 +0000233
Lev Walkin4d852802014-10-12 17:46:13 -0700234 * Finished CXER implementation by adding SET and SET OF canonical
235 ordering support.
236 * Fixed unber(1) limits controlling logic.
237 * Removed C99'izm from the x509dump, now understood by older compilers.
238 * Enhanced UTF8String constraint validation, now it checks
239 for the minimal encoding length; API of UTF8String_length() changed.
240 * Fixed SEQUENCE dealing with premature termination of the
241 optionals-laden indefinite length structure. The code was previously
242 refusing to parse such structures.
243 * Fixed explicitly tagged ANY type encoding and decoding
244 (Severity: medium; Security impact: low).
245 * Fixed CHOICE code spin when indefinite length structures appear
246 in the extensions (Severity: medium; Security impact: medium).
247 Reported by <siden@ul-gsm.ru>.
248 * BIT STRING now stores the number of unused octets in a separate field.
Lev Walkin0ca7aec2004-10-02 00:12:11 +0000249
Lev Walkin4d852802014-10-12 17:46:13 -07002500.9.6: 2004-Sep-29
Lev Walkin33cded12004-09-19 19:40:52 +0000251
Lev Walkin4d852802014-10-12 17:46:13 -0700252 * Added several security firewalls: decoder's stack usage control
253 and the stricter checking of the TLV length.
254 * Implemented BASIC-XER encoding support (X.693).
255 * Implemented unber(1) and enber(1) for BER<->XML translation.
256 * Implemented CGI for online ASN.1 compilation (asn1c/webcgi).
257 * Implemented the sample X.509 decoder (./examples/sample.source.PKIX1).
258 * NamedType is now supported for SET OF/SEQUENCE OF type.
259 * Added -fno-constraints option to asn1c, which disabled generation of
260 ASN.1 subtype constraints checking code.
261 * Added ASN1C_ENVIRONMENT_VERSION and get_asn1c_environment_version().
262 * Fixed ANY type decoding (Severity: high; Security impact: low).
263 * Fixed BER decoder restartability problem with certain primitive
264 types (BOOLEAN, INTEGER, and REAL). The problem occured when the
265 encoding of such type is split between several bytes.
266 (Severity: high; Security impact: low)
267 * Support for cross-referencing type definitions (updated ./tests/43-*).
268 * Fixed pretty-printing of the REAL type. Added lots of test cases.
269 * Renamed asn1_* into asn_* in function and type names.
270 * Updated documentation.
Lev Walkin33cded12004-09-19 19:40:52 +0000271
Lev Walkin4d852802014-10-12 17:46:13 -07002720.9.5: 2004-Sep-17
Lev Walkinb4adfd32004-09-13 08:32:15 +0000273
Lev Walkin4d852802014-10-12 17:46:13 -0700274 * Fixed CER (common BER) decoder code. See check-25.c/VisibleString
275 case for details. X.690 specifies that inner structures in BER
276 encoding must be tagged by stripping off the outer tag for each
277 subsequent containment level. See also X.690: 8.21.5.4 and
278 the "Spouse" case in A.3.
279 (Severity: medium; Security impact: low)
280 * Added converters between any generic type and the ANY type.
281 * Parser fixed: Information Object Class fields may be taged.
282 * Parser fixed: tagged types inside SEQUENCE OF/SET OF support.
283 * Improved DEFAULT Value parsing and pretty-printing.
284 * Condition on distinct tags checker was incorrectly dealing with
285 tagged CHOICE types. Fixed. Modified tests/37-indirect-choice-OK.asn1
286 * Improved type name generation code ("struct foo" vs "foo_t").
287 * Fixed constraint checking code incorrectly dealing with imported
288 types with constraint values defined in other modules.
289 * Real REAL support! (Haven't tested denormals support yet!)
290 See skeletons/tests/check-REAL.c
Lev Walkinb4adfd32004-09-13 08:32:15 +0000291
Lev Walkin4d852802014-10-12 17:46:13 -07002920.9.4: 2004-Sep-10
Lev Walkin4a727052004-09-10 09:38:17 +0000293
Lev Walkin4d852802014-10-12 17:46:13 -0700294 * More support for recursive type definitions.
295 * Explicit support for ANY type decoding.
296 * Refactored tags processing code.
297 * Fixed constraints checking code: non-exploitable buffer overflow.
298 (Severity: medium; Security impact: low)
Lev Walkin4a727052004-09-10 09:38:17 +0000299
Lev Walkin4d852802014-10-12 17:46:13 -07003000.9.3: 2004-Sep-07
Lev Walkin8059bc42004-08-26 06:19:23 +0000301
Lev Walkin4d852802014-10-12 17:46:13 -0700302 * Extended constraints support in parametrized types.
303 * Better support for parametrization and constraints handling.
304 * Better handling of recursive type definitions.
305 * Added support for ANY type.
Lev Walkin8059bc42004-08-26 06:19:23 +0000306
Lev Walkin4d852802014-10-12 17:46:13 -07003070.9.2: 2004-Aug-24
Lev Walkin4ce78ca2004-08-25 01:34:11 +0000308
Lev Walkin4d852802014-10-12 17:46:13 -0700309 * More flexible subtype constraints handling, with relaxed
310 PER visibility rules for actual constraints checking code generator.
311 * Indirect references in constraints resolver code fixed.
312 * Avoided compilation warning on gcc 3.3.3 systems.
313 * Better ValueSet printing.
Lev Walkin4ce78ca2004-08-25 01:34:11 +0000314
Lev Walkin4d852802014-10-12 17:46:13 -07003150.9.1: 2004-Aug-23
Lev Walkinfa66e082004-08-24 05:25:57 +0000316
Lev Walkin4d852802014-10-12 17:46:13 -0700317 * Documentation updated: doc/asn1c-usage.pdf
318 * Fixed OBJECT IDENTIFIER human-readable printing.
319 Reported by <siden@ul-gsm.ru>.
Lev Walkinfa66e082004-08-24 05:25:57 +0000320
Lev Walkin4d852802014-10-12 17:46:13 -07003210.9: 2004-Aug-23
Lev Walkin3d0b5a32004-08-18 05:43:55 +0000322
Lev Walkin4d852802014-10-12 17:46:13 -0700323 * Reworked subtype constraints handling, aiming at PER-applicability.
324 * BOOLEAN and NULL are now implemented in terms of native int type.
325 * Compiler now links in only necessary skeleton files.
326 * -t option added to asn1c to ease manual BER/CER/DER decoding.
327 * Added support COMPONENTS OF construct.
328 * Numerous parser fixes and enhancements.
329 * Better constraint failure reporting.
Lev Walkin3d0b5a32004-08-18 05:43:55 +0000330
Lev Walkin4d852802014-10-12 17:46:13 -07003310.8.19: 2004-Aug-18
Lev Walkin1ef79852004-08-18 09:05:12 +0000332
Lev Walkin4d852802014-10-12 17:46:13 -0700333 * Fixed BER encoder (problem encoding large tag values)
334 (Severity: medium; Security impact: low)
Lev Walkin1ef79852004-08-18 09:05:12 +0000335
Lev Walkin4d852802014-10-12 17:46:13 -07003360.8.18: 2004-Aug-12
Lev Walkinb0892fe2004-08-13 12:39:17 +0000337
Lev Walkin4d852802014-10-12 17:46:13 -0700338 * Parser: fixed multiple IMPORTS problem (incorrect assertion).
339 * Parser: constraints extensibility parsing fix.
Lev Walkinb0892fe2004-08-13 12:39:17 +0000340
Lev Walkin4d852802014-10-12 17:46:13 -07003410.8.17: 2004-Aug-11
Lev Walkind8b940c2004-08-11 05:35:51 +0000342
Lev Walkin4d852802014-10-12 17:46:13 -0700343 * Improved compiler output: duplicate #includes eliminated.
344 * Win32 portability fixes.
345 * More compatibility with C++ or non-GCC compilers.
Lev Walkind8b940c2004-08-11 05:35:51 +0000346
Lev Walkin4d852802014-10-12 17:46:13 -07003470.8.16: 2004-Jul-22
Lev Walkinab42ef92004-07-22 12:19:42 +0000348
Lev Walkin4d852802014-10-12 17:46:13 -0700349 * Fixed application-level problem in SET OF/SEQUENCE OF array cleanup.
350 (Severity: medium; Security impact: low)
351 * Improved asn_GT2time() and added asn_time2{GT,UT}() functions.
352 * BIT STRING pretty-printing.
Lev Walkinab42ef92004-07-22 12:19:42 +0000353
Lev Walkin4d852802014-10-12 17:46:13 -07003540.8.15: 2004-Jul-20
Lev Walkin29a62262004-07-15 10:52:58 +0000355
Lev Walkin4d852802014-10-12 17:46:13 -0700356 * Fixed parser: memory leak in free_struct code for SET OF/SEQUENCE OF.
357 (Severity: high; Security impact: medium)
358 * Fixed parser: invalid memory reference in code constructing tags.
359 (Test case 48) (Severity: high; Security impact: medium)
360 When encoding data for certain ASN.1 specifications containing
361 explicit tags, the tag is always written incorrectly due to
362 incorrect memory reference. The encoding will almost always produce
363 unparseable data and might well reference unmapped region so program
364 would produce segmentation violation. Fortunately, memory is
365 read, not written, so remote exploits cannot execute arbitrary
366 code and triggering unmapped memory reference is highly unlikely
367 even it attacker knows the code (basically, the compiler should place
368 asn1_DEF_... right before the end of the mapped memory region, which
369 is extremely rare).
370 * Improved INTEGER type printing.
Lev Walkin29a62262004-07-15 10:52:58 +0000371
Lev Walkin4d852802014-10-12 17:46:13 -07003720.8.14: 2004-Jun-30
Lev Walkin35631482004-07-01 00:52:50 +0000373
Lev Walkin4d852802014-10-12 17:46:13 -0700374 * Fixed compiler: extensibility of CHOICE and SET type has not been
375 taken into account during table construction.
376 (Test case 47) (Severity: high; Security impact: low)
Lev Walkin35631482004-07-01 00:52:50 +0000377
Lev Walkin4d852802014-10-12 17:46:13 -07003780.8.13: 2004-Jun-29
Lev Walkind0d63f02004-06-28 21:22:20 +0000379
Lev Walkin4d852802014-10-12 17:46:13 -0700380 * Fixed compiler: the skip values for IMPLICIT tagging were broken
381 in some complex cases where one type is defined using another.
382 (Test case 46) (Severity: medium; Security impact: low).
383 * Added -fknown-extern-type command line parameter to asn1c.
384 * Removed -N command line flag and underlying functionality
385 to honor KISS principle.
Lev Walkind0d63f02004-06-28 21:22:20 +0000386
Lev Walkin4d852802014-10-12 17:46:13 -07003870.8.12: 2004-Jun-17
Lev Walkin715f45c2004-06-14 13:53:32 +0000388
Lev Walkin4d852802014-10-12 17:46:13 -0700389 * RELATIVE-OID and OBJECT IDENTIFIER encoders/decoders are not bound
390 anymore to an integer type of specific size (unsigned long). The
391 size of an integer must be provided explicitly.
392 See {OBJECT_IDENTIFIER|RELATIVE_OID}_{get|set}_arcs().
393 * SEQUENCE BER decoder fixed again for complex CHOICE case
394 (Test case 44) (Severity: medium; Security impact: low).
Lev Walkin715f45c2004-06-14 13:53:32 +0000395
Lev Walkin4d852802014-10-12 17:46:13 -07003960.8.11: 2004-Jun-05
Lev Walkin67c2aec2004-06-05 08:47:18 +0000397
Lev Walkin4d852802014-10-12 17:46:13 -0700398 * Enforced stricter conformance with C standards.
399 * SEQUENCE BER decoder is now equipped with the sorted map
400 in case of complex CHOICE descendants. Test case 44 created.
Lev Walkin67c2aec2004-06-05 08:47:18 +0000401
Lev Walkin4d852802014-10-12 17:46:13 -07004020.8.10: 2004-Jun-02
Lev Walkinf15320b2004-06-03 03:38:44 +0000403
Lev Walkin4d852802014-10-12 17:46:13 -0700404 * Added const qualifier where necessary.
405 * Changed position of outmost_tag fetcher within asn1_TYPE_descriptor_t
406 structure.
Lev Walkinf15320b2004-06-03 03:38:44 +0000407
Lev Walkin4d852802014-10-12 17:46:13 -07004080.8.9: 2004-May-26
Lev Walkinf15320b2004-06-03 03:38:44 +0000409
Lev Walkin4d852802014-10-12 17:46:13 -0700410 * Added *_{get|set}_arcs_*() functions for OBJECT IDENTIFIER
411 and RELATIVE-OID, together with test cases.
Lev Walkinf15320b2004-06-03 03:38:44 +0000412
Lev Walkin4d852802014-10-12 17:46:13 -07004130.8.8: 2004-May-09
Lev Walkinf15320b2004-06-03 03:38:44 +0000414
Lev Walkin4d852802014-10-12 17:46:13 -0700415 * Introduced subtype constraints support (incomplete!).
416 * Fixed compiler. If the last member of the SEQUENCE is OPTIONAL
417 and absent in the encoding, and the type is extensible (...) or
418 EXTENSIBILITY IMPLIED flag is set, then the structure could not
419 be correctly decoded. (Severity: high; Security impact: low).
420 * Compiler: fixed recursive ASN.1 types inclusion (Severity: low,
421 Security impact: none).
422 * Parser: IMPORTS/FROM fixes, now allowing multiple sections.
423 * NEW PLATFORM: Compiled and tested on MacOS X (@ PowerPC).
424 No major portability issues experienced.
Lev Walkinf15320b2004-06-03 03:38:44 +0000425
Lev Walkin4d852802014-10-12 17:46:13 -07004260.8.7: 2004-Apr-11 T-version-0-8-7
Lev Walkinf15320b2004-06-03 03:38:44 +0000427
Lev Walkin4d852802014-10-12 17:46:13 -0700428 * Fixed SEQUENCE BER decoder: if the last member of the SEQUENCE is
429 OPTIONAL and absent in the encoding, RC_FAIL was returned instead
430 of RC_OK (Severity: high; Security impact: low).
431 * Added test case to check the above problem.
432 * Added test case to check -fnative-integers mode.
Lev Walkinf15320b2004-06-03 03:38:44 +0000433
Lev Walkin4d852802014-10-12 17:46:13 -07004340.8.6: 2004-Apr-03 T-version-0-8-6
Lev Walkinf15320b2004-06-03 03:38:44 +0000435
Lev Walkin4d852802014-10-12 17:46:13 -0700436 * Fixed compiler output for embedded ASN.1 structures.
Lev Walkinf15320b2004-06-03 03:38:44 +0000437
Lev Walkin4d852802014-10-12 17:46:13 -07004380.8.5: 2004-Mar-28 T-version-0-8-5
Lev Walkinf15320b2004-06-03 03:38:44 +0000439
Lev Walkin4d852802014-10-12 17:46:13 -0700440 * Fixed ber_tlv_length() computation problem (Severity: high,
441 Security impact: none).
442 Reported by <vss@high.net.ru>
Lev Walkinf15320b2004-06-03 03:38:44 +0000443
Lev Walkin4d852802014-10-12 17:46:13 -07004440.8.4: 2004-Mar-22
Lev Walkinf15320b2004-06-03 03:38:44 +0000445
Lev Walkin4d852802014-10-12 17:46:13 -0700446 * Removed RC_ITAG enumeration element from BER decoder.
447 This return code did not have much practical value.
Lev Walkinf15320b2004-06-03 03:38:44 +0000448
Lev Walkin4d852802014-10-12 17:46:13 -07004490.8.3: 2004-Mar-14 T-version-0-8-3
Lev Walkinf15320b2004-06-03 03:38:44 +0000450
Lev Walkin4d852802014-10-12 17:46:13 -0700451 * Fixed SET::BER decoder: restart after reaching a buffer boundary
452 weas broken (Severity: high; Security impact: low).
453 * Fixed OCTET STRING::BER decoder: restart after reaching a buffer
454 boundary was broken (Severity: high; Security impact: low).
455 Reported by <vss@high.net.ru>
456 * Added test cases to check decoders restartability.
457 * Slightly more general INTEGER2long decoder.
458 * Allowed nested /* C-type */ comments, as per X.680:2002.
Lev Walkinf15320b2004-06-03 03:38:44 +0000459
Lev Walkin4d852802014-10-12 17:46:13 -07004600.8.2: 2004-Mar-01 T-version-0-8-2
Lev Walkinf15320b2004-06-03 03:38:44 +0000461
Lev Walkin4d852802014-10-12 17:46:13 -0700462 * Fixed SEQUENCE BER decoder: an OPTIONAL element was required, where
463 should not have been (Severity: major; Security impact: low).
464 * Fixed print_struct pointer inheritance.
465 * Added -fno-c99 and -funnamed-unions
Lev Walkinf15320b2004-06-03 03:38:44 +0000466
Lev Walkin4d852802014-10-12 17:46:13 -07004670.8.1: 2004-Feb-22
Lev Walkinf15320b2004-06-03 03:38:44 +0000468
Lev Walkin4d852802014-10-12 17:46:13 -0700469 * -R switch to asn1c: Omit support code, compile only the tables.
470 * Introduced NativeInteger pseudotype.
471 * Corrected the informal print_struct()'s output format.
Lev Walkinf15320b2004-06-03 03:38:44 +0000472
Lev Walkin4d852802014-10-12 17:46:13 -07004730.8.0: 2004-Feb-03 T-version-0-8-0
Lev Walkinf15320b2004-06-03 03:38:44 +0000474
Lev Walkin4d852802014-10-12 17:46:13 -0700475 * Some documentation is created (a .pdf and a short manual page).
476 * Last touches to the code.
Lev Walkinf15320b2004-06-03 03:38:44 +0000477
Lev Walkin4d852802014-10-12 17:46:13 -07004780.7.9: 2004-Feb-01 T-version-0-7-9
Lev Walkinf15320b2004-06-03 03:38:44 +0000479
Lev Walkin4d852802014-10-12 17:46:13 -0700480 * Human readable printing support.
481 * Support for implicit (standard) constraints.
Lev Walkinf15320b2004-06-03 03:38:44 +0000482
Lev Walkin4d852802014-10-12 17:46:13 -07004830.7.8: 2004-Jan-31
Lev Walkinf15320b2004-06-03 03:38:44 +0000484
Lev Walkin4d852802014-10-12 17:46:13 -0700485 * SET now rejects duplicate fields in the data stream.
Lev Walkinf15320b2004-06-03 03:38:44 +0000486
Lev Walkin4d852802014-10-12 17:46:13 -07004870.7.7: 2004-Jan-25
Lev Walkinf15320b2004-06-03 03:38:44 +0000488
Lev Walkin4d852802014-10-12 17:46:13 -0700489 * Added types: GeneralizedTime and UTCTime.
Lev Walkinf15320b2004-06-03 03:38:44 +0000490
Lev Walkin4d852802014-10-12 17:46:13 -07004910.7.6: 2004-Jan-24 T-version-0-7-6
Lev Walkinf15320b2004-06-03 03:38:44 +0000492
Lev Walkin4d852802014-10-12 17:46:13 -0700493 * DER encoding of a SET OF now involves dynamic sorting.
Lev Walkinf15320b2004-06-03 03:38:44 +0000494
Lev Walkin4d852802014-10-12 17:46:13 -07004950.7.5: 2004-Jan-24 T-version-0-7-5
Lev Walkinf15320b2004-06-03 03:38:44 +0000496
Lev Walkin4d852802014-10-12 17:46:13 -0700497 * DER encoding of a SET with untagged CHOICE
498 now involves dynamic sorting.
Lev Walkinf15320b2004-06-03 03:38:44 +0000499
Lev Walkin4d852802014-10-12 17:46:13 -07005000.7.0: 2004-Jan-19 T-version-0-7-0
Lev Walkinf15320b2004-06-03 03:38:44 +0000501
Lev Walkin4d852802014-10-12 17:46:13 -0700502 * A bunch of DER encoders is implemented.
Lev Walkinf15320b2004-06-03 03:38:44 +0000503
Lev Walkin4d852802014-10-12 17:46:13 -07005040.6.6: 2004-Jan-11
Lev Walkinf15320b2004-06-03 03:38:44 +0000505
Lev Walkin4d852802014-10-12 17:46:13 -0700506 * Implemented CHOICE decoder.
507 * Implemented destructors support.
Lev Walkinf15320b2004-06-03 03:38:44 +0000508
Lev Walkin4d852802014-10-12 17:46:13 -07005090.6.5: 2004-Jan-03
Lev Walkinf15320b2004-06-03 03:38:44 +0000510
Lev Walkin4d852802014-10-12 17:46:13 -0700511 * Implemented SET decoder.
512 * Implemented SET OF and SEQUENCE OF decoders.
Lev Walkinf15320b2004-06-03 03:38:44 +0000513
Lev Walkin4d852802014-10-12 17:46:13 -07005140.6.4: 2003-Dec-31
Lev Walkinf15320b2004-06-03 03:38:44 +0000515
Lev Walkin4d852802014-10-12 17:46:13 -0700516 * Implemented BOOLEAN, NULL, ENUMERATED decoders.
517 * Implemented OCTET STRING decoder.
518 * Implemented BIT STRING decoder.
Lev Walkinf15320b2004-06-03 03:38:44 +0000519
Lev Walkin4d852802014-10-12 17:46:13 -07005200.6: 2003-Dec-30
Lev Walkinf15320b2004-06-03 03:38:44 +0000521
Lev Walkin4d852802014-10-12 17:46:13 -0700522 * First decoding of a BER-encoded structure!
Lev Walkinf15320b2004-06-03 03:38:44 +0000523
Lev Walkin4d852802014-10-12 17:46:13 -07005240.5: 2003-Dec-28
Lev Walkinf15320b2004-06-03 03:38:44 +0000525
Lev Walkin4d852802014-10-12 17:46:13 -0700526 * Framework and most of the compiler backbone coding done.
Lev Walkinf15320b2004-06-03 03:38:44 +0000527
Lev Walkin4d852802014-10-12 17:46:13 -07005280.1: 2003-Nov-28
Lev Walkinf15320b2004-06-03 03:38:44 +0000529
Lev Walkin4d852802014-10-12 17:46:13 -0700530 * Programming started.
Lev Walkin6d67d912004-10-05 06:39:35 +0000531
532=== Bug importance disclosure terms ===
533
534SEVERITY.
535 This term applies to the frequence the particular construct is used
536 in the real world. The higher the frequency, the more chances of triggering
537 this bug.
Lev Walkin4d852802014-10-12 17:46:13 -0700538 low: The ASN.1 specifications which could trigger
539 this kind of bug are not widespread.
540 medium: The particular ASN.1 construct is used quite often,
541 so the chance of triggering an error is considerable.
542 high: This fix is considered urgent, or the particular ASN.1
543 construct triggering this bug is in wide use.
Lev Walkin6d67d912004-10-05 06:39:35 +0000544
545SECURITY IMPACT.
546 This term applies to the amount of potential damage a bug exploitation
547 could cause.
Lev Walkin4d852802014-10-12 17:46:13 -0700548 none: No malicious exploitation is possible.
549 low: The local exploitation is unlikely; the remote exploitation
550 is not possible.
551 medium: The remote exploitation is possible when a particular ASN.1
552 construct is being used. If possible, only hard failure, spin
553 or memory leak are the possible outcome: no shellcode
554 injection could possibly be carried by the attack.
555 high: The remote shellcode injection is possible, or the bug is
556 otherwise remotely exploitable for most specifications.
Lev Walkin6d67d912004-10-05 06:39:35 +0000557