|  [30-April-2012] ASN1C v6.5.2 New Release 
 ASN1C v6.5.x Change LogThe current production release version of ASN1C is 6.5.3, released on July 9, 2012. Changes in this release include the following:ASN1C 6.5.2 was released on April 30, 2012. Changes in this release include the following:Fixed a potential stack overflow caused by mutual recursion when encoding OCTET STRINGSwith size constraints exceeding 64k in the Java and C# runtime libraries (ASN-4648).Fixed a potential memory corruption in the C/C++ runtime that could occur when explicitly requesting a memory reallocation that would transform the pointer from a managed block to a raw block (ASN-4629).Addressed some behaviors of the Java Runtime (ASN-4626):Fixed a number of NullPointerExceptions that could be generated when checking the hash codes of different types in the Java runtime.Adjusted the creation of Asn1Timeclasses to throw an exception when passing in an invalid time string. An invalid format exception was usually thrown after the time class was used, not when it was created.Updated the Asn1Timedocumentation to explain that uninitialized time objects were not considered equal.
Fixed a bug in copy code that could cause memory corruption when copying OCTET STRINGs (ASN-4606).Fixed a bug in which ASN1C would sometimes incorrectly report missing definitions in a module (ASN-4598).Fixed a few sample ASN.1 modules that were missing definitions (ASN-4598).Updated comparisons with OSNULLINDEXto remove a spurious warning about comparisons with unsigned integers (ASN-4595).Fixed a warning about code that included OSRTStreamIF.h(ASN-4595).Updated Java Asn1Enumeratedclasses to prevent race conditions in multi-threaded environments and to protect member variables from unwitting modification (ASN-4573).Fixed several different issues with Java code generation and the runtime (ASN-4550):Corrected several NullPointerExceptionfailures when callingequals()methods.Corrected inconsistent behavior of equals()inAsn1Timesubclasses.Corrected validatemethods for numeric and IA5 string types.Added equals()methods for EXTERNAL types.Ensured consistency for hashCode()methods.
Fixed a warning when compiling code that included ASN1CBitStr.h(ASN-4542).Fixed a bug in which imported object identifiers whose arc names were C/C++ reserved keywords would be improperly resolved by the compiler (ASN-4523).Fixed a problem with printing warnings to the standard output when –warningswas used on the command-line (ASN-4519).Fixed an exception that could occur when the GetTime() method of the C# Asn1UTCTime class was called (ASN-4514).No longer report "XML element with more than 1 explicit tag" errors when generating code from XSD. This was an internal limitation that has been lifted (ASN-4504).Ensured that errors would be reported to standard out as well as in the output file when permitted alphabet constraints contain characters that are not a part of the canonical set (ASN-4497).Fixed a possible use-after-free error that appears in the C common runtime after attempting to decode a message populated with random data; this can occur when initialization functions are explicitly disabled (ASN-4494).Fixed generation of XSD from ASN.1. When generating XSD, given a TypeAssignment such as MyTypeAlias ::= MyType where MyType is a sequence of integer, the xsd type generated for MyTypeAlias should be a simpleType, not a complexType, because it is defined as an xsd:restriction on MyType, which is a simple type (ASN-4451).Fixed a bug in which C/C++ PER encoders were not adding a trailing length determinant when encoding octet strings whose size was an exact multiple of 16k (ASN-4435).Fixed a bug in C/C++ compact PER decoding in which dynamic octet strings for CONTAININGtypes were not properly returning an error status when an error occurred (ASN-4431).Added support for REALvalue range constraint checks that use simple values (e.g., 1.5) as range end points (ASN-4408).Added Asn1SeekableStreamto C# runtime library. This internal class supports seeking on streams that do not usually support it, such asNetworkStreams (ASN-4359).Fixed a bug in C/C++ test code generation in which the correct type for a table-constrained open type element was not always selected (ASN-4088).Fixed handling of XSD date and time types when generating code from XSD or when compiling ASN.1 that uses the corresponding types defined by X.694 in the XSD module. The old behavior treated these types as ASN.1 TIME subtypes which have different BER/PER encodings than called for by X.694.Changed the ASN1C compiler so a status of -1 is returned to the operating system when the compiler binary terminates if syntax errors are detected in a module. Previously, the compiler binary would return 0 in such situations.
 ASN1C 6.5.1 was released on March 7, 2012. Changes in this release include the following:Fixed a bug in which using –oand–maxlinestogether could cause header files to be overwritten (ASN-4407).Fixed a bug with C/C++ PER decoding in which fixed-length SEQUENCE OFtypes would be improperly decoded (ASN-4382).Fixed a possible crash in the construction of C++ bit strings when they were used as PDU data types (ASN-4373).Updated rtxPrintToStreamfunctions so that global print streams would properly indent. Global print streams are not thread safe; context-specific streams are recommended in their place (ASN-4362).Updated the Asn1BerDecodeBufferclass in the C# runtime to ensure that underlying streams that did not supportSeekwould still decode properly (ASN-4359).Changed –noAmbigTagoption to–allow-ambig-tags. References to the old option will still work (ASN-4352).Updated Java exceptions so that they would extend RuntimeException, making them unchecked. This helps to facilitate upgrades from older versions (ASN-4351).Fixed a problem with casing of the root element when compiling XSD. In some cases, the element name would be capitalized when it should have been uncapitalized (ASN-4342).Added the generation of default value assignments for REALtypes for all languages in ASN1C. This was causing a bug in PER decoding (ASN-4293).Updated the character string equalsmethods to test the types of the strings, returningfalseif the types are different. Previously, for example, anAsn1PrintableStringandAsn1NumericStringwould be considered equal if they had the same string representation (ASN-4290).Added hashCodemethods to all types in the Java run time that inherit fromAsn1Type. Java code generation was changed to generate ahashCodemethod forSEQUENCE/OFandSET/OFtypes when–equalswas specified on the command-line (ASN-4290).Fixed a problem in the Java / C# code generation that could cause decoding errors when reading named, sized BIT STRINGs (ASN-4260).
 ASN1C 6.5.0 was released on January 20, 2012. New features in this release include the following:A complete Windows 64-bit (x64) distribution is now available containing both compiler and run-time libraries built in 64-bit mode.Support for Extended-XER ATTRIBUTE and BASE64 instructions added.XER support for C/C++ has been changed to use the same run-time library as XML. XER/XML format can now be switched via a run-time switch. Support for SAX-based XER as existed previously is now considered deprecated.Fixed an issue with floating license checking in which the both the GUI and command-line executable occupied a slot thus providing an incorrect concurrent license usage count.Resolved a stack corruption in Solaris Forte libraries when attempting to create a control class for a PDU; this affected non-optimized libraries only (ASN-4167).IA5Stringvalidation in Java adjusted to fail if the ASCII value was greater than 127 (0x7E) per ITU-T T.50 (ASN-4201).Fixed a bug in C code generation that could cause invalid print-to-stream functions to be generated when compiling an XSD (ASN-4184).Updated Java code generation to add string validation to production types, not just elements within SEQUENCEs (ASN-4097).Fixed a test-code generation failure when EXTERNALtypes were used inside ofCHOICEs, as in ANSI TCAP (ASN-4087).Fixed an error in writer and reader generation when an EXTERNALtype was incorrectly selected as a PDU (ASN-4087).The debug run-time C and C++ DLLs for Visual Studio 2008 and Visual Studio 2010 in Windows kits are now provided as files with names ending in d (e.g., asn1berd.dll) in addition to files with names not having the d (e.g., asn1ber.dll) that were used previously. The next major release of ASN1C will just provide the files with names ending in d for these two platforms. (ASN-4079).
 Use of Visual Studio 2008 as Default Compiler on Windows.Addition of a Visual Studio Plug-in for Windows.Improved Support for Android.Ability to Generate C# Project Files.C/C++ Code Generation Changes for Optimal Size Constraint Handling<.Deferred Decoding in Java/C#.Real-time Random Test Code Generation in C/C++.Partial Extended XER (E-XER) Support.
 |