Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 1 | |
Lev Walkin | d1bfea6 | 2005-11-08 03:06:16 +0000 | [diff] [blame^] | 2 | 0.9.20: 2005-Nov-07 |
| 3 | |
| 4 | * SET OF CHOICE, SEQUENCE OF CHOICE and a certain named S/O types |
| 5 | are represented differently in XER. THIS IS AN ICOMPATIBLE CHANGE. |
| 6 | (Test case 70) (Severity: low; Security impact: low) |
| 7 | |
Lev Walkin | a895afb | 2005-10-06 10:09:34 +0000 | [diff] [blame] | 8 | 0.9.19: 2005-Oct-06 |
Lev Walkin | da9a3b8 | 2005-08-16 17:00:21 +0000 | [diff] [blame] | 9 | |
Lev Walkin | b85a813 | 2005-08-18 13:38:19 +0000 | [diff] [blame] | 10 | * A proper solution to circular references. No kludge flags |
| 11 | should be necessary anymore to produce reference-free code: |
| 12 | recursive dependencies are resolved automatically. |
Lev Walkin | da9a3b8 | 2005-08-16 17:00:21 +0000 | [diff] [blame] | 13 | * Test cases 73 & 92 keep track of various circular references. |
Lev Walkin | ef62540 | 2005-09-05 05:17:57 +0000 | [diff] [blame] | 14 | * Introduced compiler directives to allow finer control over the |
| 15 | generated code ("--<ASN1C...>--" in comments), (Test case 93). |
Lev Walkin | 9044779 | 2005-09-30 05:23:40 +0000 | [diff] [blame] | 16 | * New feature for unber(1): -s <skip> bytes. |
Lev Walkin | ac760bf | 2005-10-05 08:59:03 +0000 | [diff] [blame] | 17 | * Mandatory elements map for SET was not getting generated properly. |
| 18 | (Test case 94) (Severity: high; Security impact: low) |
Lev Walkin | a895afb | 2005-10-06 10:09:34 +0000 | [diff] [blame] | 19 | * asn1c: new command line option: -fskeletons-copy. |
Lev Walkin | da9a3b8 | 2005-08-16 17:00:21 +0000 | [diff] [blame] | 20 | |
Lev Walkin | 4b55341 | 2005-08-14 14:45:44 +0000 | [diff] [blame] | 21 | 0.9.18: 2005-Aug-14 |
Lev Walkin | 58db695 | 2005-08-12 05:13:35 +0000 | [diff] [blame] | 22 | |
Lev Walkin | 2e9bd5c | 2005-08-13 09:07:11 +0000 | [diff] [blame] | 23 | * The obsolete X.208 syntax is handled gracefully now (compound types' |
| 24 | member names are invented on the fly). (Test case 87). |
Lev Walkin | 414b078 | 2005-08-13 23:30:24 +0000 | [diff] [blame] | 25 | * Generating enumeration tables for INTEGER types (Test case 88). |
Lev Walkin | b02a883 | 2005-08-13 23:51:47 +0000 | [diff] [blame] | 26 | * Generating enumeration tables for BIT STRING types (Test case 89). |
Lev Walkin | 082cadc | 2005-08-14 02:18:27 +0000 | [diff] [blame] | 27 | * Conditional INTEGER/ENUMERATED representation: long vs. INTEGER_t |
Lev Walkin | 4b55341 | 2005-08-14 14:45:44 +0000 | [diff] [blame] | 28 | type is chosen based on PER visible constraints (Test cases 90, 91). |
Lev Walkin | 0f5d74c | 2005-08-14 15:03:31 +0000 | [diff] [blame] | 29 | * Union structures for CHOICE type are not anonymous anymore. |
Lev Walkin | df24e40 | 2005-08-15 03:28:06 +0000 | [diff] [blame] | 30 | * Made unber(1) program more verbose: effective structure length is |
| 31 | now displayed as L="<n>" at the closing tag. (Test check-xxber.sh). |
| 32 | * Fixed unber(1)'s -1 switch for indefinite encoding length. |
Lev Walkin | 454ea2c | 2005-08-15 07:21:22 +0000 | [diff] [blame] | 33 | * New command line option for unber(1): -m to enable minimalistic mode. |
Lev Walkin | 58db695 | 2005-08-12 05:13:35 +0000 | [diff] [blame] | 34 | |
Lev Walkin | ec0cdd0 | 2005-08-08 01:34:03 +0000 | [diff] [blame] | 35 | 0.9.17: 2005-Aug-07 |
Lev Walkin | e54e942 | 2005-07-21 01:18:19 +0000 | [diff] [blame] | 36 | |
| 37 | * Tagging mode is implicitly IMPLICIT if AUTOMATIC TAGS is used, #30.6. |
| 38 | (Test cases 55, 86). |
Lev Walkin | 21b41ac | 2005-07-24 09:03:44 +0000 | [diff] [blame] | 39 | * Started to use extern "C" {} in skeleton headers. |
| 40 | * Introduced -finline-choice command line option to fix |
| 41 | yet another class of circular references. |
Lev Walkin | e54e942 | 2005-07-21 01:18:19 +0000 | [diff] [blame] | 42 | |
| 43 | 0.9.16: 2005-July-04 |
Lev Walkin | 2535a69 | 2005-07-02 21:42:40 +0000 | [diff] [blame] | 44 | |
Lev Walkin | 398176b | 2005-07-03 05:32:55 +0000 | [diff] [blame] | 45 | * GeneralizedTime API now supports fractions of seconds. |
| 46 | Thanks to Bent Nicolaisen <BN@JAI.com> for support. |
Lev Walkin | 2535a69 | 2005-07-02 21:42:40 +0000 | [diff] [blame] | 47 | * ASN.1 parser has been tweaked to allow parsing something like |
Lev Walkin | 66d542b | 2005-07-04 02:03:57 +0000 | [diff] [blame] | 48 | "SEQUENCE----comment----", which is ambiguous for many reasons. |
Lev Walkin | 398176b | 2005-07-03 05:32:55 +0000 | [diff] [blame] | 49 | * XER decoder better handles not-yet-defined future extensions. |
Lev Walkin | 2535a69 | 2005-07-02 21:42:40 +0000 | [diff] [blame] | 50 | |
Lev Walkin | a127c3a | 2005-07-02 08:19:26 +0000 | [diff] [blame] | 51 | 0.9.15: 2005-July-02 |
Lev Walkin | 88693e8 | 2005-05-17 21:46:18 +0000 | [diff] [blame] | 52 | |
| 53 | * Compiler now checks 64-bit overflows in constraints range handling |
| 54 | code. No effect on the code produced by the compiler. |
Lev Walkin | 0320d87 | 2005-06-02 17:53:17 +0000 | [diff] [blame] | 55 | * Compiler support for tagged and marked parametrized members. |
Lev Walkin | bbdd105 | 2005-05-27 21:58:52 +0000 | [diff] [blame] | 56 | * Empty tags to element map avoided. |
Lev Walkin | a127c3a | 2005-07-02 08:19:26 +0000 | [diff] [blame] | 57 | * Compiled code GCC 4.x compatibility. |
Lev Walkin | 88693e8 | 2005-05-17 21:46:18 +0000 | [diff] [blame] | 58 | |
Lev Walkin | 8b2f0c9 | 2005-04-29 18:55:12 +0000 | [diff] [blame] | 59 | 0.9.14: 2005-Apr-29 |
| 60 | |
| 61 | * Fixed check-70.-fnative-integers.c test (it was failing |
| 62 | when no test directory was found). |
| 63 | |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 64 | 0.9.13: 2005-Apr-24 |
Lev Walkin | cbf5a7e | 2005-03-10 18:53:33 +0000 | [diff] [blame] | 65 | |
| 66 | * Added extra const qualifiers into the support code. |
Lev Walkin | f8186fc | 2005-03-18 04:25:17 +0000 | [diff] [blame] | 67 | * More RFC variations supported in crfc2asn1.pl. |
Lev Walkin | c7d939d | 2005-03-20 11:12:40 +0000 | [diff] [blame] | 68 | * Refined string values compatibility. (Test cases 77, 78). |
Lev Walkin | ff7dd14 | 2005-03-20 12:58:00 +0000 | [diff] [blame] | 69 | * Support for ContainedSubtype constraints. (Test case 16). |
Lev Walkin | 1893ddf | 2005-03-20 14:28:32 +0000 | [diff] [blame] | 70 | * Parsing support for CONSTRAINED BY. (Test case 79). |
Lev Walkin | 1e448d3 | 2005-03-24 14:26:38 +0000 | [diff] [blame] | 71 | * Support for CharsDefn (Quadruple and Tuple, most used in |
| 72 | ASN1-CHARACTER-MODULE) (Test case 80). |
Lev Walkin | e596bf0 | 2005-03-28 15:01:27 +0000 | [diff] [blame] | 73 | * Pretty-printing support for WITH COMPONENT[S]. (Test case 82). |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 74 | * Streamed OCTET STRING decoding of large values: fixed allocation |
| 75 | problem introduced in 0.9.9. (Severity: high; Security impact: medium) |
| 76 | Reported by Yann Grossel <olrick@users.sourceforge.net>. |
Lev Walkin | f0b808d | 2005-04-25 21:08:25 +0000 | [diff] [blame] | 77 | * Fixed BASIC-XER encoding of REAL numbers. |
Lev Walkin | cbf5a7e | 2005-03-10 18:53:33 +0000 | [diff] [blame] | 78 | |
Lev Walkin | c6e26d5 | 2005-03-10 11:27:28 +0000 | [diff] [blame] | 79 | 0.9.12: 2005-Mar-10 |
Lev Walkin | e8318b8 | 2005-03-06 09:29:03 +0000 | [diff] [blame] | 80 | |
| 81 | * Fixed a name clash in produced constraint checking code. |
Lev Walkin | 3ede40c | 2005-03-06 09:31:59 +0000 | [diff] [blame] | 82 | * #includes are now in single quotes (to solve a name |
| 83 | clash with system's <time.h> on a Win32 system). |
Lev Walkin | 0fab1a6 | 2005-03-09 22:19:25 +0000 | [diff] [blame] | 84 | * Small refinement of XML DTD generation (`asn1c -X`). |
| 85 | * Relaxed XER processing rules to skip extra whitespace |
| 86 | in some more places. It also skips XML comments (although |
Lev Walkin | d307c36 | 2005-03-10 11:50:12 +0000 | [diff] [blame] | 87 | XML comments in XER are prohibited by X.693, #8.2.1). |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 88 | (Test case 70) (Severity: medium; Security impact: none) |
Lev Walkin | 0fab1a6 | 2005-03-09 22:19:25 +0000 | [diff] [blame] | 89 | Reported by <Dominique.Nerriec@alcatel.fr>. |
Lev Walkin | c6e26d5 | 2005-03-10 11:27:28 +0000 | [diff] [blame] | 90 | * Constraints on primitive types being defined are now supported. |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 91 | (Test case 74) (Severity: low; Security impact: none) |
Lev Walkin | 6750823 | 2005-03-10 13:44:50 +0000 | [diff] [blame] | 92 | * XMLValueList generation fixed for CHOICE type. |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 93 | (Severity: medium; Security impact: none) |
Lev Walkin | 3f12bc0 | 2005-03-10 15:09:02 +0000 | [diff] [blame] | 94 | * Added the GSM TAP3 decoder into ./examples/sample.source.TAP3 |
Lev Walkin | e8318b8 | 2005-03-06 09:29:03 +0000 | [diff] [blame] | 95 | |
Lev Walkin | b59d94c | 2005-03-04 09:01:15 +0000 | [diff] [blame] | 96 | 0.9.11: 2005-Mar-04 |
Lev Walkin | 87da826 | 2005-03-03 21:29:10 +0000 | [diff] [blame] | 97 | |
Lev Walkin | b59d94c | 2005-03-04 09:01:15 +0000 | [diff] [blame] | 98 | * Released -fcompound-names to fix the name clashes in the code |
| 99 | produced by the asn1c. |
Lev Walkin | b9b8b95 | 2005-03-05 00:33:27 +0000 | [diff] [blame] | 100 | * Released -fno-include-deps to avoid #including non-critical |
| 101 | external dependencies. |
| 102 | * Compiler is taught to produce compilable code for yet another class |
| 103 | of circular ASN.1 type references. |
Lev Walkin | c764550 | 2005-03-04 11:18:59 +0000 | [diff] [blame] | 104 | * X.693:8.3.4 prohibits anything but SignedNumber; fixed XER codec. |
| 105 | * Fixed ENUMERATED identifier to value conversion in XER. |
Lev Walkin | 7d1f354 | 2005-03-04 11:20:17 +0000 | [diff] [blame] | 106 | Reported by <jacque.celaire@caramail.com>. |
Lev Walkin | b59d94c | 2005-03-04 09:01:15 +0000 | [diff] [blame] | 107 | * If the compiled file contents are the same as in already existing |
| 108 | file (left from previous compilation), the old file is retained. |
| 109 | This prevents thrashing `make` dependencies if amount of changes in |
| 110 | the original ASN.1 module(s) is small. |
Lev Walkin | 87da826 | 2005-03-03 21:29:10 +0000 | [diff] [blame] | 111 | |
Lev Walkin | e0b56e0 | 2005-02-25 12:10:27 +0000 | [diff] [blame] | 112 | 0.9.10: 2005-Feb-25 |
Lev Walkin | 043af0d | 2005-02-24 21:07:35 +0000 | [diff] [blame] | 113 | |
Lev Walkin | e0b56e0 | 2005-02-25 12:10:27 +0000 | [diff] [blame] | 114 | * Completed the XER XMLValueList encoding and decoding. |
| 115 | * Native integer type is now using "long". |
| 116 | * Fixed #1150856. Reported by <vvvy@users.sourceforge.net>. |
Lev Walkin | 7512b7f | 2005-02-25 14:26:43 +0000 | [diff] [blame] | 117 | * Some WIN32 portability fixes. |
Lev Walkin | 043af0d | 2005-02-24 21:07:35 +0000 | [diff] [blame] | 118 | |
Lev Walkin | c36d209 | 2005-02-22 08:14:24 +0000 | [diff] [blame] | 119 | 0.9.9: 2005-Feb-22 |
Lev Walkin | d238838 | 2005-01-17 15:27:47 +0000 | [diff] [blame] | 120 | |
Lev Walkin | 438b74f | 2005-02-18 18:16:14 +0000 | [diff] [blame] | 121 | * First release of XER (XML) decoding implementation (somewhat |
| 122 | experimental). |
Lev Walkin | d79acb2 | 2005-01-22 00:13:45 +0000 | [diff] [blame] | 123 | * ANY allocation routine fixed. |
| 124 | Reported by <mikko.ahonen@elma.net>. |
Lev Walkin | 74ce464 | 2005-01-23 09:51:53 +0000 | [diff] [blame] | 125 | * Fixed tag parsing (tags like "[ 0 ]" were not supported). |
Lev Walkin | c36d209 | 2005-02-22 08:14:24 +0000 | [diff] [blame] | 126 | * Compiler now checks for duplicate ASN.1 types across modules. |
Lev Walkin | d238838 | 2005-01-17 15:27:47 +0000 | [diff] [blame] | 127 | |
Lev Walkin | 659c63b | 2005-01-17 11:40:49 +0000 | [diff] [blame] | 128 | 0.9.8: 2005-Jan-17 |
Lev Walkin | 144db9b | 2004-10-12 23:26:53 +0000 | [diff] [blame] | 129 | |
Lev Walkin | 30045c3 | 2004-10-26 10:44:18 +0000 | [diff] [blame] | 130 | * [NEW PLATFORM] Compiled and tested on Linux @ alpha64 (LP64). |
| 131 | Some code needed to be fixed regarding int-long conversions |
| 132 | (mostly inside the test suite), and floating point handling |
| 133 | code needed to be restructured to handle signalling NAN and |
| 134 | other floating point exceptions quietly. Smooth transition! |
| 135 | * [NEW PLATFORM] Compiled and tested on Sun Solaris 9 @ sparc. |
| 136 | Improved includes/defines of/for system headers. |
Lev Walkin | f748451 | 2004-10-13 09:13:56 +0000 | [diff] [blame] | 137 | * -X command line option added to asn1c to generate XML DTD. |
Lev Walkin | 144db9b | 2004-10-12 23:26:53 +0000 | [diff] [blame] | 138 | * Empty SEQUENCE and SET clauses are now allowed. |
Lev Walkin | 451af47 | 2004-10-25 22:58:49 +0000 | [diff] [blame] | 139 | * Removed confusion between &xNN; and &#xNN; in enber and unber. |
Lev Walkin | 3645c1c | 2004-10-31 00:11:50 +0000 | [diff] [blame] | 140 | * Removed order dependency in DEFAULT references to ENUMERATED |
| 141 | identifiers (./tests/68-*-OK.asn1). |
Lev Walkin | 5766f52 | 2005-01-17 12:35:57 +0000 | [diff] [blame] | 142 | * ber_dec_rval_t renamed into asn_dec_rval_t: more generality. |
Lev Walkin | 659c63b | 2005-01-17 11:40:49 +0000 | [diff] [blame] | 143 | * Extensions in CHOICE types are properly marked as non-pointers |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 144 | (Test case 59) (Severity: medium; Security impact: medium) |
Lev Walkin | 659c63b | 2005-01-17 11:40:49 +0000 | [diff] [blame] | 145 | Reported by <roman.pfender@sdm.de>. |
Lev Walkin | 5766f52 | 2005-01-17 12:35:57 +0000 | [diff] [blame] | 146 | * Tagged CHOICE type is now supported again. |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 147 | (Test case 59) (Severity: low; Security impact: low) |
Lev Walkin | 5766f52 | 2005-01-17 12:35:57 +0000 | [diff] [blame] | 148 | Reported by <orlinkata@dir.bg>. |
Lev Walkin | c4676a8 | 2004-11-16 09:46:00 +0000 | [diff] [blame] | 149 | * Implemented der_encode_to_buffer() procedure. |
Lev Walkin | 144db9b | 2004-10-12 23:26:53 +0000 | [diff] [blame] | 150 | |
| 151 | 0.9.7.1: 2004-Oct-12 |
| 152 | |
| 153 | * Fixed automatic tagging for extensions of compound types. |
| 154 | * Fixed ParametrizedReference parsing: {} are now recognized. |
| 155 | |
Lev Walkin | 07f388c | 2004-10-11 11:43:08 +0000 | [diff] [blame] | 156 | 0.9.7: 2004-Oct-11 |
Lev Walkin | 0ca7aec | 2004-10-02 00:12:11 +0000 | [diff] [blame] | 157 | |
Lev Walkin | 642962a | 2005-02-24 22:37:07 +0000 | [diff] [blame] | 158 | * Finished CXER implementation by adding SET and SET OF canonical |
| 159 | ordering support. |
Lev Walkin | c2c9a22 | 2004-10-03 10:55:08 +0000 | [diff] [blame] | 160 | * Fixed unber(1) limits controlling logic. |
Lev Walkin | 0ca7aec | 2004-10-02 00:12:11 +0000 | [diff] [blame] | 161 | * Removed C99'izm from the x509dump, now understood by older compilers. |
Lev Walkin | 2eadb82 | 2004-10-02 15:55:20 +0000 | [diff] [blame] | 162 | * Enhanced UTF8String constraint validation, now it checks |
| 163 | for the minimal encoding length; API of UTF8String_length() changed. |
Lev Walkin | 6d67d91 | 2004-10-05 06:39:35 +0000 | [diff] [blame] | 164 | * Fixed SEQUENCE dealing with premature termination of the |
| 165 | optionals-laden indefinite length structure. The code was previously |
| 166 | refusing to parse such structures. |
Lev Walkin | 07f388c | 2004-10-11 11:43:08 +0000 | [diff] [blame] | 167 | * Fixed explicitly tagged ANY type encoding and decoding |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 168 | (Severity: medium; Security impact: low). |
Lev Walkin | 6d67d91 | 2004-10-05 06:39:35 +0000 | [diff] [blame] | 169 | * Fixed CHOICE code spin when indefinite length structures appear |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 170 | in the extensions (Severity: medium; Security impact: medium). |
Lev Walkin | 6d67d91 | 2004-10-05 06:39:35 +0000 | [diff] [blame] | 171 | Reported by <siden@ul-gsm.ru>. |
Lev Walkin | bbd9325 | 2004-10-12 05:57:23 +0000 | [diff] [blame] | 172 | * BIT STRING now stores the number of unused octets in a separate field. |
Lev Walkin | 0ca7aec | 2004-10-02 00:12:11 +0000 | [diff] [blame] | 173 | |
Lev Walkin | 227589f | 2004-09-29 13:30:32 +0000 | [diff] [blame] | 174 | 0.9.6: 2004-Sep-29 |
Lev Walkin | 33cded1 | 2004-09-19 19:40:52 +0000 | [diff] [blame] | 175 | |
Lev Walkin | 227589f | 2004-09-29 13:30:32 +0000 | [diff] [blame] | 176 | * Added several security firewalls: decoder's stack usage control |
| 177 | and the stricter checking of the TLV length. |
Lev Walkin | cae0a16 | 2004-09-22 16:06:52 +0000 | [diff] [blame] | 178 | * Implemented BASIC-XER encoding support (X.693). |
Lev Walkin | c0fde9b | 2004-09-24 21:06:19 +0000 | [diff] [blame] | 179 | * Implemented unber(1) and enber(1) for BER<->XML translation. |
Lev Walkin | cae0a16 | 2004-09-22 16:06:52 +0000 | [diff] [blame] | 180 | * Implemented CGI for online ASN.1 compilation (asn1c/webcgi). |
Lev Walkin | c0fde9b | 2004-09-24 21:06:19 +0000 | [diff] [blame] | 181 | * Implemented the sample X.509 decoder (./examples/sample.source.PKIX1). |
Lev Walkin | cae0a16 | 2004-09-22 16:06:52 +0000 | [diff] [blame] | 182 | * NamedType is now supported for SET OF/SEQUENCE OF type. |
Lev Walkin | 78a463a | 2004-09-26 13:16:56 +0000 | [diff] [blame] | 183 | * Added -fno-constraints option to asn1c, which disabled generation of |
| 184 | ASN.1 subtype constraints checking code. |
Lev Walkin | cae0a16 | 2004-09-22 16:06:52 +0000 | [diff] [blame] | 185 | * Added ASN1C_ENVIRONMENT_VERSION and get_asn1c_environment_version(). |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 186 | * Fixed ANY type decoding (Severity: high; Security impact: low). |
Lev Walkin | c0fde9b | 2004-09-24 21:06:19 +0000 | [diff] [blame] | 187 | * Fixed BER decoder restartability problem with certain primitive |
| 188 | types (BOOLEAN, INTEGER, and REAL). The problem occured when the |
| 189 | encoding of such type is split between several bytes. |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 190 | (Severity: high; Security impact: low) |
Lev Walkin | 227589f | 2004-09-29 13:30:32 +0000 | [diff] [blame] | 191 | * Support for cross-referencing type definitions (updated ./tests/43-*). |
Lev Walkin | 36ee690 | 2004-09-27 20:56:03 +0000 | [diff] [blame] | 192 | * Fixed pretty-printing of the REAL type. Added lots of test cases. |
Lev Walkin | 227589f | 2004-09-29 13:30:32 +0000 | [diff] [blame] | 193 | * Renamed asn1_* into asn_* in function and type names. |
Lev Walkin | c0fde9b | 2004-09-24 21:06:19 +0000 | [diff] [blame] | 194 | * Updated documentation. |
Lev Walkin | 33cded1 | 2004-09-19 19:40:52 +0000 | [diff] [blame] | 195 | |
Lev Walkin | 93e9fe3 | 2004-09-17 06:46:10 +0000 | [diff] [blame] | 196 | 0.9.5: 2004-Sep-17 |
Lev Walkin | b4adfd3 | 2004-09-13 08:32:15 +0000 | [diff] [blame] | 197 | |
| 198 | * Fixed CER (common BER) decoder code. See check-25.c/VisibleString |
| 199 | case for details. X.690 specifies that inner structures in BER |
| 200 | encoding must be tagged by stripping off the outer tag for each |
| 201 | subsequent containment level. See also X.690: 8.21.5.4 and |
| 202 | the "Spouse" case in A.3. |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 203 | (Severity: medium; Security impact: low) |
Lev Walkin | b4adfd3 | 2004-09-13 08:32:15 +0000 | [diff] [blame] | 204 | * Added converters between any generic type and the ANY type. |
Lev Walkin | 5caf038 | 2004-09-14 02:46:22 +0000 | [diff] [blame] | 205 | * Parser fixed: Information Object Class fields may be taged. |
| 206 | * Parser fixed: tagged types inside SEQUENCE OF/SET OF support. |
Lev Walkin | f6ac3c8 | 2004-09-15 12:01:04 +0000 | [diff] [blame] | 207 | * Improved DEFAULT Value parsing and pretty-printing. |
| 208 | * Condition on distinct tags checker was incorrectly dealing with |
| 209 | tagged CHOICE types. Fixed. Modified tests/37-indirect-choice-OK.asn1 |
Lev Walkin | 8dd0eed | 2004-09-17 06:32:12 +0000 | [diff] [blame] | 210 | * Improved type name generation code ("struct foo" vs "foo_t"). |
Lev Walkin | f6ac3c8 | 2004-09-15 12:01:04 +0000 | [diff] [blame] | 211 | * Fixed constraint checking code incorrectly dealing with imported |
| 212 | types with constraint values defined in other modules. |
Lev Walkin | c78cbfb | 2004-09-14 12:47:45 +0000 | [diff] [blame] | 213 | * Real REAL support! (Haven't tested denormals support yet!) |
| 214 | See skeletons/tests/check-REAL.c |
Lev Walkin | b4adfd3 | 2004-09-13 08:32:15 +0000 | [diff] [blame] | 215 | |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 216 | 0.9.4: 2004-Sep-10 |
Lev Walkin | 4a72705 | 2004-09-10 09:38:17 +0000 | [diff] [blame] | 217 | |
| 218 | * More support for recursive type definitions. |
| 219 | * Explicit support for ANY type decoding. |
Lev Walkin | 906654e | 2004-09-10 15:49:15 +0000 | [diff] [blame] | 220 | * Refactored tags processing code. |
| 221 | * Fixed constraints checking code: non-exploitable buffer overflow. |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 222 | (Severity: medium; Security impact: low) |
Lev Walkin | 4a72705 | 2004-09-10 09:38:17 +0000 | [diff] [blame] | 223 | |
Lev Walkin | 6ce1232 | 2004-09-08 02:49:06 +0000 | [diff] [blame] | 224 | 0.9.3: 2004-Sep-07 |
Lev Walkin | 8059bc4 | 2004-08-26 06:19:23 +0000 | [diff] [blame] | 225 | |
Lev Walkin | 7b1b9ab | 2004-09-05 10:41:39 +0000 | [diff] [blame] | 226 | * Extended constraints support in parametrized types. |
| 227 | * Better support for parametrization and constraints handling. |
Lev Walkin | 699ed4b | 2004-09-08 00:27:33 +0000 | [diff] [blame] | 228 | * Better handling of recursive type definitions. |
Lev Walkin | 9d2cd72 | 2004-09-04 05:02:31 +0000 | [diff] [blame] | 229 | * Added support for ANY type. |
Lev Walkin | 8059bc4 | 2004-08-26 06:19:23 +0000 | [diff] [blame] | 230 | |
Lev Walkin | 4ce78ca | 2004-08-25 01:34:11 +0000 | [diff] [blame] | 231 | 0.9.2: 2004-Aug-24 |
| 232 | |
Lev Walkin | 51c3823 | 2004-08-25 02:06:48 +0000 | [diff] [blame] | 233 | * More flexible subtype constraints handling, with relaxed |
| 234 | PER visibility rules for actual constraints checking code generator. |
Lev Walkin | 4ce78ca | 2004-08-25 01:34:11 +0000 | [diff] [blame] | 235 | * Indirect references in constraints resolver code fixed. |
| 236 | * Avoided compilation warning on gcc 3.3.3 systems. |
Lev Walkin | c74ea22 | 2004-08-25 02:27:47 +0000 | [diff] [blame] | 237 | * Better ValueSet printing. |
Lev Walkin | 4ce78ca | 2004-08-25 01:34:11 +0000 | [diff] [blame] | 238 | |
Lev Walkin | fa66e08 | 2004-08-24 05:25:57 +0000 | [diff] [blame] | 239 | 0.9.1: 2004-Aug-23 |
| 240 | |
| 241 | * Documentation updated: doc/asn1c-usage.pdf |
| 242 | * Fixed OBJECT IDENTIFIER human-readable printing. |
| 243 | Reported by <siden@ul-gsm.ru>. |
| 244 | |
Lev Walkin | 09e8522 | 2004-08-23 09:24:40 +0000 | [diff] [blame] | 245 | 0.9: 2004-Aug-23 |
Lev Walkin | 3d0b5a3 | 2004-08-18 05:43:55 +0000 | [diff] [blame] | 246 | |
| 247 | * Reworked subtype constraints handling, aiming at PER-applicability. |
Lev Walkin | 45b2fdf | 2004-08-19 13:35:01 +0000 | [diff] [blame] | 248 | * BOOLEAN and NULL are now implemented in terms of native int type. |
| 249 | * Compiler now links in only necessary skeleton files. |
Lev Walkin | 9bc3668 | 2004-08-20 13:38:25 +0000 | [diff] [blame] | 250 | * -t option added to asn1c to ease manual BER/CER/DER decoding. |
Lev Walkin | 08079b0 | 2004-08-22 03:25:24 +0000 | [diff] [blame] | 251 | * Added support COMPONENTS OF construct. |
| 252 | * Numerous parser fixes and enhancements. |
Lev Walkin | 16835b6 | 2004-08-22 13:47:59 +0000 | [diff] [blame] | 253 | * Better constraint failure reporting. |
Lev Walkin | 3d0b5a3 | 2004-08-18 05:43:55 +0000 | [diff] [blame] | 254 | |
Lev Walkin | 1ef7985 | 2004-08-18 09:05:12 +0000 | [diff] [blame] | 255 | 0.8.19: 2004-Aug-18 |
| 256 | |
| 257 | * Fixed BER encoder (problem encoding large tag values) |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 258 | (Severity: medium; Security impact: low) |
Lev Walkin | 1ef7985 | 2004-08-18 09:05:12 +0000 | [diff] [blame] | 259 | |
Lev Walkin | b0892fe | 2004-08-13 12:39:17 +0000 | [diff] [blame] | 260 | 0.8.18: 2004-Aug-12 |
| 261 | |
| 262 | * Parser: fixed multiple IMPORTS problem (incorrect assertion). |
| 263 | * Parser: constraints extensibility parsing fix. |
| 264 | |
Lev Walkin | 6439972 | 2004-08-11 07:17:22 +0000 | [diff] [blame] | 265 | 0.8.17: 2004-Aug-11 |
Lev Walkin | d8b940c | 2004-08-11 05:35:51 +0000 | [diff] [blame] | 266 | |
| 267 | * Improved compiler output: duplicate #includes eliminated. |
Lev Walkin | 6439972 | 2004-08-11 07:17:22 +0000 | [diff] [blame] | 268 | * Win32 portability fixes. |
Lev Walkin | 3af51b4 | 2004-08-11 08:11:50 +0000 | [diff] [blame] | 269 | * More compatibility with C++ or non-GCC compilers. |
Lev Walkin | d8b940c | 2004-08-11 05:35:51 +0000 | [diff] [blame] | 270 | |
Lev Walkin | ab42ef9 | 2004-07-22 12:19:42 +0000 | [diff] [blame] | 271 | 0.8.16: 2004-Jul-22 |
| 272 | |
| 273 | * Fixed application-level problem in SET OF/SEQUENCE OF array cleanup. |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 274 | (Severity: medium; Security impact: low) |
Lev Walkin | 9900636 | 2004-08-07 03:52:26 +0000 | [diff] [blame] | 275 | * Improved asn_GT2time() and added asn_time2{GT,UT}() functions. |
Lev Walkin | f5dda9c | 2004-08-07 05:01:45 +0000 | [diff] [blame] | 276 | * BIT STRING pretty-printing. |
Lev Walkin | ab42ef9 | 2004-07-22 12:19:42 +0000 | [diff] [blame] | 277 | |
Lev Walkin | f7a6c6d | 2004-07-21 03:55:44 +0000 | [diff] [blame] | 278 | 0.8.15: 2004-Jul-20 |
Lev Walkin | 29a6226 | 2004-07-15 10:52:58 +0000 | [diff] [blame] | 279 | |
| 280 | * Fixed parser: memory leak in free_struct code for SET OF/SEQUENCE OF. |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 281 | (Severity: high; Security impact: medium) |
Lev Walkin | c698eb8 | 2004-07-21 04:15:24 +0000 | [diff] [blame] | 282 | * Fixed parser: invalid memory reference in code constructing tags. |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 283 | (Test case 48) (Severity: high; Security impact: medium) |
Lev Walkin | f7a6c6d | 2004-07-21 03:55:44 +0000 | [diff] [blame] | 284 | When encoding data for certain ASN.1 specifications containing |
| 285 | explicit tags, the tag is always written incorrectly due to |
| 286 | incorrect memory reference. The encoding will almost always produce |
| 287 | unparseable data and might well reference unmapped region so program |
| 288 | would produce segmentation violation. Fortunately, memory is |
| 289 | read, not written, so remote exploits cannot execute arbitrary |
| 290 | code and triggering unmapped memory reference is highly unlikely |
| 291 | even it attacker knows the code (basically, the compiler should place |
| 292 | asn1_DEF_... right before the end of the mapped memory region, which |
| 293 | is extremely rare). |
Lev Walkin | db13f51 | 2004-07-19 17:30:25 +0000 | [diff] [blame] | 294 | * Improved INTEGER type printing. |
Lev Walkin | 29a6226 | 2004-07-15 10:52:58 +0000 | [diff] [blame] | 295 | |
Lev Walkin | 3563148 | 2004-07-01 00:52:50 +0000 | [diff] [blame] | 296 | 0.8.14: 2004-Jun-30 |
| 297 | |
| 298 | * Fixed compiler: extensibility of CHOICE and SET type has not been |
| 299 | taken into account during table construction. |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 300 | (Test case 47) (Severity: high; Security impact: low) |
Lev Walkin | 3563148 | 2004-07-01 00:52:50 +0000 | [diff] [blame] | 301 | |
Lev Walkin | d0d63f0 | 2004-06-28 21:22:20 +0000 | [diff] [blame] | 302 | 0.8.13: 2004-Jun-29 |
| 303 | |
| 304 | * Fixed compiler: the skip values for IMPLICIT tagging were broken |
| 305 | in some complex cases where one type is defined using another. |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 306 | (Test case 46) (Severity: medium; Security impact: low). |
Lev Walkin | d0d63f0 | 2004-06-28 21:22:20 +0000 | [diff] [blame] | 307 | * Added -fknown-extern-type command line parameter to asn1c. |
| 308 | * Removed -N command line flag and underlying functionality |
| 309 | to honor KISS principle. |
| 310 | |
Lev Walkin | e882688 | 2004-06-18 00:03:54 +0000 | [diff] [blame] | 311 | 0.8.12: 2004-Jun-17 |
Lev Walkin | 715f45c | 2004-06-14 13:53:32 +0000 | [diff] [blame] | 312 | |
Lev Walkin | e882688 | 2004-06-18 00:03:54 +0000 | [diff] [blame] | 313 | * RELATIVE-OID and OBJECT IDENTIFIER encoders/decoders are not bound |
| 314 | anymore to an integer type of specific size (unsigned long). The |
| 315 | size of an integer must be provided explicitly. |
| 316 | See {OBJECT_IDENTIFIER|RELATIVE_OID}_{get|set}_arcs(). |
Lev Walkin | 715f45c | 2004-06-14 13:53:32 +0000 | [diff] [blame] | 317 | * SEQUENCE BER decoder fixed again for complex CHOICE case |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 318 | (Test case 44) (Severity: medium; Security impact: low). |
Lev Walkin | 715f45c | 2004-06-14 13:53:32 +0000 | [diff] [blame] | 319 | |
Lev Walkin | 67c2aec | 2004-06-05 08:47:18 +0000 | [diff] [blame] | 320 | 0.8.11: 2004-Jun-05 |
| 321 | |
Lev Walkin | 2855173 | 2004-07-21 04:28:32 +0000 | [diff] [blame] | 322 | * Enforced stricter conformance with C standards. |
Lev Walkin | 715f45c | 2004-06-14 13:53:32 +0000 | [diff] [blame] | 323 | * SEQUENCE BER decoder is now equipped with the sorted map |
Lev Walkin | 886e22e | 2004-06-06 07:20:37 +0000 | [diff] [blame] | 324 | in case of complex CHOICE descendants. Test case 44 created. |
Lev Walkin | 67c2aec | 2004-06-05 08:47:18 +0000 | [diff] [blame] | 325 | |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 326 | 0.8.10: 2004-Jun-02 |
| 327 | |
| 328 | * Added const qualifier where necessary. |
| 329 | * Changed position of outmost_tag fetcher within asn1_TYPE_descriptor_t |
| 330 | structure. |
| 331 | |
| 332 | 0.8.9: 2004-May-26 |
| 333 | |
| 334 | * Added *_{get|set}_arcs_*() functions for OBJECT IDENTIFIER |
| 335 | and RELATIVE-OID, together with test cases. |
| 336 | |
| 337 | 0.8.8: 2004-May-09 |
| 338 | |
| 339 | * Introduced subtype constraints support (incomplete!). |
| 340 | * Fixed compiler. If the last member of the SEQUENCE is OPTIONAL |
| 341 | and absent in the encoding, and the type is extensible (...) or |
| 342 | EXTENSIBILITY IMPLIED flag is set, then the structure could not |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 343 | be correctly decoded. (Severity: high; Security impact: low). |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 344 | * Compiler: fixed recursive ASN.1 types inclusion (Severity: low, |
| 345 | Security impact: none). |
| 346 | * Parser: IMPORTS/FROM fixes, now allowing multiple sections. |
Lev Walkin | 30045c3 | 2004-10-26 10:44:18 +0000 | [diff] [blame] | 347 | * NEW PLATFORM: Compiled and tested on MacOS X (@ PowerPC). |
| 348 | No major portability issues experienced. |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 349 | |
| 350 | 0.8.7: 2004-Apr-11 T-version-0-8-7 |
| 351 | |
| 352 | * Fixed SEQUENCE BER decoder: if the last member of the SEQUENCE is |
| 353 | OPTIONAL and absent in the encoding, RC_FAIL was returned instead |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 354 | of RC_OK (Severity: high; Security impact: low). |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 355 | * Added test case to check the above problem. |
| 356 | * Added test case to check -fnative-integers mode. |
| 357 | |
| 358 | 0.8.6: 2004-Apr-03 T-version-0-8-6 |
| 359 | |
| 360 | * Fixed compiler output for embedded ASN.1 structures. |
| 361 | |
| 362 | 0.8.5: 2004-Mar-28 T-version-0-8-5 |
| 363 | |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 364 | * Fixed ber_tlv_length() computation problem (Severity: high, |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 365 | Security impact: none). |
| 366 | Reported by <vss@high.net.ru> |
| 367 | |
| 368 | 0.8.4: 2004-Mar-22 |
| 369 | |
| 370 | * Removed RC_ITAG enumeration element from BER decoder. |
| 371 | This return code did not have much practical value. |
| 372 | |
| 373 | 0.8.3: 2004-Mar-14 T-version-0-8-3 |
| 374 | |
| 375 | * Fixed SET::BER decoder: restart after reaching a buffer boundary |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 376 | weas broken (Severity: high; Security impact: low). |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 377 | * Fixed OCTET STRING::BER decoder: restart after reaching a buffer |
Lev Walkin | 75b1bef | 2005-04-25 19:38:21 +0000 | [diff] [blame] | 378 | boundary was broken (Severity: high; Security impact: low). |
Lev Walkin | f15320b | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 379 | Reported by <vss@high.net.ru> |
| 380 | * Added test cases to check decoders restartability. |
| 381 | * Slightly more general INTEGER2long decoder. |
| 382 | * Allowed nested /* C-type */ comments, as per X.680:2002. |
| 383 | |
| 384 | 0.8.2: 2004-Mar-01 T-version-0-8-2 |
| 385 | |
| 386 | * Fixed SEQUENCE BER decoder: an OPTIONAL element was required, where |
| 387 | should not have been (Severity: major; Security impact: low). |
| 388 | * Fixed print_struct pointer inheritance. |
| 389 | * Added -fno-c99 and -funnamed-unions |
| 390 | |
| 391 | 0.8.1: 2004-Feb-22 |
| 392 | |
| 393 | * -R switch to asn1c: Omit support code, compile only the tables. |
| 394 | * Introduced NativeInteger pseudotype. |
| 395 | * Corrected the informal print_struct()'s output format. |
| 396 | |
| 397 | 0.8.0: 2004-Feb-03 T-version-0-8-0 |
| 398 | |
| 399 | * Some documentation is created (a .pdf and a short manual page). |
| 400 | * Last touches to the code. |
| 401 | |
| 402 | 0.7.9: 2004-Feb-01 T-version-0-7-9 |
| 403 | |
| 404 | * Human readable printing support. |
| 405 | * Support for implicit (standard) constraints. |
| 406 | |
| 407 | 0.7.8: 2004-Jan-31 |
| 408 | |
| 409 | * SET now rejects duplicate fields in the data stream. |
| 410 | |
| 411 | 0.7.7: 2004-Jan-25 |
| 412 | |
| 413 | * Added types: GeneralizedTime and UTCTime. |
| 414 | |
| 415 | 0.7.6: 2004-Jan-24 T-version-0-7-6 |
| 416 | |
| 417 | * DER encoding of a SET OF now involves dynamic sorting. |
| 418 | |
| 419 | 0.7.5: 2004-Jan-24 T-version-0-7-5 |
| 420 | |
| 421 | * DER encoding of a SET with untagged CHOICE |
| 422 | now involves dynamic sorting. |
| 423 | |
| 424 | 0.7.0: 2004-Jan-19 T-version-0-7-0 |
| 425 | |
| 426 | * A bunch of DER encoders is implemented. |
| 427 | |
| 428 | 0.6.6: 2004-Jan-11 |
| 429 | |
| 430 | * Implemented CHOICE decoder. |
| 431 | * Implemented destructors support. |
| 432 | |
| 433 | 0.6.5: 2004-Jan-03 |
| 434 | |
| 435 | * Implemented SET decoder. |
| 436 | * Implemented SET OF and SEQUENCE OF decoders. |
| 437 | |
| 438 | 0.6.4: 2003-Dec-31 |
| 439 | |
| 440 | * Implemented BOOLEAN, NULL, ENUMERATED decoders. |
| 441 | * Implemented OCTET STRING decoder. |
| 442 | * Implemented BIT STRING decoder. |
| 443 | |
| 444 | 0.6: 2003-Dec-30 |
| 445 | |
| 446 | * First decoding of a BER-encoded structure! |
| 447 | |
| 448 | 0.5: 2003-Dec-28 |
| 449 | |
| 450 | * Framework and most of the compiler backbone coding done. |
| 451 | |
| 452 | 0.1: 2003-Nov-28 |
| 453 | |
| 454 | * Programming started. |
Lev Walkin | 6d67d91 | 2004-10-05 06:39:35 +0000 | [diff] [blame] | 455 | |
| 456 | === Bug importance disclosure terms === |
| 457 | |
| 458 | SEVERITY. |
| 459 | This term applies to the frequence the particular construct is used |
| 460 | in the real world. The higher the frequency, the more chances of triggering |
| 461 | this bug. |
| 462 | low: The ASN.1 specifications which could trigger |
| 463 | this kind of bug are not widespread. |
| 464 | medium: The particular ASN.1 construct is used quite often, |
| 465 | so the chance of triggering an error is considerable. |
| 466 | high: This fix is considered urgent, or the particular ASN.1 |
| 467 | construct triggering this bug is in wide use. |
| 468 | |
| 469 | SECURITY IMPACT. |
| 470 | This term applies to the amount of potential damage a bug exploitation |
| 471 | could cause. |
| 472 | low: The local exploitation is unlikely; the remote exploitation |
| 473 | is impossible. |
| 474 | medium: The remote exploitation is possible when a particular ASN.1 |
| 475 | construct is being used. If possible, only hard failure, spin |
| 476 | or memory leak are the possible outcome: no shellcode |
| 477 | injection could possibly be carried by the attack. |
| 478 | high: The remote shellcode injection is possible, or the bug is |
| 479 | otherwise remotely exploitable for most specifications. |
| 480 | |