eSNACC v1.7 Patch 4

Files Changed:
SNACC/c-lib/inc/asn-any.h [CR-56]
SNACC/c-lib/inc/gen-buf.h [CR-43]
SNACC/c-lib/inc/asn-bits.h [CR-32]
SNACC/c-lib/inc/exp-buf.h [CR-43]
SNACC/c-lib/src/asn-any.c [CR-53]
SNACC/c-lib/src/asn-bits.c [CR-32]
SNACC/c-lib/src/exp-buf.c [CR-43]
SNACC/c++-lib/inc/asn-chartraits.h [CR-52]
SNACC/c++-lib/inc/asn-listset.h [CR-52]
SNACC/c++-lib/inc/asn-incl.h [CR-52]
SNACC/c++-lib/src/asn-int.cpp [CR-44]
SNACC/c++-lib/src/asn-bits.cpp [CR-50]
SNACC/c++-lib/src/asn-buf.cpp [CR-52]
SNACC/c++-lib/src/asn-len.cpp [CR-52]
SNACC/c++-lib/src/asn-stringtype.cpp [CR-54]
SNACC/c++-lib/src/vda_threads2.cpp
SNACC/compiler/back-ends/c-gen/gen-dec.c [CR-40,CR-55]
SNACC/compiler/back-ends/c-gen/rules.c [CR-56]
SNACC/compiler/back-ends/c-gen/util.c [CR-55]
SNACC/c-examples/vdatestC/vdatestC.c
SNACC/c++-examples/src/vdatest.cpp
SNACC/c++-examples/src/inttest.cpp
SNACC/c++-examples/src/testsetsorting.cpp
SNACC/c++-examples/src/makefile

Fixes:
CR-32: Fixed a bug where the C library BEncAsnBitsContent() function incorrectly encoded empty BIT STRINGs.
CR-40: Fixed a bug with C-code generation where the tag decoding code for a choice within a set is incorrect.
CR-43: Fixed ExpBufSetWriteError() function to pass in a double pointer instead of a single pointer to preserve allocated memory.
CR-44: Fixed a bug where numbers greater than 4 bytes were not passing constraint tests even though the range was defined as up to MAX, which is much greater than 4 bytes.
CR-50: AsnBits::SetSize() function now uses a safer memory copy instead of a string copy when re-sizing.
CR-52: Code now compiles on GCC compilers up to v4.1.1
CR-53: Fixed memory leaks when freeing an AsnAny data type
CR-54: Fixed bug in IA5String constraint checking which was ignoring null characters when checking the size.
CR-55: Fixed a bug in generated C code when a tagged choice is within a sequence.
CR-56: Fixed a bug in the AsnAny C code generation where an optional field is incorrectly checked for its existence.

The patch has been tested on Linux/Windows without issue.
