Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/coda-2.21.2/realloc.c
Examining data/coda-2.21.2/strncasecmp.c
Examining data/coda-2.21.2/python/codac.c
Examining data/coda-2.21.2/tools/codafind/codafind.c
Examining data/coda-2.21.2/tools/codadd/codadd-doc.c
Examining data/coda-2.21.2/tools/codadd/codadd-xmlschema.c
Examining data/coda-2.21.2/tools/codadd/codadd.c
Examining data/coda-2.21.2/tools/codadd/codadd-definition.c
Examining data/coda-2.21.2/tools/codadd/codadd-detect.c
Examining data/coda-2.21.2/tools/codadd/codadd-list.c
Examining data/coda-2.21.2/tools/codadump/codadump-filter.c
Examining data/coda-2.21.2/tools/codadump/codadump-filter.h
Examining data/coda-2.21.2/tools/codadump/codadump.c
Examining data/coda-2.21.2/tools/codadump/codadump-dim.c
Examining data/coda-2.21.2/tools/codadump/codadump-yaml.c
Examining data/coda-2.21.2/tools/codadump/codadump.h
Examining data/coda-2.21.2/tools/codadump/codadump-debug.c
Examining data/coda-2.21.2/tools/codadump/codadump-json.c
Examining data/coda-2.21.2/tools/codadump/codadump-ascii.c
Examining data/coda-2.21.2/tools/codadump/codadump-traverse.c
Examining data/coda-2.21.2/tools/codadump/codadump-hdf4.c
Examining data/coda-2.21.2/tools/codacmp/codacmp.c
Examining data/coda-2.21.2/tools/codacheck/codacheck.c
Examining data/coda-2.21.2/tools/codaeval/codaeval.c
Examining data/coda-2.21.2/vsnprintf.c
Examining data/coda-2.21.2/strcasecmp.c
Examining data/coda-2.21.2/fortran/coda_fortran.c
Examining data/coda-2.21.2/idl/coda_idl.c
Examining data/coda-2.21.2/strdup.c
Examining data/coda-2.21.2/matlab/coda_matlab.c
Examining data/coda-2.21.2/matlab/coda-matlab-getdata.c
Examining data/coda-2.21.2/matlab/coda-matlab.h
Examining data/coda-2.21.2/matlab/coda-matlab-traverse.c
Examining data/coda-2.21.2/libcoda/coda-cdf.c
Examining data/coda-2.21.2/libcoda/coda-internal.h
Examining data/coda-2.21.2/libcoda/coda-hdf5-type.c
Examining data/coda-2.21.2/libcoda/coda-hdf5.h
Examining data/coda-2.21.2/libcoda/coda-definition.h
Examining data/coda-2.21.2/libcoda/coda-check.c
Examining data/coda-2.21.2/libcoda/coda-filefilter.c
Examining data/coda-2.21.2/libcoda/coda-xml-internal.h
Examining data/coda-2.21.2/libcoda/coda-bin-cursor.c
Examining data/coda-2.21.2/libcoda/coda-mem.c
Examining data/coda-2.21.2/libcoda/coda-hdf4.h
Examining data/coda-2.21.2/libcoda/coda-type.c
Examining data/coda-2.21.2/libcoda/coda-ascbin.h
Examining data/coda-2.21.2/libcoda/coda-cdf-internal.h
Examining data/coda-2.21.2/libcoda/coda-read-bytes-in-bounds.h
Examining data/coda-2.21.2/libcoda/coda-cdf-cursor.c
Examining data/coda-2.21.2/libcoda/coda-read-bytes.h
Examining data/coda-2.21.2/libcoda/coda-definition.c
Examining data/coda-2.21.2/libcoda/coda-swap2.h
Examining data/coda-2.21.2/libcoda/zlib/inftrees.h
Examining data/coda-2.21.2/libcoda/zlib/zutil.h
Examining data/coda-2.21.2/libcoda/zlib/zutil.c
Examining data/coda-2.21.2/libcoda/zlib/inffast.h
Examining data/coda-2.21.2/libcoda/zlib/zconf.h
Examining data/coda-2.21.2/libcoda/zlib/inffixed.h
Examining data/coda-2.21.2/libcoda/zlib/crc32.h
Examining data/coda-2.21.2/libcoda/zlib/inftrees.c
Examining data/coda-2.21.2/libcoda/zlib/crc32.c
Examining data/coda-2.21.2/libcoda/zlib/inflate.c
Examining data/coda-2.21.2/libcoda/zlib/coda_zlib_mangle.h
Examining data/coda-2.21.2/libcoda/zlib/gzguts.h
Examining data/coda-2.21.2/libcoda/zlib/zlib.h
Examining data/coda-2.21.2/libcoda/zlib/adler32.c
Examining data/coda-2.21.2/libcoda/zlib/inffast.c
Examining data/coda-2.21.2/libcoda/zlib/inflate.h
Examining data/coda-2.21.2/libcoda/hashtable.h
Examining data/coda-2.21.2/libcoda/coda-cursor-read.c
Examining data/coda-2.21.2/libcoda/coda-xml-parser.c
Examining data/coda-2.21.2/libcoda/coda-grib.c
Examining data/coda-2.21.2/libcoda/coda-cdf-type.c
Examining data/coda-2.21.2/libcoda/coda-grib-internal.h
Examining data/coda-2.21.2/libcoda/coda-mem-cursor.c
Examining data/coda-2.21.2/libcoda/coda-sp3.c
Examining data/coda-2.21.2/libcoda/coda-hdf4-cursor.c
Examining data/coda-2.21.2/libcoda/coda-netcdf.c
Examining data/coda-2.21.2/libcoda/coda-netcdf-internal.h
Examining data/coda-2.21.2/libcoda/coda.c
Examining data/coda-2.21.2/libcoda/coda-netcdf.h
Examining data/coda-2.21.2/libcoda/ipow.h
Examining data/coda-2.21.2/libcoda/coda-xml.c
Examining data/coda-2.21.2/libcoda/coda-utils.c
Examining data/coda-2.21.2/libcoda/coda-hdf4.c
Examining data/coda-2.21.2/libcoda/coda-definition-parse.c
Examining data/coda-2.21.2/libcoda/coda-ascii-internal.h
Examining data/coda-2.21.2/libcoda/coda-rinex.c
Examining data/coda-2.21.2/libcoda/coda-hdf5.c
Examining data/coda-2.21.2/libcoda/coda-swap4.h
Examining data/coda-2.21.2/libcoda/coda-cursor.c
Examining data/coda-2.21.2/libcoda/coda-grib-type.c
Examining data/coda-2.21.2/libcoda/coda-hdf4-type.c
Examining data/coda-2.21.2/libcoda/coda-read-bits.h
Examining data/coda-2.21.2/libcoda/coda-type.h
Examining data/coda-2.21.2/libcoda/coda-ascii.h
Examining data/coda-2.21.2/libcoda/coda-detection.c
Examining data/coda-2.21.2/libcoda/coda-ascbin-cursor.c
Examining data/coda-2.21.2/libcoda/coda-mem-internal.h
Examining data/coda-2.21.2/libcoda/coda-tree.h
Examining data/coda-2.21.2/libcoda/coda-product.c
Examining data/coda-2.21.2/libcoda/coda-read-partial-array.h
Examining data/coda-2.21.2/libcoda/coda-expr.h
Examining data/coda-2.21.2/libcoda/coda-rinex.h
Examining data/coda-2.21.2/libcoda/coda-swap8.h
Examining data/coda-2.21.2/libcoda/coda-netcdf-cursor.c
Examining data/coda-2.21.2/libcoda/expat/xmlrole.h
Examining data/coda-2.21.2/libcoda/expat/siphash.h
Examining data/coda-2.21.2/libcoda/expat/xmltok.h
Examining data/coda-2.21.2/libcoda/expat/xmltok_impl.c
Examining data/coda-2.21.2/libcoda/expat/xmltok.c
Examining data/coda-2.21.2/libcoda/expat/ascii.h
Examining data/coda-2.21.2/libcoda/expat/nametab.h
Examining data/coda-2.21.2/libcoda/expat/internal.h
Examining data/coda-2.21.2/libcoda/expat/iasciitab.h
Examining data/coda-2.21.2/libcoda/expat/expat_external.h
Examining data/coda-2.21.2/libcoda/expat/latin1tab.h
Examining data/coda-2.21.2/libcoda/expat/loadlibrary.c
Examining data/coda-2.21.2/libcoda/expat/expat.h
Examining data/coda-2.21.2/libcoda/expat/coda_expat_mangle.h
Examining data/coda-2.21.2/libcoda/expat/xmltok_ns.c
Examining data/coda-2.21.2/libcoda/expat/utf8tab.h
Examining data/coda-2.21.2/libcoda/expat/xmlparse.c
Examining data/coda-2.21.2/libcoda/expat/xmltok_impl.h
Examining data/coda-2.21.2/libcoda/expat/asciitab.h
Examining data/coda-2.21.2/libcoda/expat/xmlrole.c
Examining data/coda-2.21.2/libcoda/coda-ascii-cursor.c
Examining data/coda-2.21.2/libcoda/coda-path.h
Examining data/coda-2.21.2/libcoda/coda-cdf.h
Examining data/coda-2.21.2/libcoda/coda-netcdf-type.c
Examining data/coda-2.21.2/libcoda/coda-ascii.c
Examining data/coda-2.21.2/libcoda/coda-sp3.h
Examining data/coda-2.21.2/libcoda/coda-hdf4-internal.h
Examining data/coda-2.21.2/libcoda/coda-tree.c
Examining data/coda-2.21.2/libcoda/coda-grib.h
Examining data/coda-2.21.2/libcoda/ziparchive.c
Examining data/coda-2.21.2/libcoda/coda-bin.c
Examining data/coda-2.21.2/libcoda/coda-bin-internal.h
Examining data/coda-2.21.2/libcoda/coda-time.c
Examining data/coda-2.21.2/libcoda/pcre/pcre_newline.c
Examining data/coda-2.21.2/libcoda/pcre/pcre_tables.c
Examining data/coda-2.21.2/libcoda/pcre/pcre.h
Examining data/coda-2.21.2/libcoda/pcre/pcre_get.c
Examining data/coda-2.21.2/libcoda/pcre/pcre_xclass.c
Examining data/coda-2.21.2/libcoda/pcre/pcre_version.c
Examining data/coda-2.21.2/libcoda/pcre/pcre_fullinfo.c
Examining data/coda-2.21.2/libcoda/pcre/pcre_string_utils.c
Examining data/coda-2.21.2/libcoda/pcre/pcre_config.c
Examining data/coda-2.21.2/libcoda/pcre/coda_pcre_config.h
Examining data/coda-2.21.2/libcoda/pcre/pcre_globals.c
Examining data/coda-2.21.2/libcoda/pcre/ucp.h
Examining data/coda-2.21.2/libcoda/pcre/pcre_refcount.c
Examining data/coda-2.21.2/libcoda/pcre/pcre_internal.h
Examining data/coda-2.21.2/libcoda/pcre/coda_pcre_mangle.h
Examining data/coda-2.21.2/libcoda/pcre/pcre_byte_order.c
Examining data/coda-2.21.2/libcoda/pcre/pcre_maketables.c
Examining data/coda-2.21.2/libcoda/pcre/pcre_exec.c
Examining data/coda-2.21.2/libcoda/pcre/pcre_ord2utf8.c
Examining data/coda-2.21.2/libcoda/pcre/pcre_chartables.c
Examining data/coda-2.21.2/libcoda/pcre/pcre_valid_utf8.c
Examining data/coda-2.21.2/libcoda/pcre/pcre_dfa_exec.c
Examining data/coda-2.21.2/libcoda/pcre/pcre_compile.c
Examining data/coda-2.21.2/libcoda/pcre/pcre_study.c
Examining data/coda-2.21.2/libcoda/pcre/pcre_ucd.c
Examining data/coda-2.21.2/libcoda/pcre/pcre_printint.c
Examining data/coda-2.21.2/libcoda/coda-filefilter.h
Examining data/coda-2.21.2/libcoda/coda-mem-type.c
Examining data/coda-2.21.2/libcoda/coda-hdf5-cursor.c
Examining data/coda-2.21.2/libcoda/coda-mem.h
Examining data/coda-2.21.2/libcoda/coda-expr.c
Examining data/coda-2.21.2/libcoda/hashtable.c
Examining data/coda-2.21.2/libcoda/coda-xml.h
Examining data/coda-2.21.2/libcoda/coda-hdf5-internal.h
Examining data/coda-2.21.2/libcoda/coda-read-array.h
Examining data/coda-2.21.2/libcoda/coda-grib-cursor.c
Examining data/coda-2.21.2/libcoda/coda-bin.h
Examining data/coda-2.21.2/libcoda/ziparchive.h
Examining data/coda-2.21.2/libcoda/coda-errno.c
Examining data/coda-2.21.2/libcoda/coda-transpose-array.h
Examining data/coda-2.21.2/malloc.c
Examining data/coda-2.21.2/java/coda_jni.c

FINAL RESULTS:

data/coda-2.21.2/java/coda_jni.c:1347:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_double(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:1394:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_uint64(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:1441:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_char(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:1479:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_char_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:1516:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_char_partial_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:1544:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_init(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:1576:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_set_definition_path(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:1621:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_set_definition_path_conditional(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:1652:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_set_option_bypass_special_types(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:1680:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_set_option_perform_boundary_checks(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:1708:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_set_option_perform_conversions(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:1736:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_set_option_use_fast_size_expressions(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:1764:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_set_option_use_mmap(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:1797:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_c_index_to_fortran_index(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:1926:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_time_double_to_parts(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:2087:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_time_double_to_parts_utc(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:2176:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_time_parts_to_double(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:2235:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_time_parts_to_double_utc(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:2376:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_time_string_to_parts(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:2465:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_time_string_to_double(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:2524:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_time_string_to_double_utc(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:2585:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_datetime_to_double(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:2716:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_double_to_datetime(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:2797:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_string_to_time(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:2857:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_utcdatetime_to_double(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:2988:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_double_to_utcdatetime(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:3069:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_utcstring_to_time(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:3112:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_open(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:3172:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_open_as(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:3211:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_close(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:3253:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_get_product_filename(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:3302:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_get_product_file_size(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:3349:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_get_product_format(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:3396:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_get_product_class(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:3445:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_get_product_type(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:3494:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_get_product_version(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:3541:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_get_product_definition_file(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:3581:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_get_product_root_type(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:3639:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_get_product_variable_value(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:3687:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_has_attributes(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:3734:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_format(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:3781:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_class(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:3828:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_read_type(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:3875:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_string_length(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:3922:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_bit_size(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:3969:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_name(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:4018:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_description(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:4067:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_unit(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:4130:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_fixed_value(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:4175:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_attributes(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:4225:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_num_record_fields(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:4278:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_record_field_index_from_name(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:4332:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_record_field_index_from_real_name(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:4373:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_record_field_type(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:4425:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_record_field_name(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:4476:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_record_field_real_name(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:4527:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_record_field_hidden_status(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:4576:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_record_field_available_status(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:4623:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_record_union_status(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:4670:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_array_num_dims(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:4720:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_array_dim(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:4760:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_array_base_type(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:4810:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_special_type(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:4848:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_type_get_special_base_type(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:4886:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_set_product(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:4920:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_goto(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:4949:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_goto_first_record_field(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:4977:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_goto_next_record_field(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5007:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_goto_record_field_by_index(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5041:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_goto_record_field_by_name(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5070:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_goto_available_union_field(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5098:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_goto_first_array_element(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5126:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_goto_next_array_element(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5159:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_goto_array_element(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5191:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_goto_array_element_by_index(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5219:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_goto_attributes(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5247:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_goto_root(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5275:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_goto_parent(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5303:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_use_base_type_of_special_type(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5345:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_has_ascii_content(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5392:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_has_attributes(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5439:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_get_string_length(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5486:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_get_bit_size(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5533:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_get_byte_size(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5580:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_get_num_elements(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5618:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_get_product_file(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5668:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_get_depth(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5715:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_get_index(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5762:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_get_file_bit_offset(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5809:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_get_file_byte_offset(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5856:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_get_format(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5903:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_get_type_class(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5950:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_get_read_type(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:5997:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_get_special_type(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6035:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_get_type(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6091:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_get_record_field_index_from_name(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6141:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_get_record_field_available_status(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6188:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_get_available_union_field_index(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6238:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_get_array_dim(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6276:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_int8(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6309:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_uint8(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6342:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_int16(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6375:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_uint16(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6408:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_int32(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6441:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_uint32(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6474:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_int64(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6507:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_float(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6544:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_bits(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6581:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_bytes(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6616:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_int8_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6651:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_uint8_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6686:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_int16_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6721:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_uint16_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6756:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_int32_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6791:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_uint32_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6826:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_int64_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6872:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_uint64_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6910:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_float_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6945:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_double_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:6982:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_int8_partial_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:7019:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_uint8_partial_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:7056:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_int16_partial_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:7093:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_uint16_partial_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:7130:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_int32_partial_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:7167:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_uint32_partial_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:7204:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_int64_partial_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:7252:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_uint64_partial_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:7292:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_float_partial_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:7329:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_double_partial_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:7362:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_complex_double_pair(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:7397:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_complex_double_pairs_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:7455:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_complex_double_split(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:7523:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_cursor_read_complex_double_split_array(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:7570:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_expression_from_string(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:7621:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_expression_get_type(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:7670:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_expression_eval_bool(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:7719:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_expression_eval_integer(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:7768:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_expression_eval_float(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:7831:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_expression_eval_string(): %s", codamsg);
data/coda-2.21.2/java/coda_jni.c:7876:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(fullMessage, "coda_expression_eval_node(): %s", codamsg);
data/coda-2.21.2/libcoda/coda-check.c:756:29:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                            sprintf(error_message, "invalid result for record size expression (actual record size %s "
data/coda-2.21.2/libcoda/coda-check.c:862:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(error_message, "incorrect block size (actual size %s does not match calculated size %s)",
data/coda-2.21.2/libcoda/coda-check.c:946:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(error_message, "incorrect file size (actual size %s does not match calculated file size %s:%d)", s1,
data/coda-2.21.2/libcoda/coda-check.c:951:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(error_message, "incorrect file size (actual size %s does not match calculated file size %s)", s1,
data/coda-2.21.2/libcoda/coda-definition-parse.c:2329:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(cp, identifier);
data/coda-2.21.2/libcoda/coda-definition-parse.c:4108:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(entry_name, "types/%s.xml", name);
data/coda-2.21.2/libcoda/coda-definition-parse.c:4118:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(entry_name, "products/%s.xml", name);
data/coda-2.21.2/libcoda/coda-definition-parse.c:4340:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(pattern, "%s\\*.codadef", path_component);
data/coda-2.21.2/libcoda/coda-definition-parse.c:4372:29:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                            sprintf(filepath, "%s\\%s", path_component, FileData.cFileName);
data/coda-2.21.2/libcoda/coda-definition-parse.c:4432:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(filepath, "%s/%s", path_component, dp->d_name);
data/coda-2.21.2/libcoda/coda-errno.c:185:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(message_buffer, coda_errno_to_string(coda_errno));
data/coda-2.21.2/libcoda/coda-errno.c:189:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(message_buffer, MAX_ERROR_INFO_LENGTH - current_length, message, ap);
data/coda-2.21.2/libcoda/coda-errno.c:191:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(coda_error_message_buffer, message_buffer);
data/coda-2.21.2/libcoda/coda-errno.c:214:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        vsnprintf(message_buffer, MAX_ERROR_INFO_LENGTH, message, ap);
data/coda-2.21.2/libcoda/coda-errno.c:216:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(coda_error_message_buffer, message_buffer);
data/coda-2.21.2/libcoda/coda-filefilter.c:101:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(new_buffer, name->buffer);
data/coda-2.21.2/libcoda/coda-filefilter.c:106:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(&name->buffer[name->length], str);
data/coda-2.21.2/libcoda/coda-time.c:1116:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(&str[si], "%s", month_name[month]);
data/coda-2.21.2/libcoda/coda-utils.c:431:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(filepath, "%s/%s", path_component, filename);
data/coda-2.21.2/libcoda/coda-utils.c:570:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(filepath, argv0);
data/coda-2.21.2/libcoda/expat/loadlibrary.c:120:9:  [4] (buffer) _tcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
        _tcscpy(path + _tcslen(path), TEXT("\\"));
data/coda-2.21.2/libcoda/expat/loadlibrary.c:121:9:  [4] (buffer) _tcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
        _tcscpy(path + _tcslen(path), filename);
data/coda-2.21.2/libcoda/expat/xmlparse.c:108:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    to the build system, please open a bug.  Thank you!
data/coda-2.21.2/libcoda/pcre/pcre_internal.h:101:20:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define DPRINTF(p) printf p
data/coda-2.21.2/libcoda/ziparchive.c:68:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, message, ap);
data/coda-2.21.2/libcoda/zlib/gzguts.h:86:18:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#    if !defined(vsnprintf) && !defined(NO_vsnprintf)
data/coda-2.21.2/libcoda/zlib/gzguts.h:88:18:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#         define vsnprintf _vsnprintf
data/coda-2.21.2/libcoda/zlib/gzguts.h:110:11:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#  define snprintf _snprintf
data/coda-2.21.2/libcoda/zlib/gzguts.h:110:20:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#  define snprintf _snprintf
data/coda-2.21.2/libcoda/zlib/zutil.h:242:39:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Trace(x) {if (z_verbose>=0) fprintf x ;}
data/coda-2.21.2/libcoda/zlib/zutil.h:243:39:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracev(x) {if (z_verbose>0) fprintf x ;}
data/coda-2.21.2/libcoda/zlib/zutil.h:244:40:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracevv(x) {if (z_verbose>1) fprintf x ;}
data/coda-2.21.2/libcoda/zlib/zutil.h:245:48:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracec(c,x) {if (z_verbose>0 && (c)) fprintf x ;}
data/coda-2.21.2/libcoda/zlib/zutil.h:246:49:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracecv(c,x) {if (z_verbose>1 && (c)) fprintf x ;}
data/coda-2.21.2/python/codac.c:682:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(r,name);
data/coda-2.21.2/tools/codacheck/codacheck.c:106:40:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        coda_cursor_print_path(cursor, printf);
data/coda-2.21.2/tools/codacmp/codacmp.c:331:41:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        coda_cursor_print_path(cursor1, printf);
data/coda-2.21.2/tools/codacmp/codacmp.c:354:53:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    coda_cursor_print_path(cursor1, printf);
data/coda-2.21.2/tools/codacmp/codacmp.c:377:53:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    coda_cursor_print_path(cursor1, printf);
data/coda-2.21.2/tools/codacmp/codacmp.c:565:41:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        coda_cursor_print_path(cursor1, printf);
data/coda-2.21.2/tools/codacmp/codacmp.c:665:53:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    coda_cursor_print_path(cursor1, printf);
data/coda-2.21.2/tools/codacmp/codacmp.c:695:53:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    coda_cursor_print_path(cursor1, printf);
data/coda-2.21.2/tools/codacmp/codacmp.c:762:57:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        coda_cursor_print_path(cursor1, printf);
data/coda-2.21.2/tools/codacmp/codacmp.c:775:53:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    coda_cursor_print_path(cursor1, printf);
data/coda-2.21.2/tools/codacmp/codacmp.c:817:41:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        coda_cursor_print_path(cursor1, printf);
data/coda-2.21.2/tools/codacmp/codacmp.c:856:53:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    coda_cursor_print_path(cursor1, printf);
data/coda-2.21.2/tools/codacmp/codacmp.c:898:53:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    coda_cursor_print_path(cursor1, printf);
data/coda-2.21.2/tools/codacmp/codacmp.c:938:53:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    coda_cursor_print_path(cursor1, printf);
data/coda-2.21.2/tools/codacmp/codacmp.c:1014:41:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        coda_cursor_print_path(cursor1, printf);
data/coda-2.21.2/tools/codacmp/codacmp.c:1050:41:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        coda_cursor_print_path(cursor1, printf);
data/coda-2.21.2/tools/codacmp/codacmp.c:1108:45:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            coda_cursor_print_path(cursor1, printf);
data/coda-2.21.2/tools/codacmp/codacmp.c:1184:41:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        coda_cursor_print_path(cursor1, printf);
data/coda-2.21.2/tools/codacmp/codacmp.c:1245:53:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    coda_cursor_print_path(cursor1, printf);
data/coda-2.21.2/tools/codadd/codadd-definition.c:52:67:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
static int ff_printf(const char *fmt, ...) __attribute__ ((format(printf, 1, 2)));
data/coda-2.21.2/tools/codadd/codadd-definition.c:53:67:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
static int fi_printf(const char *fmt, ...) __attribute__ ((format(printf, 1, 2)));
data/coda-2.21.2/tools/codadd/codadd-definition.c:81:14:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    result = vfprintf(FFILE, fmt, ap);
data/coda-2.21.2/tools/codadd/codadd-definition.c:95:14:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    result = vfprintf(FFILE, fmt, ap);
data/coda-2.21.2/tools/codadd/codadd-definition.c:116:14:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    result = vfprintf(FFILE, fmt, ap);
data/coda-2.21.2/tools/codadd/codadd-detect.c:79:53:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            coda_expression_print(node->expression, printf);
data/coda-2.21.2/tools/codadd/codadd-doc.c:51:67:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
static int ff_printf(const char *fmt, ...) __attribute__ ((format(printf, 1, 2)));
data/coda-2.21.2/tools/codadd/codadd-doc.c:52:67:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
static int fi_printf(const char *fmt, ...) __attribute__ ((format(printf, 1, 2)));
data/coda-2.21.2/tools/codadd/codadd-doc.c:82:14:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    result = vfprintf(FFILE, fmt, ap);
data/coda-2.21.2/tools/codadd/codadd-doc.c:96:14:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    result = vfprintf(FFILE, fmt, ap);
data/coda-2.21.2/tools/codadd/codadd-doc.c:1390:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(filename, "%s/index.html", prefixdir);
data/coda-2.21.2/tools/codadd/codadd-doc.c:1412:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(filename, "%s/%s", prefixdir, product_class->name);
data/coda-2.21.2/tools/codadd/codadd-doc.c:1414:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(filename, "%s/%s/index.html", prefixdir, product_class->name);
data/coda-2.21.2/tools/codadd/codadd-doc.c:1417:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(filename, "%s/%s/products", prefixdir, product_class->name);
data/coda-2.21.2/tools/codadd/codadd-doc.c:1426:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(filename, "%s/%s/products/%s.html", prefixdir, product_class->name,
data/coda-2.21.2/tools/codadd/codadd-doc.c:1434:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "%s/%s/types.html", prefixdir, product_class->name);
data/coda-2.21.2/tools/codadd/codadd-doc.c:1436:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filename, "%s/%s/types", prefixdir, product_class->name);
data/coda-2.21.2/tools/codadd/codadd-doc.c:1441:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(filename, "%s/%s/types/%s.html", prefixdir, product_class->name,
data/coda-2.21.2/tools/codadd/codadd-list.c:109:99:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                                    coda_expression_print(((coda_type_array *)type)->dim_expr[j], printf);
data/coda-2.21.2/tools/codadump/codadump-debug.c:57:14:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    result = vfprintf(ascii_output, templ, ap);
data/coda-2.21.2/tools/codadump/codadump-debug.c:71:14:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    result = vfprintf(ascii_output, templ, ap);
data/coda-2.21.2/tools/codadump/codadump-hdf4.c:396:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(sds_name, "%s_dims{%d}", traverse_info.field_name[traverse_info.num_records - 1], dim_id + 1);
data/coda-2.21.2/tools/codadump/codadump-json.c:44:14:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    result = vfprintf(ascii_output, templ, ap);
data/coda-2.21.2/tools/codadump/codadump-yaml.c:57:14:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    result = vfprintf(ascii_output, templ, ap);
data/coda-2.21.2/tools/codadump/codadump-yaml.c:71:14:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    result = vfprintf(ascii_output, templ, ap);
data/coda-2.21.2/tools/codadump/codadump.c:505:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output_file_name, "%s.hdf", traverse_info.file_name);
data/coda-2.21.2/vsnprintf.c:8:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
int vsnprintf(const *str, size_t size, const char *format, va_list ap)
data/coda-2.21.2/vsnprintf.c:14:12:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    return vsprintf(str, format, ap);
data/coda-2.21.2/idl/coda_idl.c:91:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("IDL_DLM_PATH") != NULL)
data/coda-2.21.2/idl/coda_idl.c:93:62:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        coda_set_definition_path_conditional("coda_idl.dlm", getenv("IDL_DLM_PATH"),
data/coda-2.21.2/libcoda/coda-time.c:719:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("CODA_LEAP_SECOND_TABLE") != NULL)
data/coda-2.21.2/libcoda/coda-time.c:721:36:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        if (read_leap_second_table(getenv("CODA_LEAP_SECOND_TABLE")) != 0)
data/coda-2.21.2/libcoda/coda-utils.c:551:34:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        if (*location == NULL && getenv("PATH") != NULL)
data/coda-2.21.2/libcoda/coda-utils.c:553:37:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            if (coda_path_find_file(getenv("PATH"), argv0, location) != 0)
data/coda-2.21.2/libcoda/coda-utils.c:577:38:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            if (*location == NULL && getenv("PATH") != NULL)
data/coda-2.21.2/libcoda/coda-utils.c:579:41:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
                if (coda_path_find_file(getenv("PATH"), filepath, location) != 0)
data/coda-2.21.2/libcoda/coda-utils.c:588:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        if (getenv("PATH") != NULL)
data/coda-2.21.2/libcoda/coda-utils.c:590:37:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            if (coda_path_find_file(getenv("PATH"), argv0, location) != 0)
data/coda-2.21.2/libcoda/coda.c:430:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("CODA_DEFINITION") != NULL)
data/coda-2.21.2/libcoda/coda.c:504:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            if (getenv("CODA_DEFINITION") != NULL)
data/coda-2.21.2/libcoda/coda.c:506:47:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
                coda_definition_path = strdup(getenv("CODA_DEFINITION"));
data/coda-2.21.2/libcoda/expat/loadlibrary.c:101:7:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
      LoadLibrary(filename);
data/coda-2.21.2/libcoda/expat/loadlibrary.c:127:11:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
          LoadLibrary(path);
data/coda-2.21.2/libcoda/expat/xmlparse.c:833:44:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char * const EXPAT_ENTROPY_DEBUG = getenv("EXPAT_ENTROPY_DEBUG");
data/coda-2.21.2/matlab/coda_matlab.c:181:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("CODA_DEFINITION") == NULL)
data/coda-2.21.2/fortran/coda_fortran.c:62:124:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define INSTR_BEGIN_INIT(STR) while (STR##_l > 0 && STR[STR##_l - 1] == ' ') { STR##_l--; } STR##_s = malloc(STR##_l + 1); memcpy(STR##_s, STR, STR##_l); STR##_s[STR##_l] = '\0';
data/coda-2.21.2/fortran/coda_fortran.c:67:103:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define OUTSTR_END(STR) if (STR##_s != NULL) { STR##_l = strlen(STR##_s); if (STR##_l > STR##_size) { memcpy(STR, STR##_s, STR##_size); } else { memcpy(STR, STR##_s, STR##_l); while (STR##_l < STR##_size) { STR[STR##_l] = ' '; STR##_l++; } } } else { memset(STR, ' ', STR##_size); }
data/coda-2.21.2/fortran/coda_fortran.c:67:146:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define OUTSTR_END(STR) if (STR##_s != NULL) { STR##_l = strlen(STR##_s); if (STR##_l > STR##_size) { memcpy(STR, STR##_s, STR##_size); } else { memcpy(STR, STR##_s, STR##_l); while (STR##_l < STR##_size) { STR[STR##_l] = ' '; STR##_l++; } } } else { memset(STR, ' ', STR##_size); }
data/coda-2.21.2/fortran/coda_fortran.c:70:130:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define INOUTSTR_BEGIN_INIT(STR) while (STR##_l > 0 && STR[STR##_l - 1] == ' ') { STR##_l--; } STR##_s = malloc(STR##_size + 1); memcpy(STR##_s, STR, STR##_l); STR##_s[STR##_l] = '\0';
data/coda-2.21.2/fortran/coda_fortran.c:72:85:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define INOUTSTR_END(STR) STR##_l = strlen(STR##_s); assert(STR##_l <= STR##_size); memcpy(STR, STR##_s, STR##_l); while (STR##_l < STR##_size) { STR[STR##_l] = ' '; STR##_l++; } free(STR##_s);
data/coda-2.21.2/fortran/coda_fortran.c:708:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(new_cursor, *(coda_cursor **)cursor, sizeof(coda_cursor));
data/coda-2.21.2/fortran/coda_fortran.c:1171:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(value, value_s, value_size);
data/coda-2.21.2/fortran/coda_fortran.c:1175:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(value, value_s, value_l);
data/coda-2.21.2/idl/coda_idl.c:239:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char errmsg[1001];
data/coda-2.21.2/idl/coda_idl.c:625:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char str[27];
data/coda-2.21.2/idl/coda_idl.c:794:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                char str[2];
data/coda-2.21.2/idl/coda_idl.c:1570:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char str[2];
data/coda-2.21.2/idl/coda_idl.c:1988:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char str[2];
data/coda-2.21.2/java/coda_jni.c:811:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(new_cursor, self, sizeof(coda_cursor));
data/coda-2.21.2/libcoda/coda-ascbin-cursor.c:815:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                char s[21];
data/coda-2.21.2/libcoda/coda-ascbin-cursor.c:905:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char s1[21];
data/coda-2.21.2/libcoda/coda-ascbin-cursor.c:906:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char s2[21];
data/coda-2.21.2/libcoda/coda-ascbin-cursor.c:942:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char s[21];
data/coda-2.21.2/libcoda/coda-ascii-cursor.c:129:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char offset_str[30];
data/coda-2.21.2/libcoda/coda-ascii-cursor.c:130:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char size_str[21];
data/coda-2.21.2/libcoda/coda-ascii-cursor.c:135:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(&offset_str[strlen(offset_str)], ":%d", (int)(current_bit_offset & 0x7));
data/coda-2.21.2/libcoda/coda-ascii-cursor.c:144:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char accessed_str[30];
data/coda-2.21.2/libcoda/coda-ascii-cursor.c:145:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char offset_str[30];
data/coda-2.21.2/libcoda/coda-ascii-cursor.c:146:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char size_str[30];
data/coda-2.21.2/libcoda/coda-ascii-cursor.c:151:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(&accessed_str[strlen(accessed_str)], ":%d", (int)(read_bit_size & 0x7));
data/coda-2.21.2/libcoda/coda-ascii-cursor.c:156:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(&offset_str[strlen(offset_str)], ":%d", (int)(current_bit_offset & 0x7));
data/coda-2.21.2/libcoda/coda-ascii-cursor.c:161:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(&size_str[strlen(size_str)], ":%d", (int)(bit_size & 0x7));
data/coda-2.21.2/libcoda/coda-ascii-cursor.c:662:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[MAX_ASCII_NUMBER_LENGTH];
data/coda-2.21.2/libcoda/coda-ascii-cursor.c:880:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                    char s[21];
data/coda-2.21.2/libcoda/coda-ascii-cursor.c:962:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char buffer[1];
data/coda-2.21.2/libcoda/coda-ascii-cursor.c:1011:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char buffer[1];
data/coda-2.21.2/libcoda/coda-ascii-cursor.c:1066:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[MAX_ASCII_NUMBER_LENGTH];
data/coda-2.21.2/libcoda/coda-ascii-cursor.c:1127:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[MAX_ASCII_NUMBER_LENGTH];
data/coda-2.21.2/libcoda/coda-ascii-cursor.c:1296:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[MAX_ASCII_NUMBER_LENGTH];
data/coda-2.21.2/libcoda/coda-ascii.c:177:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[ASCII_PARSE_BLOCK_SIZE + 1];
data/coda-2.21.2/libcoda/coda-bin-cursor.c:164:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s1[21];
data/coda-2.21.2/libcoda/coda-bin-cursor.c:165:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s2[21];
data/coda-2.21.2/libcoda/coda-bin-cursor.c:220:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s1[21];
data/coda-2.21.2/libcoda/coda-bin-cursor.c:221:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s2[21];
data/coda-2.21.2/libcoda/coda-bin-cursor.c:266:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s1[21];
data/coda-2.21.2/libcoda/coda-bin-cursor.c:267:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s2[21];
data/coda-2.21.2/libcoda/coda-bin-cursor.c:347:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s1[21];
data/coda-2.21.2/libcoda/coda-bin-cursor.c:348:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s2[21];
data/coda-2.21.2/libcoda/coda-bin-cursor.c:417:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s1[21];
data/coda-2.21.2/libcoda/coda-bin-cursor.c:418:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s2[21];
data/coda-2.21.2/libcoda/coda-bin-cursor.c:501:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s1[21];
data/coda-2.21.2/libcoda/coda-bin-cursor.c:502:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s2[21];
data/coda-2.21.2/libcoda/coda-bin-cursor.c:573:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s1[21];
data/coda-2.21.2/libcoda/coda-bin-cursor.c:574:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s2[21];
data/coda-2.21.2/libcoda/coda-bin-cursor.c:660:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s1[21];
data/coda-2.21.2/libcoda/coda-bin-cursor.c:661:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s2[21];
data/coda-2.21.2/libcoda/coda-bin-cursor.c:842:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s1[21];
data/coda-2.21.2/libcoda/coda-bin-cursor.c:843:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s2[21];
data/coda-2.21.2/libcoda/coda-bin.c:147:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fd = open(product->filename, O_RDONLY);
data/coda-2.21.2/libcoda/coda-bin.c:181:23:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        product->fd = open(product->filename, open_flags);
data/coda-2.21.2/libcoda/coda-cdf-cursor.c:235:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&((uint8_t *)dst)[i * record_size], &variable->data[variable->offset[i]], record_size);
data/coda-2.21.2/libcoda/coda-cdf-cursor.c:334:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&((uint8_t *)dst)[target_offset], &variable->data[variable->offset[i] + local_offset],
data/coda-2.21.2/libcoda/coda-cdf-cursor.c:430:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst, &variable->data[offset], value_size);
data/coda-2.21.2/libcoda/coda-cdf.c:489:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[257];
data/coda-2.21.2/libcoda/coda-cdf.c:952:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[257];
data/coda-2.21.2/libcoda/coda-cdf.c:1305:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char s1[21];
data/coda-2.21.2/libcoda/coda-cdf.c:1306:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char s2[21];
data/coda-2.21.2/libcoda/coda-check.c:742:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char error_message[256];
data/coda-2.21.2/libcoda/coda-check.c:743:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char s1[30];
data/coda-2.21.2/libcoda/coda-check.c:744:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char s2[30];
data/coda-2.21.2/libcoda/coda-check.c:749:33:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                                sprintf(&s1[strlen(s1)], ":%d", (int)((*bit_size) & 0x7));
data/coda-2.21.2/libcoda/coda-check.c:754:33:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                                sprintf(&s2[strlen(s2)], ":%d", (int)(fast_size & 0x7));
data/coda-2.21.2/libcoda/coda-check.c:852:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char error_message[256];
data/coda-2.21.2/libcoda/coda-check.c:853:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char s1[30];
data/coda-2.21.2/libcoda/coda-check.c:854:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char s2[30];
data/coda-2.21.2/libcoda/coda-check.c:860:21:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                    sprintf(&s2[strlen(s2)], ":%d", (int)(calculated_bit_size & 0x7));
data/coda-2.21.2/libcoda/coda-check.c:938:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char error_message[256];
data/coda-2.21.2/libcoda/coda-check.c:939:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char s1[21];
data/coda-2.21.2/libcoda/coda-check.c:940:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char s2[21];
data/coda-2.21.2/libcoda/coda-cursor-read.c:169:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&dst_1[i * basic_type_size], &buffer[0], basic_type_size);
data/coda-2.21.2/libcoda/coda-cursor-read.c:170:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&dst_2[i * basic_type_size], &buffer[basic_type_size], basic_type_size);
data/coda-2.21.2/libcoda/coda-cursor-read.c:212:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(&dst_1[fortran_index * basic_type_size], &buffer[0], basic_type_size);
data/coda-2.21.2/libcoda/coda-cursor-read.c:213:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(&dst_2[fortran_index * basic_type_size], &buffer[basic_type_size], basic_type_size);
data/coda-2.21.2/libcoda/coda-definition-parse.c:2164:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char length_str[25];
data/coda-2.21.2/libcoda/coda-definition-parse.c:2380:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(cp, "@xmlns");
data/coda-2.21.2/libcoda/coda-definition-parse.c:2560:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char length_str[25];
data/coda-2.21.2/libcoda/coda-definition-parse.c:3845:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(info->node->char_data, s, len);
data/coda-2.21.2/libcoda/coda-definition-parse.c:3861:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(char_data, info->node->char_data, current_length);
data/coda-2.21.2/libcoda/coda-definition-parse.c:3862:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&char_data[current_length], s, len);
data/coda-2.21.2/libcoda/coda-detection.c:337:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(new_node->path, subpath, pos);
data/coda-2.21.2/libcoda/coda-errno.c:46:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static THREAD_LOCAL char coda_error_message_buffer[MAX_ERROR_INFO_LENGTH + 1];
data/coda-2.21.2/libcoda/coda-errno.c:169:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char message_buffer[MAX_ERROR_INFO_LENGTH + 1];
data/coda-2.21.2/libcoda/coda-errno.c:211:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char message_buffer[MAX_ERROR_INFO_LENGTH + 1];
data/coda-2.21.2/libcoda/coda-expr.c:2893:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(*value, ((coda_expression_string_constant *)expr)->value, *length);
data/coda-2.21.2/libcoda/coda-expr.c:2958:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char s[21];
data/coda-2.21.2/libcoda/coda-expr.c:3081:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(*value, &a[off_a], len_a);
data/coda-2.21.2/libcoda/coda-expr.c:3085:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy(&(*value)[len_a], &b[off_b], len_b);
data/coda-2.21.2/libcoda/coda-expr.c:3324:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                            memcpy(&new_value[*length], &el_value[el_offset], el_length);
data/coda-2.21.2/libcoda/coda-expr.c:3517:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(*value, filename, *length);
data/coda-2.21.2/libcoda/coda-expr.c:3686:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(*value, product_class, *length);
data/coda-2.21.2/libcoda/coda-expr.c:3713:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(*value, product_format, *length);
data/coda-2.21.2/libcoda/coda-expr.c:3738:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(*value, product_type, *length);
data/coda-2.21.2/libcoda/coda-expr.c:4380:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char s[24];
data/coda-2.21.2/libcoda/coda-expr.c:4388:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char s[21];
data/coda-2.21.2/libcoda/coda-expr.c:5299:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(truncated_value, &(*value)[offset], *length);
data/coda-2.21.2/libcoda/coda-grib-type.c:176:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(type->bitmask, bitmask, bitmask_size);
data/coda-2.21.2/libcoda/coda-grib.c:2160:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char file_offset_str[21];
data/coda-2.21.2/libcoda/coda-grib.c:2218:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char file_offset_str[21];
data/coda-2.21.2/libcoda/coda-grib.c:2975:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char file_offset_str[21];
data/coda-2.21.2/libcoda/coda-grib.c:2993:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char file_offset_str[21];
data/coda-2.21.2/libcoda/coda-hdf4-cursor.c:893:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dst, &buffer[index * native_type_size], native_type_size);
data/coda-2.21.2/libcoda/coda-hdf4-cursor.c:941:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(dst, &buffer[component_index * component_size], component_size);
data/coda-2.21.2/libcoda/coda-hdf4-cursor.c:1034:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(dst, &buffer[order_pos * element_size], element_size);
data/coda-2.21.2/libcoda/coda-hdf4-cursor.c:1149:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(dst, buffer, dst_size - 1);
data/coda-2.21.2/libcoda/coda-hdf4-internal.h:129:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char gri_name[MAX_HDF4_NAME_LENGTH + 1];
data/coda-2.21.2/libcoda/coda-hdf4-internal.h:147:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sds_name[MAX_HDF4_NAME_LENGTH + 1];
data/coda-2.21.2/libcoda/coda-hdf4-internal.h:164:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char vdata_name[MAX_HDF4_NAME_LENGTH + 1];
data/coda-2.21.2/libcoda/coda-hdf4-internal.h:165:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char classname[MAX_HDF4_NAME_LENGTH + 1];
data/coda-2.21.2/libcoda/coda-hdf4-internal.h:175:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char field_name[MAX_HDF4_NAME_LENGTH + 1];
data/coda-2.21.2/libcoda/coda-hdf4-internal.h:193:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char vgroup_name[MAX_HDF4_NAME_LENGTH + 1];
data/coda-2.21.2/libcoda/coda-hdf4-internal.h:194:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char classname[MAX_HDF4_NAME_LENGTH + 1];
data/coda-2.21.2/libcoda/coda-hdf4-type.c:366:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char hdf4_name[MAX_HDF4_NAME_LENGTH + 1];
data/coda-2.21.2/libcoda/coda-hdf4-type.c:529:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char hdf4_name[MAX_HDF4_NAME_LENGTH + 1];
data/coda-2.21.2/libcoda/coda-hdf4-type.c:702:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char hdf4_name[MAX_HDF4_NAME_LENGTH + 1];
data/coda-2.21.2/libcoda/coda-hdf4-type.c:798:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char hdf4_name[MAX_HDF4_NAME_LENGTH + 1];
data/coda-2.21.2/libcoda/coda-hdf4-type.c:978:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char hdf4_name[MAX_HDF4_NAME_LENGTH + 1];
data/coda-2.21.2/libcoda/coda-hdf4-type.c:1158:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char hdf4_name[MAX_HDF4_NAME_LENGTH + 1];
data/coda-2.21.2/libcoda/coda-hdf5-cursor.c:723:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst, buffer, num_chars);
data/coda-2.21.2/libcoda/coda-hdf5-cursor.c:724:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        ((char *)dst)[num_chars] = '\0';
data/coda-2.21.2/libcoda/coda-hdf5-cursor.c:780:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(buffer, vlen_ptr, size);
data/coda-2.21.2/libcoda/coda-hdf5-cursor.c:824:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst, buffer_offset, num_chars);
data/coda-2.21.2/libcoda/coda-hdf5-cursor.c:825:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        ((char *)dst)[num_chars] = '\0';
data/coda-2.21.2/libcoda/coda-hdf5-cursor.c:851:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(dst, buffer_offset, size);
data/coda-2.21.2/libcoda/coda-hdf5-cursor.c:870:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(dst, buffer_offset, new_size);
data/coda-2.21.2/libcoda/coda-hdf5-type.c:936:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    free(((char **)buffer)[k]);
data/coda-2.21.2/libcoda/coda-hdf5-type.c:949:93:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                element = coda_mem_string_new((coda_type_text *)base_type, NULL, product, ((char **)buffer)[i]);
data/coda-2.21.2/libcoda/coda-hdf5-type.c:962:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        free(((char **)buffer)[k]);
data/coda-2.21.2/libcoda/coda-hdf5-type.c:976:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        free(((char **)buffer)[k]);
data/coda-2.21.2/libcoda/coda-hdf5-type.c:1005:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    free(((char **)buffer)[k]);
data/coda-2.21.2/libcoda/coda-hdf5-type.c:1019:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            free(((char **)buffer)[k]);
data/coda-2.21.2/libcoda/coda-internal.h:156:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int coda_month_to_integer(const char month[3]);
data/coda-2.21.2/libcoda/coda-mem-type.c:832:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&product->mem_ptr[product->mem_size], data, (size_t)length);
data/coda-2.21.2/libcoda/coda-netcdf.c:822:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char magic[4];
data/coda-2.21.2/libcoda/coda-product.c:196:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buffer[DETECTION_BLOCK_SIZE];
data/coda-2.21.2/libcoda/coda-read-bytes-in-bounds.h:58:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst, product->mem_ptr + byte_offset, (size_t)length);
data/coda-2.21.2/libcoda/coda-read-bytes-in-bounds.h:72:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char byte_offset_str[21];
data/coda-2.21.2/libcoda/coda-read-bytes.h:67:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char offset_str[21];
data/coda-2.21.2/libcoda/coda-read-bytes.h:84:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char accessed_str[21];
data/coda-2.21.2/libcoda/coda-read-bytes.h:85:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char offset_str[21];
data/coda-2.21.2/libcoda/coda-read-bytes.h:86:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char size_str[21];
data/coda-2.21.2/libcoda/coda-read-bytes.h:96:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst, product->mem_ptr + byte_offset, (size_t)length);
data/coda-2.21.2/libcoda/coda-read-bytes.h:120:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char byte_offset_str[21];
data/coda-2.21.2/libcoda/coda-rinex.c:1760:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[MAX_LINE_LENGTH];
data/coda-2.21.2/libcoda/coda-rinex.c:1921:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str[4];
data/coda-2.21.2/libcoda/coda-rinex.c:1949:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(str, &line[6 + (i % 13) * 4 + 1], 3);
data/coda-2.21.2/libcoda/coda-rinex.c:1988:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[MAX_LINE_LENGTH];
data/coda-2.21.2/libcoda/coda-rinex.c:1992:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[61];
data/coda-2.21.2/libcoda/coda-rinex.c:2016:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, line, 20);
data/coda-2.21.2/libcoda/coda-rinex.c:2022:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, &line[20], 20);
data/coda-2.21.2/libcoda/coda-rinex.c:2027:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, &line[40], 15);
data/coda-2.21.2/libcoda/coda-rinex.c:2034:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, &line[56], 3);
data/coda-2.21.2/libcoda/coda-rinex.c:2046:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, line, 60);
data/coda-2.21.2/libcoda/coda-rinex.c:2055:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, line, 20);
data/coda-2.21.2/libcoda/coda-rinex.c:2064:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, line, 20);
data/coda-2.21.2/libcoda/coda-rinex.c:2073:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, line, 20);
data/coda-2.21.2/libcoda/coda-rinex.c:2079:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, &line[20], 40);
data/coda-2.21.2/libcoda/coda-rinex.c:2088:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, line, 20);
data/coda-2.21.2/libcoda/coda-rinex.c:2094:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, &line[20], 20);
data/coda-2.21.2/libcoda/coda-rinex.c:2100:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, &line[40], 20);
data/coda-2.21.2/libcoda/coda-rinex.c:2109:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, line, 20);
data/coda-2.21.2/libcoda/coda-rinex.c:2115:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, &line[20], 20);
data/coda-2.21.2/libcoda/coda-rinex.c:2209:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, line, 20);
data/coda-2.21.2/libcoda/coda-rinex.c:2232:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, line, 43);
data/coda-2.21.2/libcoda/coda-rinex.c:2239:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, &line[48], 3);
data/coda-2.21.2/libcoda/coda-rinex.c:2246:25:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                        strcpy(str, "GPS");
data/coda-2.21.2/libcoda/coda-rinex.c:2249:25:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                        strcpy(str, "GLO");
data/coda-2.21.2/libcoda/coda-rinex.c:2252:25:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                        strcpy(str, "GAL");
data/coda-2.21.2/libcoda/coda-rinex.c:2264:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, line, 43);
data/coda-2.21.2/libcoda/coda-rinex.c:2271:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, &line[48], 3);
data/coda-2.21.2/libcoda/coda-rinex.c:2278:25:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                        strcpy(str, "GPS");
data/coda-2.21.2/libcoda/coda-rinex.c:2281:25:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                        strcpy(str, "GLO");
data/coda-2.21.2/libcoda/coda-rinex.c:2284:25:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                        strcpy(str, "GAL");
data/coda-2.21.2/libcoda/coda-rinex.c:2374:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[MAX_LINE_LENGTH];
data/coda-2.21.2/libcoda/coda-rinex.c:2376:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[17];
data/coda-2.21.2/libcoda/coda-rinex.c:2435:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(str, &line[1], 2);
data/coda-2.21.2/libcoda/coda-rinex.c:2455:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(str, &line[3 + i * 16], 16);
data/coda-2.21.2/libcoda/coda-rinex.c:2492:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[MAX_LINE_LENGTH];
data/coda-2.21.2/libcoda/coda-rinex.c:2495:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[61];
data/coda-2.21.2/libcoda/coda-rinex.c:2510:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char epoch_string[28];
data/coda-2.21.2/libcoda/coda-rinex.c:2529:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(epoch_string, &line[2], 27);
data/coda-2.21.2/libcoda/coda-rinex.c:2543:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(str, &line[32], 3);
data/coda-2.21.2/libcoda/coda-rinex.c:2652:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[MAX_LINE_LENGTH];
data/coda-2.21.2/libcoda/coda-rinex.c:2656:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[61];
data/coda-2.21.2/libcoda/coda-rinex.c:2683:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, line, 20);
data/coda-2.21.2/libcoda/coda-rinex.c:2689:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, &line[20], 20);
data/coda-2.21.2/libcoda/coda-rinex.c:2694:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, &line[40], 15);
data/coda-2.21.2/libcoda/coda-rinex.c:2701:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, &line[56], 3);
data/coda-2.21.2/libcoda/coda-rinex.c:2719:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, line, 4);
data/coda-2.21.2/libcoda/coda-rinex.c:2753:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, line, 4);
data/coda-2.21.2/libcoda/coda-rinex.c:2807:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(str, &line[51], 5);
data/coda-2.21.2/libcoda/coda-rinex.c:2915:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[MAX_LINE_LENGTH];
data/coda-2.21.2/libcoda/coda-rinex.c:2917:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[61];
data/coda-2.21.2/libcoda/coda-rinex.c:2932:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char epoch_string[20];
data/coda-2.21.2/libcoda/coda-rinex.c:2965:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(str, &line[1], 2);
data/coda-2.21.2/libcoda/coda-rinex.c:2979:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(epoch_string, &line[4], 19);
data/coda-2.21.2/libcoda/coda-rinex.c:3385:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[MAX_LINE_LENGTH];
data/coda-2.21.2/libcoda/coda-rinex.c:3388:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[61];
data/coda-2.21.2/libcoda/coda-rinex.c:3412:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, line, 20);
data/coda-2.21.2/libcoda/coda-rinex.c:3418:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, &line[20], 20);
data/coda-2.21.2/libcoda/coda-rinex.c:3423:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, &line[40], 15);
data/coda-2.21.2/libcoda/coda-rinex.c:3430:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, &line[56], 3);
data/coda-2.21.2/libcoda/coda-rinex.c:3449:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, &line[3], 3);
data/coda-2.21.2/libcoda/coda-rinex.c:3535:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[MAX_LINE_LENGTH];
data/coda-2.21.2/libcoda/coda-rinex.c:3538:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[61];
data/coda-2.21.2/libcoda/coda-rinex.c:3552:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char epoch_string[28];
data/coda-2.21.2/libcoda/coda-rinex.c:3564:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(str, line, 2);
data/coda-2.21.2/libcoda/coda-rinex.c:3571:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(str, &line[3], 4);
data/coda-2.21.2/libcoda/coda-rinex.c:3578:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(epoch_string, &line[8], 27);
data/coda-2.21.2/libcoda/coda-rinex.c:3587:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(str, &line[34], 3);
data/coda-2.21.2/libcoda/coda-rinex.c:3711:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    info.f = fopen(product->filename, "r");
data/coda-2.21.2/libcoda/coda-sp3.c:893:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[MAX_LINE_LENGTH];
data/coda-2.21.2/libcoda/coda-sp3.c:896:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[61];
data/coda-2.21.2/libcoda/coda-sp3.c:921:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(str, &line[3], 28);
data/coda-2.21.2/libcoda/coda-sp3.c:937:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(str, &line[40], 5);
data/coda-2.21.2/libcoda/coda-sp3.c:943:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(str, &line[46], 5);
data/coda-2.21.2/libcoda/coda-sp3.c:949:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(str, &line[52], 3);
data/coda-2.21.2/libcoda/coda-sp3.c:955:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(str, &line[56], 4);
data/coda-2.21.2/libcoda/coda-sp3.c:1088:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, &line[9 + (i % 17) * 3], 3);
data/coda-2.21.2/libcoda/coda-sp3.c:1163:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(str, &line[3], 2);
data/coda-2.21.2/libcoda/coda-sp3.c:1169:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(str, &line[9], 3);
data/coda-2.21.2/libcoda/coda-sp3.c:1254:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[MAX_LINE_LENGTH];
data/coda-2.21.2/libcoda/coda-sp3.c:1257:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[61];
data/coda-2.21.2/libcoda/coda-sp3.c:1295:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, &line[3], 28);
data/coda-2.21.2/libcoda/coda-sp3.c:1319:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, &line[1], 3);
data/coda-2.21.2/libcoda/coda-sp3.c:1457:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(str, &line[1], 3);
data/coda-2.21.2/libcoda/coda-sp3.c:1896:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    info.f = fopen(product->filename, "r");
data/coda-2.21.2/libcoda/coda-time.c:124:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int coda_month_to_integer(const char month[3])
data/coda-2.21.2/libcoda/coda-time.c:126:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char month_str[4];
data/coda-2.21.2/libcoda/coda-time.c:642:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[100];
data/coda-2.21.2/libcoda/coda-time.c:646:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen(filename, "r");
data/coda-2.21.2/libcoda/coda-time.c:658:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char month[3];
data/coda-2.21.2/libcoda/coda-time.c:1103:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(&str[si], "%04d", year);
data/coda-2.21.2/libcoda/coda-time.c:1122:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(&str[si], "%02d", month);
data/coda-2.21.2/libcoda/coda-time.c:1134:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(&str[si], "%02d", day);
data/coda-2.21.2/libcoda/coda-time.c:1150:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(&str[si], "%03d", mjd - mjd_offset + 1);
data/coda-2.21.2/libcoda/coda-time.c:1161:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(&str[si], "%02d", hour);
data/coda-2.21.2/libcoda/coda-time.c:1172:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(&str[si], "%02d", minute);
data/coda-2.21.2/libcoda/coda-time.c:1183:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(&str[si], "%02d", second);
data/coda-2.21.2/libcoda/coda-time.c:1207:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(&str[si], "%0*d", n, fraction);
data/coda-2.21.2/libcoda/coda-transpose-array.h:176:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(array, dst, num_elements * element_size);
data/coda-2.21.2/libcoda/coda-type.c:842:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char s[21];
data/coda-2.21.2/libcoda/coda-type.c:853:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s[21];
data/coda-2.21.2/libcoda/coda-type.c:2086:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s[21];
data/coda-2.21.2/libcoda/coda-type.c:2150:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(type->fixed_value, fixed_value, length);
data/coda-2.21.2/libcoda/coda-type.c:2192:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s[21];
data/coda-2.21.2/libcoda/coda-type.c:2486:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char strexpr[64];
data/coda-2.21.2/libcoda/coda-type.c:2519:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(strexpr, "%d", mapping->length);
data/coda-2.21.2/libcoda/coda-utils.c:204:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(&identifier[length], "_%d", counter);
data/coda-2.21.2/libcoda/coda-utils.c:487:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(path, initialpath, initialpath_length);
data/coda-2.21.2/libcoda/coda-utils.c:497:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(path, appendpath, appendpath_length);
data/coda-2.21.2/libcoda/coda-utils.c:571:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(&filepath[argv0_length], ".exe");
data/coda-2.21.2/libcoda/coda-utils.c:605:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char cwd[4096 + 1];
data/coda-2.21.2/libcoda/coda-utils.c:799:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(s, "%ld", (long)a);
data/coda-2.21.2/libcoda/coda-utils.c:811:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(s, "%ld%08ld%08ld", (long)a, a2, a1);
data/coda-2.21.2/libcoda/coda-utils.c:815:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(s, "%ld%08ld", a2, a1);
data/coda-2.21.2/libcoda/coda-utils.c:832:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(s, "nan");
data/coda-2.21.2/libcoda/coda-utils.c:836:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(s, "+inf");
data/coda-2.21.2/libcoda/coda-utils.c:840:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(s, "-inf");
data/coda-2.21.2/libcoda/coda-utils.c:844:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(s, "%.16g", a);
data/coda-2.21.2/libcoda/coda-xml-parser.c:259:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *xml_name[CODA_CURSOR_MAXDEPTH];
data/coda-2.21.2/libcoda/coda-xml-parser.c:738:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&info->value[info->value_length], s, len);
data/coda-2.21.2/libcoda/coda-xml-parser.c:744:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buff[BUFFSIZE];
data/coda-2.21.2/libcoda/coda-xml-parser.c:821:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char byte_offset_str[21];
data/coda-2.21.2/libcoda/coda-xml-parser.c:843:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s[21];
data/coda-2.21.2/libcoda/expat/siphash.h:143:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[8], *p;
data/coda-2.21.2/libcoda/expat/siphash.h:292:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static const unsigned char vectors[64][8] = {
data/coda-2.21.2/libcoda/expat/siphash.h:358:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char in[64];
data/coda-2.21.2/libcoda/expat/xmlparse.c:108:33:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    to the build system, please open a bug.  Thank you!
data/coda-2.21.2/libcoda/expat/xmlparse.c:168:24:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define memmove(d,s,l) bcopy((s),(d),(l))
data/coda-2.21.2/libcoda/expat/xmlparse.c:281:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  XML_Bool open;
data/coda-2.21.2/libcoda/expat/xmlparse.c:721:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  const int fd = open("/dev/urandom", O_RDONLY);
data/coda-2.21.2/libcoda/expat/xmlparse.c:1932:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(parser->m_buffer, end, nLeftOver);
data/coda-2.21.2/libcoda/expat/xmlparse.c:1948:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(buff, s, len);
data/coda-2.21.2/libcoda/expat/xmlparse.c:2093:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(newBuf, &parser->m_bufferPtr[-keep],
data/coda-2.21.2/libcoda/expat/xmlparse.c:2108:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(newBuf, parser->m_bufferPtr,
data/coda-2.21.2/libcoda/expat/xmlparse.c:2537:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(rawNameBuf, tag->rawName, tag->rawNameLength);
data/coda-2.21.2/libcoda/expat/xmlparse.c:2790:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if (entity->open)
data/coda-2.21.2/libcoda/expat/xmlparse.c:3535:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(uri, binding->uri, binding->uriLen * sizeof(XML_Char));
data/coda-2.21.2/libcoda/expat/xmlparse.c:3544:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(uri, localPart, i * sizeof(XML_Char));
data/coda-2.21.2/libcoda/expat/xmlparse.c:3549:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(uri + 1, binding->prefix->name, prefixLen * sizeof(XML_Char));
data/coda-2.21.2/libcoda/expat/xmlparse.c:3652:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(b->uri, uri, len * sizeof(XML_Char));
data/coda-2.21.2/libcoda/expat/xmlparse.c:3931:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char encodingBuf[128];
data/coda-2.21.2/libcoda/expat/xmlparse.c:5104:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if (entity->open)
data/coda-2.21.2/libcoda/expat/xmlparse.c:5646:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if (entity->open) {
data/coda-2.21.2/libcoda/expat/xmlparse.c:5763:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if (entity->open) {
data/coda-2.21.2/libcoda/expat/xmlparse.c:6234:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!e->open)
data/coda-2.21.2/libcoda/expat/xmlparse.c:6973:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pool->blocks->s, pool->start,
data/coda-2.21.2/libcoda/expat/xmlparse.c:7053:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(tem->s, pool->start,
data/coda-2.21.2/libcoda/expat/xmlparse.c:7213:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(result, s, charsRequired * sizeof(XML_Char));
data/coda-2.21.2/libcoda/expat/xmltok.c:206:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char type[256];
data/coda-2.21.2/libcoda/expat/xmltok.c:422:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(*toP, *fromP, bytesToCopy);
data/coda-2.21.2/libcoda/expat/xmltok.c:1094:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1];
data/coda-2.21.2/libcoda/expat/xmltok.c:1129:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  char open;
data/coda-2.21.2/libcoda/expat/xmltok.c:1188:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (c == open)
data/coda-2.21.2/libcoda/expat/xmltok.c:1396:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char utf8[256][4];
data/coda-2.21.2/libcoda/expat/xmltok.c:1441:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[XML_UTF8_ENCODE_MAX];
data/coda-2.21.2/libcoda/expat/xmltok.c:1463:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(*toP, utf8, n);
data/coda-2.21.2/libcoda/expat/xmltok.c:1502:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    ((char *)mem)[i] = ((char *)&latin1_encoding)[i];
data/coda-2.21.2/libcoda/expat/xmltok_impl.c:610:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        int open;
data/coda-2.21.2/libcoda/expat/xmltok_impl.c:620:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          switch (open) {
data/coda-2.21.2/libcoda/expat/xmltok_impl.c:636:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          if (t == open)
data/coda-2.21.2/libcoda/expat/xmltok_impl.c:964:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
PREFIX(scanLit)(int open, const ENCODING *enc,
data/coda-2.21.2/libcoda/expat/xmltok_impl.c:975:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if (t != open)
data/coda-2.21.2/libcoda/expat/xmltok_impl.c:1538:60:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                   || BYTE_TYPE(enc, ptr + MINBPC(enc)) == open))
data/coda-2.21.2/libcoda/expat/xmltok_ns.c:102:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[ENCODING_MAX];
data/coda-2.21.2/libcoda/pcre/pcre_compile.c:934:1:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
memcpy(newspace, cd->start_workspace, cd->workspace_size * sizeof(pcre_uchar));
data/coda-2.21.2/libcoda/pcre/pcre_compile.c:5122:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pbits, cbits + posix_class_maps[posix_class],
data/coda-2.21.2/libcoda/pcre/pcre_compile.c:5626:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(code, classbits, 32);
data/coda-2.21.2/libcoda/pcre/pcre_compile.c:5655:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(code, classbits, 32);
data/coda-2.21.2/libcoda/pcre/pcre_compile.c:5834:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(utf_chars, lastchar, IN_UCHARS(c)); /* Save the char */
data/coda-2.21.2/libcoda/pcre/pcre_compile.c:5939:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(code, utf_chars, IN_UCHARS(c & 7));
data/coda-2.21.2/libcoda/pcre/pcre_compile.c:5964:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(code, utf_chars, IN_UCHARS(c & 7));
data/coda-2.21.2/libcoda/pcre/pcre_compile.c:5994:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(code, utf_chars, IN_UCHARS(c & 7));
data/coda-2.21.2/libcoda/pcre/pcre_compile.c:6200:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy(code, previous, IN_UCHARS(len));
data/coda-2.21.2/libcoda/pcre/pcre_compile.c:6278:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(code, previous, IN_UCHARS(len));
data/coda-2.21.2/libcoda/pcre/pcre_compile.c:6725:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy(code, arg, IN_UCHARS(arglen));
data/coda-2.21.2/libcoda/pcre/pcre_compile.c:7261:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy(newspace, cd->named_groups,
data/coda-2.21.2/libcoda/pcre/pcre_compile.c:9002:1:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
memcpy(slot + IMM2_SIZE, name, IN_UCHARS(length));
data/coda-2.21.2/libcoda/pcre/pcre_dfa_exec.c:548:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(new_states, active_states, new_count * sizeof(stateblock));
data/coda-2.21.2/libcoda/pcre/pcre_exec.c:1793:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(new_recursive.offset_save, md->offset_vector,
data/coda-2.21.2/libcoda/pcre/pcre_exec.c:1808:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(md->offset_vector, new_recursive.offset_save,
data/coda-2.21.2/libcoda/pcre/pcre_exec.c:7063:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(offsets + 2, md->offset_vector + 2,
data/coda-2.21.2/libcoda/pcre/pcre_get.c:357:1:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
memcpy(buffer, subject + ovector[stringnumber], IN_UCHARS(yield));
data/coda-2.21.2/libcoda/pcre/pcre_get.c:484:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p, subject + ovector[i], IN_UCHARS(len));
data/coda-2.21.2/libcoda/pcre/pcre_get.c:571:1:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
memcpy(substring, subject + ovector[stringnumber], IN_UCHARS(yield));
data/coda-2.21.2/libcoda/pcre/pcre_internal.h:374:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define memcpy(d,s,n)    _memcpy(d,s,n)
data/coda-2.21.2/libcoda/pcre/pcre_internal.h:387:26:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define memmove(a, b, c) bcopy(b, a, c)
data/coda-2.21.2/libcoda/pcre/pcre_study.c:1594:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(study->start_bits, start_bits, sizeof(start_bits));
data/coda-2.21.2/libcoda/ziparchive.c:271:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&entry->attributes, &buffer.as_int8[38], 4);
data/coda-2.21.2/libcoda/ziparchive.c:276:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&entry->localheader_offset, &buffer.as_int8[42], 4);
data/coda-2.21.2/libcoda/ziparchive.c:357:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[2];
data/coda-2.21.2/libcoda/ziparchive.c:419:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    zf->fd = open(filename, open_flags);
data/coda-2.21.2/libcoda/ziparchive.c:580:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&crc, &buffer.as_int8[14], 4);
data/coda-2.21.2/libcoda/ziparchive.c:590:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&compressed_size, &buffer.as_int8[18], 4);
data/coda-2.21.2/libcoda/ziparchive.c:601:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&uncompressed_size, &buffer.as_int8[22], 4);
data/coda-2.21.2/libcoda/zlib/crc32.c:143:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        out = fopen("crc32.h", "w");
data/coda-2.21.2/libcoda/zlib/gzguts.h:47:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#  define open _open
data/coda-2.21.2/libcoda/zlib/inflate.c:640:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hbuf[4];      /* buffer for gzip header crc calculation */
data/coda-2.21.2/libcoda/zlib/inflate.c:1405:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[4];       /* to restore bit buffer to byte string */
data/coda-2.21.2/libcoda/zlib/zutil.c:13:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
z_const char * const z_errmsg[10] = {
data/coda-2.21.2/libcoda/zlib/zutil.h:49:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
data/coda-2.21.2/libcoda/zlib/zutil.h:109:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
     fopen((name), (mode), "mbc=60", "ctx=stm", "rfm=fix", "mrs=512")
data/coda-2.21.2/libcoda/zlib/zutil.h:202:30:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#  define F_OPEN(name, mode) fopen((name), (mode))
data/coda-2.21.2/libcoda/zlib/zutil.h:226:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#    define zmemcpy memcpy
data/coda-2.21.2/matlab/coda_matlab.c:214:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char funcname[MAX_FUNCNAME_LENGTH + 1];
data/coda-2.21.2/matlab/coda_matlab.c:1514:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[27];
data/coda-2.21.2/python/codac.c:633:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char hex[17] = "0123456789abcdef";
data/coda-2.21.2/python/codac.c:798:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(newstr, cstr, len+1);
data/coda-2.21.2/python/codac.c:1801:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char result[SWIG_BUFFER_SIZE];
data/coda-2.21.2/python/codac.c:1812:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char result[SWIG_BUFFER_SIZE];
data/coda-2.21.2/python/codac.c:1948:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pack, ptr, size);
data/coda-2.21.2/python/codac.c:1966:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ptr, sobj->pack, size);
data/coda-2.21.2/python/codac.c:2513:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mesg[256];
data/coda-2.21.2/python/codac.c:2873:20:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  *cptr = (char *)memcpy(malloc((len + 1)*sizeof(char)), cstr, sizeof(char)*(len + 1));
data/coda-2.21.2/python/codac.c:2915:27:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          *cptr = (char *)memcpy(malloc((len + 1)*sizeof(char)), cstr, sizeof(char)*(len + 1));
data/coda-2.21.2/python/codac.c:3115:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(new_cursor, self, sizeof(coda_cursor));
data/coda-2.21.2/python/codac.c:11617:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(gv->name, name, size);
data/coda-2.21.2/python/codac.c:11698:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy(buff, methods[i].ml_doc, ldoc);
data/coda-2.21.2/python/codac.c:11700:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy(buff, "swig_ptr: ", 10);
data/coda-2.21.2/strdup.c:23:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(new_str, str, length);
data/coda-2.21.2/tools/codacheck/codacheck.c:283:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char filename[1000];
data/coda-2.21.2/tools/codacmp/codacmp.c:860:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char s[21];
data/coda-2.21.2/tools/codacmp/codacmp.c:902:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char s[21];
data/coda-2.21.2/tools/codacmp/codacmp.c:1054:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s[21];
data/coda-2.21.2/tools/codadd/codadd-definition.c:330:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s[21];
data/coda-2.21.2/tools/codadd/codadd-definition.c:442:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char s[21];
data/coda-2.21.2/tools/codadd/codadd-definition.c:466:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char s[21];
data/coda-2.21.2/tools/codadd/codadd-definition.c:546:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char s[21];
data/coda-2.21.2/tools/codadd/codadd-definition.c:553:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char s[24];
data/coda-2.21.2/tools/codadd/codadd-definition.c:644:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char currentdate[15] = "";
data/coda-2.21.2/tools/codadd/codadd-definition.c:664:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(currentdate, "%04d-%02d-%02d", ttm->tm_year + 1900, ttm->tm_mon + 1, ttm->tm_mday);
data/coda-2.21.2/tools/codadd/codadd-definition.c:707:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        FFILE = fopen(output_file_name, "w");
data/coda-2.21.2/tools/codadd/codadd-doc.c:496:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char s[21];
data/coda-2.21.2/tools/codadd/codadd-doc.c:560:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char dimstr[10];
data/coda-2.21.2/tools/codadd/codadd-doc.c:562:29:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                            sprintf(dimstr, "dim_%d", i);
data/coda-2.21.2/tools/codadd/codadd-doc.c:591:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char s[24];
data/coda-2.21.2/tools/codadd/codadd-doc.c:644:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                char s[21];
data/coda-2.21.2/tools/codadd/codadd-doc.c:651:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                char s[24];
data/coda-2.21.2/tools/codadd/codadd-doc.c:877:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FFILE = fopen(filename, "w");
data/coda-2.21.2/tools/codadd/codadd-doc.c:907:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FFILE = fopen(filename, "w");
data/coda-2.21.2/tools/codadd/codadd-doc.c:1104:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FFILE = fopen(filename, "w");
data/coda-2.21.2/tools/codadd/codadd-doc.c:1126:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(sorted_list, product_class->named_type, product_class->num_named_types * sizeof(coda_type *));
data/coda-2.21.2/tools/codadd/codadd-doc.c:1216:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FFILE = fopen(filename, "w");
data/coda-2.21.2/tools/codadd/codadd-doc.c:1304:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FFILE = fopen(filename, "w");
data/coda-2.21.2/tools/codadd/codadd-xmlschema.c:221:25:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        schema_output = fopen(output_file_name, "w");
data/coda-2.21.2/tools/codadump/codadump-ascii.c:248:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char s[21];
data/coda-2.21.2/tools/codadump/codadump-ascii.c:262:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char s[21];
data/coda-2.21.2/tools/codadump/codadump-ascii.c:323:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                char str[27];
data/coda-2.21.2/tools/codadump/codadump-ascii.c:327:37:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                                    strcpy(str, "                          ");
data/coda-2.21.2/tools/codadump/codadump-debug.c:203:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                char s[21];
data/coda-2.21.2/tools/codadump/codadump-debug.c:251:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                    char s[21];
data/coda-2.21.2/tools/codadump/codadump-debug.c:336:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                    char s[21];
data/coda-2.21.2/tools/codadump/codadump-debug.c:435:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char s[21];
data/coda-2.21.2/tools/codadump/codadump-debug.c:500:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char s[21];
data/coda-2.21.2/tools/codadump/codadump-debug.c:514:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char s[21];
data/coda-2.21.2/tools/codadump/codadump-debug.c:594:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char str[27];
data/coda-2.21.2/tools/codadump/codadump-hdf4.c:314:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(hdf4_info.dim_name[dim_id + i], "DIM%03d", traverse_info.parent_index[0]);
data/coda-2.21.2/tools/codadump/codadump-hdf4.c:317:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(&hdf4_info.dim_name[dim_id + i][2 + j * 4], ":%03d", traverse_info.parent_index[j]);
data/coda-2.21.2/tools/codadump/codadump-hdf4.c:319:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(&hdf4_info.dim_name[dim_id + i][2 + traverse_info.num_records * 4], "-%02d", dim_id + i);
data/coda-2.21.2/tools/codadump/codadump-hdf4.c:497:33:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                                memcpy(&hdf4_info.data[hdf4_info.offset], str, length);
data/coda-2.21.2/tools/codadump/codadump-hdf4.c:776:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&hdf4_info.data[hdf4_info.offset], fill_value, hdf4_info.sizeof_hdf_type);
data/coda-2.21.2/tools/codadump/codadump-hdf4.c:968:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            unsigned char data[8];      /* buffer for maximum basic data type size */
data/coda-2.21.2/tools/codadump/codadump-hdf4.c:1019:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            unsigned char data[8];      /* buffer for double data type */
data/coda-2.21.2/tools/codadump/codadump-hdf4.c:1033:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            unsigned char data[16];     /* buffer for double compound data type */
data/coda-2.21.2/tools/codadump/codadump-hdf4.c:1095:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char s[21];
data/coda-2.21.2/tools/codadump/codadump-hdf4.c:1106:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s2[21];
data/coda-2.21.2/tools/codadump/codadump-json.c:380:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char s[21];
data/coda-2.21.2/tools/codadump/codadump-json.c:394:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char s[21];
data/coda-2.21.2/tools/codadump/codadump-json.c:460:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char str[27];
data/coda-2.21.2/tools/codadump/codadump-yaml.c:438:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char s[21];
data/coda-2.21.2/tools/codadump/codadump-yaml.c:452:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char s[21];
data/coda-2.21.2/tools/codadump/codadump-yaml.c:518:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            char str[27];
data/coda-2.21.2/tools/codadump/codadump.c:409:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        ascii_output = fopen(output_file_name, "w");
data/coda-2.21.2/tools/codadump/codadump.c:610:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        ascii_output = fopen(output_file_name, "w");
data/coda-2.21.2/tools/codadump/codadump.c:696:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        ascii_output = fopen(output_file_name, "w");
data/coda-2.21.2/tools/codadump/codadump.c:747:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            max_depth = atoi(argv[i + 1]);      /* we just use '0' if the conversion to int fails */
data/coda-2.21.2/tools/codadump/codadump.c:755:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            format_version = atoi(argv[i + 3]); /* we just use '0' if the conversion to int fails */
data/coda-2.21.2/tools/codadump/codadump.c:786:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        ascii_output = fopen(output_file_name, "w");
data/coda-2.21.2/tools/codadump/codadump.h:135:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *field_name[CODA_CURSOR_MAXDEPTH];       /* field names for parents that are records */
data/coda-2.21.2/tools/codadump/codadump.h:154:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dim_name[MAX_NUM_DIMS][MAX_DIM_NAME];
data/coda-2.21.2/tools/codaeval/codaeval.c:184:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char s[21];
data/coda-2.21.2/fortran/coda_fortran.c:67:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define OUTSTR_END(STR) if (STR##_s != NULL) { STR##_l = strlen(STR##_s); if (STR##_l > STR##_size) { memcpy(STR, STR##_s, STR##_size); } else { memcpy(STR, STR##_s, STR##_l); while (STR##_l < STR##_size) { STR[STR##_l] = ' '; STR##_l++; } } } else { memset(STR, ' ', STR##_size); }
data/coda-2.21.2/fortran/coda_fortran.c:72:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define INOUTSTR_END(STR) STR##_l = strlen(STR##_s); assert(STR##_l <= STR##_size); memcpy(STR, STR##_s, STR##_l); while (STR##_l < STR##_size) { STR[STR##_l] = ' '; STR##_l++; } free(STR##_s);
data/coda-2.21.2/java/coda_jni.c:833:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        char *dst = (char *)malloc(strlen(format) + 1);
data/coda-2.21.2/java/coda_jni.c:841:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        char *dst = (char *)malloc(strlen(format) + 1);
data/coda-2.21.2/java/coda_jni.c:849:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        char *dst = (char *)malloc(strlen(format) + 1);
data/coda-2.21.2/java/coda_jni.c:1342:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_double");
data/coda-2.21.2/java/coda_jni.c:1344:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:1389:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_uint64");
data/coda-2.21.2/java/coda_jni.c:1391:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:1436:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_char");
data/coda-2.21.2/java/coda_jni.c:1438:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:1474:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_char_array");
data/coda-2.21.2/java/coda_jni.c:1476:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:1511:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_char_partial_array");
data/coda-2.21.2/java/coda_jni.c:1513:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:1539:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_init");
data/coda-2.21.2/java/coda_jni.c:1541:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:1571:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_set_definition_path");
data/coda-2.21.2/java/coda_jni.c:1573:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:1616:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_set_definition_path_conditional");
data/coda-2.21.2/java/coda_jni.c:1618:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:1647:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_set_option_bypass_special_types");
data/coda-2.21.2/java/coda_jni.c:1649:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:1675:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_set_option_perform_boundary_checks");
data/coda-2.21.2/java/coda_jni.c:1677:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:1703:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_set_option_perform_conversions");
data/coda-2.21.2/java/coda_jni.c:1705:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:1731:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_set_option_use_fast_size_expressions");
data/coda-2.21.2/java/coda_jni.c:1733:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:1759:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_set_option_use_mmap");
data/coda-2.21.2/java/coda_jni.c:1761:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:1792:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_c_index_to_fortran_index");
data/coda-2.21.2/java/coda_jni.c:1794:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:1921:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_time_double_to_parts");
data/coda-2.21.2/java/coda_jni.c:1923:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:2082:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_time_double_to_parts_utc");
data/coda-2.21.2/java/coda_jni.c:2084:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:2171:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_time_parts_to_double");
data/coda-2.21.2/java/coda_jni.c:2173:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:2230:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_time_parts_to_double_utc");
data/coda-2.21.2/java/coda_jni.c:2232:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:2371:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_time_string_to_parts");
data/coda-2.21.2/java/coda_jni.c:2373:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:2460:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_time_string_to_double");
data/coda-2.21.2/java/coda_jni.c:2462:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:2519:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_time_string_to_double_utc");
data/coda-2.21.2/java/coda_jni.c:2521:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:2580:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_datetime_to_double");
data/coda-2.21.2/java/coda_jni.c:2582:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:2711:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_double_to_datetime");
data/coda-2.21.2/java/coda_jni.c:2713:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:2792:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_string_to_time");
data/coda-2.21.2/java/coda_jni.c:2794:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:2852:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_utcdatetime_to_double");
data/coda-2.21.2/java/coda_jni.c:2854:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:2983:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_double_to_utcdatetime");
data/coda-2.21.2/java/coda_jni.c:2985:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:3064:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_utcstring_to_time");
data/coda-2.21.2/java/coda_jni.c:3066:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:3107:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_open");
data/coda-2.21.2/java/coda_jni.c:3109:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:3167:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_open_as");
data/coda-2.21.2/java/coda_jni.c:3169:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:3206:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_close");
data/coda-2.21.2/java/coda_jni.c:3208:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:3248:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_get_product_filename");
data/coda-2.21.2/java/coda_jni.c:3250:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:3297:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_get_product_file_size");
data/coda-2.21.2/java/coda_jni.c:3299:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:3344:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_get_product_format");
data/coda-2.21.2/java/coda_jni.c:3346:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:3391:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_get_product_class");
data/coda-2.21.2/java/coda_jni.c:3393:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:3440:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_get_product_type");
data/coda-2.21.2/java/coda_jni.c:3442:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:3489:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_get_product_version");
data/coda-2.21.2/java/coda_jni.c:3491:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:3536:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_get_product_definition_file");
data/coda-2.21.2/java/coda_jni.c:3538:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:3576:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_get_product_root_type");
data/coda-2.21.2/java/coda_jni.c:3578:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:3634:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_get_product_variable_value");
data/coda-2.21.2/java/coda_jni.c:3636:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:3682:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_has_attributes");
data/coda-2.21.2/java/coda_jni.c:3684:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:3729:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_format");
data/coda-2.21.2/java/coda_jni.c:3731:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:3776:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_class");
data/coda-2.21.2/java/coda_jni.c:3778:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:3823:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_read_type");
data/coda-2.21.2/java/coda_jni.c:3825:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:3870:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_string_length");
data/coda-2.21.2/java/coda_jni.c:3872:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:3917:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_bit_size");
data/coda-2.21.2/java/coda_jni.c:3919:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:3964:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_name");
data/coda-2.21.2/java/coda_jni.c:3966:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:4013:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_description");
data/coda-2.21.2/java/coda_jni.c:4015:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:4062:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_unit");
data/coda-2.21.2/java/coda_jni.c:4064:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:4125:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_fixed_value");
data/coda-2.21.2/java/coda_jni.c:4127:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:4170:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_attributes");
data/coda-2.21.2/java/coda_jni.c:4172:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:4220:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_num_record_fields");
data/coda-2.21.2/java/coda_jni.c:4222:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:4273:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_record_field_index_from_name");
data/coda-2.21.2/java/coda_jni.c:4275:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:4327:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_record_field_index_from_real_name");
data/coda-2.21.2/java/coda_jni.c:4329:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:4368:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_record_field_type");
data/coda-2.21.2/java/coda_jni.c:4370:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:4420:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_record_field_name");
data/coda-2.21.2/java/coda_jni.c:4422:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:4471:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_record_field_real_name");
data/coda-2.21.2/java/coda_jni.c:4473:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:4522:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_record_field_hidden_status");
data/coda-2.21.2/java/coda_jni.c:4524:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:4571:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_record_field_available_status");
data/coda-2.21.2/java/coda_jni.c:4573:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:4618:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_record_union_status");
data/coda-2.21.2/java/coda_jni.c:4620:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:4665:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_array_num_dims");
data/coda-2.21.2/java/coda_jni.c:4667:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:4715:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_array_dim");
data/coda-2.21.2/java/coda_jni.c:4717:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:4755:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_array_base_type");
data/coda-2.21.2/java/coda_jni.c:4757:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:4805:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_special_type");
data/coda-2.21.2/java/coda_jni.c:4807:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:4843:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_type_get_special_base_type");
data/coda-2.21.2/java/coda_jni.c:4845:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:4881:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_set_product");
data/coda-2.21.2/java/coda_jni.c:4883:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:4915:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_goto");
data/coda-2.21.2/java/coda_jni.c:4917:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:4944:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_goto_first_record_field");
data/coda-2.21.2/java/coda_jni.c:4946:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:4972:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_goto_next_record_field");
data/coda-2.21.2/java/coda_jni.c:4974:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5002:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_goto_record_field_by_index");
data/coda-2.21.2/java/coda_jni.c:5004:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5036:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_goto_record_field_by_name");
data/coda-2.21.2/java/coda_jni.c:5038:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5065:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_goto_available_union_field");
data/coda-2.21.2/java/coda_jni.c:5067:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5093:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_goto_first_array_element");
data/coda-2.21.2/java/coda_jni.c:5095:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5121:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_goto_next_array_element");
data/coda-2.21.2/java/coda_jni.c:5123:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5154:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_goto_array_element");
data/coda-2.21.2/java/coda_jni.c:5156:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5186:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_goto_array_element_by_index");
data/coda-2.21.2/java/coda_jni.c:5188:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5214:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_goto_attributes");
data/coda-2.21.2/java/coda_jni.c:5216:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5242:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_goto_root");
data/coda-2.21.2/java/coda_jni.c:5244:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5270:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_goto_parent");
data/coda-2.21.2/java/coda_jni.c:5272:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5298:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_use_base_type_of_special_type");
data/coda-2.21.2/java/coda_jni.c:5300:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5340:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_has_ascii_content");
data/coda-2.21.2/java/coda_jni.c:5342:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5387:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_has_attributes");
data/coda-2.21.2/java/coda_jni.c:5389:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5434:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_get_string_length");
data/coda-2.21.2/java/coda_jni.c:5436:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5481:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_get_bit_size");
data/coda-2.21.2/java/coda_jni.c:5483:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5528:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_get_byte_size");
data/coda-2.21.2/java/coda_jni.c:5530:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5575:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_get_num_elements");
data/coda-2.21.2/java/coda_jni.c:5577:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5613:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_get_product_file");
data/coda-2.21.2/java/coda_jni.c:5615:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5663:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_get_depth");
data/coda-2.21.2/java/coda_jni.c:5665:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5710:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_get_index");
data/coda-2.21.2/java/coda_jni.c:5712:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5757:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_get_file_bit_offset");
data/coda-2.21.2/java/coda_jni.c:5759:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5804:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_get_file_byte_offset");
data/coda-2.21.2/java/coda_jni.c:5806:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5851:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_get_format");
data/coda-2.21.2/java/coda_jni.c:5853:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5898:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_get_type_class");
data/coda-2.21.2/java/coda_jni.c:5900:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5945:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_get_read_type");
data/coda-2.21.2/java/coda_jni.c:5947:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:5992:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_get_special_type");
data/coda-2.21.2/java/coda_jni.c:5994:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6030:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_get_type");
data/coda-2.21.2/java/coda_jni.c:6032:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6086:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_get_record_field_index_from_name");
data/coda-2.21.2/java/coda_jni.c:6088:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6136:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_get_record_field_available_status");
data/coda-2.21.2/java/coda_jni.c:6138:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6183:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_get_available_union_field_index");
data/coda-2.21.2/java/coda_jni.c:6185:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6233:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_get_array_dim");
data/coda-2.21.2/java/coda_jni.c:6235:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6271:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_int8");
data/coda-2.21.2/java/coda_jni.c:6273:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6304:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_uint8");
data/coda-2.21.2/java/coda_jni.c:6306:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6337:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_int16");
data/coda-2.21.2/java/coda_jni.c:6339:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6370:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_uint16");
data/coda-2.21.2/java/coda_jni.c:6372:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6403:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_int32");
data/coda-2.21.2/java/coda_jni.c:6405:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6436:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_uint32");
data/coda-2.21.2/java/coda_jni.c:6438:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6469:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_int64");
data/coda-2.21.2/java/coda_jni.c:6471:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6502:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_float");
data/coda-2.21.2/java/coda_jni.c:6504:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6539:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_bits");
data/coda-2.21.2/java/coda_jni.c:6541:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6576:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_bytes");
data/coda-2.21.2/java/coda_jni.c:6578:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6611:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_int8_array");
data/coda-2.21.2/java/coda_jni.c:6613:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6646:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_uint8_array");
data/coda-2.21.2/java/coda_jni.c:6648:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6681:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_int16_array");
data/coda-2.21.2/java/coda_jni.c:6683:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6716:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_uint16_array");
data/coda-2.21.2/java/coda_jni.c:6718:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6751:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_int32_array");
data/coda-2.21.2/java/coda_jni.c:6753:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6786:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_uint32_array");
data/coda-2.21.2/java/coda_jni.c:6788:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6821:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_int64_array");
data/coda-2.21.2/java/coda_jni.c:6823:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6867:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_uint64_array");
data/coda-2.21.2/java/coda_jni.c:6869:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6905:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_float_array");
data/coda-2.21.2/java/coda_jni.c:6907:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6940:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_double_array");
data/coda-2.21.2/java/coda_jni.c:6942:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:6977:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_int8_partial_array");
data/coda-2.21.2/java/coda_jni.c:6979:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:7014:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_uint8_partial_array");
data/coda-2.21.2/java/coda_jni.c:7016:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:7051:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_int16_partial_array");
data/coda-2.21.2/java/coda_jni.c:7053:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:7088:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_uint16_partial_array");
data/coda-2.21.2/java/coda_jni.c:7090:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:7125:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_int32_partial_array");
data/coda-2.21.2/java/coda_jni.c:7127:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:7162:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_uint32_partial_array");
data/coda-2.21.2/java/coda_jni.c:7164:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:7199:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_int64_partial_array");
data/coda-2.21.2/java/coda_jni.c:7201:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:7247:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_uint64_partial_array");
data/coda-2.21.2/java/coda_jni.c:7249:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:7287:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_float_partial_array");
data/coda-2.21.2/java/coda_jni.c:7289:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:7324:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_double_partial_array");
data/coda-2.21.2/java/coda_jni.c:7326:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:7357:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_complex_double_pair");
data/coda-2.21.2/java/coda_jni.c:7359:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:7392:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_complex_double_pairs_array");
data/coda-2.21.2/java/coda_jni.c:7394:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:7450:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_complex_double_split");
data/coda-2.21.2/java/coda_jni.c:7452:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:7518:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_cursor_read_complex_double_split_array");
data/coda-2.21.2/java/coda_jni.c:7520:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:7565:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_expression_from_string");
data/coda-2.21.2/java/coda_jni.c:7567:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:7616:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_expression_get_type");
data/coda-2.21.2/java/coda_jni.c:7618:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:7665:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_expression_eval_bool");
data/coda-2.21.2/java/coda_jni.c:7667:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:7714:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_expression_eval_integer");
data/coda-2.21.2/java/coda_jni.c:7716:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:7763:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_expression_eval_float");
data/coda-2.21.2/java/coda_jni.c:7765:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:7826:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_expression_eval_string");
data/coda-2.21.2/java/coda_jni.c:7828:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/java/coda_jni.c:7871:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int namelen = (int)strlen("coda_expression_eval_node");
data/coda-2.21.2/java/coda_jni.c:7873:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *fullMessage = malloc(namelen + 4 + strlen(codamsg) + 1);
data/coda-2.21.2/libcoda/coda-ascii-cursor.c:135:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                sprintf(&offset_str[strlen(offset_str)], ":%d", (int)(current_bit_offset & 0x7));
data/coda-2.21.2/libcoda/coda-ascii-cursor.c:151:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                sprintf(&accessed_str[strlen(accessed_str)], ":%d", (int)(read_bit_size & 0x7));
data/coda-2.21.2/libcoda/coda-ascii-cursor.c:156:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                sprintf(&offset_str[strlen(offset_str)], ":%d", (int)(current_bit_offset & 0x7));
data/coda-2.21.2/libcoda/coda-ascii-cursor.c:161:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                sprintf(&size_str[strlen(size_str)], ":%d", (int)(bit_size & 0x7));
data/coda-2.21.2/libcoda/coda-cdf.c:57:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = (long)strlen(str);
data/coda-2.21.2/libcoda/coda-check.c:749:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                sprintf(&s1[strlen(s1)], ":%d", (int)((*bit_size) & 0x7));
data/coda-2.21.2/libcoda/coda-check.c:754:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                sprintf(&s2[strlen(s2)], ":%d", (int)(fast_size & 0x7));
data/coda-2.21.2/libcoda/coda-check.c:860:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    sprintf(&s2[strlen(s2)], ":%d", (int)(calculated_bit_size & 0x7));
data/coda-2.21.2/libcoda/coda-definition-parse.c:310:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = (int)strlen(str);
data/coda-2.21.2/libcoda/coda-definition-parse.c:788:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (is_whitespace(info->node->char_data, (int)strlen(info->node->char_data)))
data/coda-2.21.2/libcoda/coda-definition-parse.c:837:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (is_whitespace(info->node->char_data, (int)strlen(info->node->char_data)))
data/coda-2.21.2/libcoda/coda-definition-parse.c:886:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (is_whitespace(info->node->char_data, (int)strlen(info->node->char_data)))
data/coda-2.21.2/libcoda/coda-definition-parse.c:946:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (is_whitespace(info->node->char_data, (int)strlen(info->node->char_data)))
data/coda-2.21.2/libcoda/coda-definition-parse.c:1117:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (is_whitespace(info->node->char_data, (int)strlen(info->node->char_data)))
data/coda-2.21.2/libcoda/coda-definition-parse.c:1395:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (coda_type_set_byte_size(type, strlen(info->node->char_data)) != 0)
data/coda-2.21.2/libcoda/coda-definition-parse.c:1559:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (coda_ascii_parse_double(numerator_string, (long)strlen(numerator_string), &numerator, 1) < 0)
data/coda-2.21.2/libcoda/coda-definition-parse.c:1564:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (coda_ascii_parse_double(denominator_string, (long)strlen(denominator_string), &denominator, 1) < 0)
data/coda-2.21.2/libcoda/coda-definition-parse.c:1573:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (coda_ascii_parse_double(offset_string, (long)strlen(offset_string), &offset, 1) < 0)
data/coda-2.21.2/libcoda/coda-definition-parse.c:1582:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (coda_ascii_parse_double(invalid_string, (long)strlen(invalid_string), &invalid, 1) < 0)
data/coda-2.21.2/libcoda/coda-definition-parse.c:1998:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (coda_ascii_parse_int64(value_string, (long)strlen(value_string), &value, 0) < 0)
data/coda-2.21.2/libcoda/coda-definition-parse.c:2253:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    cpath = malloc(strlen(xml_path) + 6);
data/coda-2.21.2/libcoda/coda-definition-parse.c:2330:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        cp += strlen(identifier);
data/coda-2.21.2/libcoda/coda-definition-parse.c:2502:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (is_whitespace(info->node->char_data, (int)strlen(info->node->char_data)))
data/coda-2.21.2/libcoda/coda-definition-parse.c:3851:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        long current_length = (long)strlen(info->node->char_data);
data/coda-2.21.2/libcoda/coda-definition-parse.c:3972:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (tag < 0 && strncmp(el, CODA_DEFINITION_NAMESPACE, strlen(CODA_DEFINITION_NAMESPACE)) != 0)
data/coda-2.21.2/libcoda/coda-definition-parse.c:4102:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            entry_name = malloc(6 + strlen(name) + 4 + 1);
data/coda-2.21.2/libcoda/coda-definition-parse.c:4106:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                               (long)6 + strlen(name) + 4 + 1, __FILE__, __LINE__);
data/coda-2.21.2/libcoda/coda-definition-parse.c:4112:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            entry_name = malloc(9 + strlen(name) + 4 + 1);
data/coda-2.21.2/libcoda/coda-definition-parse.c:4116:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                               (long)9 + strlen(name) + 4 + 1, __FILE__, __LINE__);
data/coda-2.21.2/libcoda/coda-definition-parse.c:4332:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                pattern = malloc(strlen(path_component) + 10 + 1);
data/coda-2.21.2/libcoda/coda-definition-parse.c:4336:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                   (long)strlen(path_component) + 10 + 1, __FILE__, __LINE__);
data/coda-2.21.2/libcoda/coda-definition-parse.c:4362:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            filepath = malloc(strlen(path_component) + 1 + strlen(FileData.cFileName) + 1);
data/coda-2.21.2/libcoda/coda-definition-parse.c:4362:76:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            filepath = malloc(strlen(path_component) + 1 + strlen(FileData.cFileName) + 1);
data/coda-2.21.2/libcoda/coda-definition-parse.c:4367:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                               (long)strlen(path_component) + 1 + strlen(FileData.cFileName) + 1,
data/coda-2.21.2/libcoda/coda-definition-parse.c:4367:83:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                               (long)strlen(path_component) + 1 + strlen(FileData.cFileName) + 1,
data/coda-2.21.2/libcoda/coda-definition-parse.c:4417:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    filename_length = strlen(dp->d_name);
data/coda-2.21.2/libcoda/coda-definition-parse.c:4422:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        filepath = malloc(strlen(path_component) + 1 + filename_length + 1);
data/coda-2.21.2/libcoda/coda-definition-parse.c:4426:61:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                           "(%s:%u)", (long)strlen(path_component) + 1 + filename_length + 1, __FILE__,
data/coda-2.21.2/libcoda/coda-errno.c:177:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    current_length = (int)strlen(coda_error_message_buffer);
data/coda-2.21.2/libcoda/coda-errno.c:186:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        current_length = (int)strlen(message_buffer);
data/coda-2.21.2/libcoda/coda-expr.c:255:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (coda_ascii_parse_double(string_value, (long)strlen(string_value), &value, 0) < 0)
data/coda-2.21.2/libcoda/coda-expr.c:283:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (coda_ascii_parse_int64(string_value, (long)strlen(string_value), &value, 0) < 0)
data/coda-2.21.2/libcoda/coda-expr.c:321:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    expr->length = (long)strlen(string_value);
data/coda-2.21.2/libcoda/coda-expr.c:2973:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                *length = (long)strlen(s);
data/coda-2.21.2/libcoda/coda-expr.c:3509:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                *length = (long)strlen(filename);
data/coda-2.21.2/libcoda/coda-expr.c:3678:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    *length = (long)strlen(product_class);
data/coda-2.21.2/libcoda/coda-expr.c:3705:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    *length = (long)strlen(product_format);
data/coda-2.21.2/libcoda/coda-expr.c:3730:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    *length = (long)strlen(product_type);
data/coda-2.21.2/libcoda/coda-expr.c:3774:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    len_format = (long)strlen(format);
data/coda-2.21.2/libcoda/coda-expr.c:3797:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                *length = (long)strlen(*value);
data/coda-2.21.2/libcoda/coda-expr.c:4161:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        length = (int)strlen(str);
data/coda-2.21.2/libcoda/coda-filefilter.c:87:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = (int)strlen(str);
data/coda-2.21.2/libcoda/coda-hdf4-type.c:1591:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(type->field_name, field_name, MAX_HDF4_NAME_LENGTH);
data/coda-2.21.2/libcoda/coda-hdf5-cursor.c:373:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            *length = (long)strlen(buffer);
data/coda-2.21.2/libcoda/coda-hdf5-cursor.c:712:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size = (long)strlen(buffer);
data/coda-2.21.2/libcoda/coda-mem-type.c:940:100:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return coda_mem_data_new((coda_type *)definition, attributes, product, str == NULL ? 0 : (long)strlen(str),
data/coda-2.21.2/libcoda/coda-read-bytes-in-bounds.h:79:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (read(((coda_bin_product *)product)->fd, dst, (size_t)length) < 0)
data/coda-2.21.2/libcoda/coda-read-bytes.h:127:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (read(((coda_bin_product *)product)->fd, dst, (size_t)length) < 0)
data/coda-2.21.2/libcoda/coda-rinex.c:1715:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = (long)strlen(str);
data/coda-2.21.2/libcoda/coda-rinex.c:1738:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = (long)strlen(line);
data/coda-2.21.2/libcoda/coda-sp3.c:869:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = (long)strlen(line);
data/coda-2.21.2/libcoda/coda-type.c:264:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(str) > MAX_ASCII_NUMBER_LENGTH)
data/coda-2.21.2/libcoda/coda-type.c:267:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                       (long)strlen(str));
data/coda-2.21.2/libcoda/coda-type.c:290:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    mapping->length = (int)strlen(str);
data/coda-2.21.2/libcoda/coda-type.c:309:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(str) > MAX_ASCII_NUMBER_LENGTH)
data/coda-2.21.2/libcoda/coda-type.c:311:108:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        coda_set_error(CODA_ERROR_DATA_DEFINITION, "string too large (%ld) for ascii float mapping", (long)strlen(str));
data/coda-2.21.2/libcoda/coda-type.c:334:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    mapping->length = (int)strlen(str);
data/coda-2.21.2/libcoda/coda-type.c:2084:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if ((type->bit_size >> 3) != (int64_t)strlen(type->fixed_value))
data/coda-2.21.2/libcoda/coda-type.c:2091:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                           strlen(type->fixed_value), s);
data/coda-2.21.2/libcoda/coda-type.c:3148:63:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                *length = ((*fixed_value == NULL) ? 0 : (long)strlen(*fixed_value));
data/coda-2.21.2/libcoda/coda-utils.c:166:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = (int)strlen(name);
data/coda-2.21.2/libcoda/coda-utils.c:379:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int filename_length = (int)strlen(filename);
data/coda-2.21.2/libcoda/coda-utils.c:412:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        path_component_length = (int)strlen(path_component);
data/coda-2.21.2/libcoda/coda-utils.c:464:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    initialpath_length = (int)strlen(initialpath);
data/coda-2.21.2/libcoda/coda-utils.c:465:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    appendpath_length = (appendpath == NULL ? 0 : (int)strlen(appendpath));
data/coda-2.21.2/libcoda/coda-utils.c:545:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int argv0_length = (int)strlen(argv0);
data/coda-2.21.2/libcoda/coda-xml-parser.c:829:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            length = read(((coda_bin_product *)product->raw_product)->fd, buff, BUFFSIZE);
data/coda-2.21.2/libcoda/expat/loadlibrary.c:116:28:  [1] (buffer) _tcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t filenamelen = _tcslen(filename);
data/coda-2.21.2/libcoda/expat/loadlibrary.c:120:24:  [1] (buffer) _tcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        _tcscpy(path + _tcslen(path), TEXT("\\"));
data/coda-2.21.2/libcoda/expat/loadlibrary.c:121:24:  [1] (buffer) _tcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        _tcscpy(path + _tcslen(path), filename);
data/coda-2.21.2/libcoda/expat/xmlparse.c:730:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    const ssize_t bytesWrittenMore = read(fd, currentTarget, bytesToWrite);
data/coda-2.21.2/libcoda/pcre/pcre_internal.h:371:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define strlen(s)        _strlen(s)
data/coda-2.21.2/libcoda/pcre/pcre_internal.h:2697:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define STRLEN_UC(str) strlen((const char *)str)
data/coda-2.21.2/libcoda/ziparchive.c:127:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read(zf->fd, buffer.as_int8, 22) < 0)
data/coda-2.21.2/libcoda/ziparchive.c:184:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        result = read(zf->fd, buffer.as_int8, 46);
data/coda-2.21.2/libcoda/ziparchive.c:288:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        result = read(zf->fd, entry->filename, entry->filename_length);
data/coda-2.21.2/libcoda/ziparchive.c:428:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read(zf->fd, buffer, 2) < 0)
data/coda-2.21.2/libcoda/ziparchive.c:519:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    result = read(entry->zf->fd, buffer.as_int8, 30);
data/coda-2.21.2/libcoda/ziparchive.c:637:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        result = read(entry->zf->fd, out_buffer, entry->uncompressed_size);
data/coda-2.21.2/libcoda/ziparchive.c:662:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        result = read(entry->zf->fd, in_buffer, entry->compressed_size);
data/coda-2.21.2/libcoda/zlib/gzguts.h:48:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#  define read _read
data/coda-2.21.2/python/codac.c:397:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const char* te = tb + strlen(tb);
data/coda-2.21.2/python/codac.c:681:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
data/coda-2.21.2/python/codac.c:702:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t lname = (name ? strlen(name) : 0);
data/coda-2.21.2/python/codac.c:707:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(r,name,lname+1);
data/coda-2.21.2/python/codac.c:2784:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
data/coda-2.21.2/python/codac.c:2933:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0;
data/coda-2.21.2/python/codac.c:11614:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t size = strlen(name)+1;
data/coda-2.21.2/python/codac.c:11683:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              strlen(const_table[j].name)) == 0) {
data/coda-2.21.2/python/codac.c:11694:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
data/coda-2.21.2/strdup.c:17:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(str);
data/coda-2.21.2/tools/codacheck/codacheck.c:293:21:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                c = getchar();
data/coda-2.21.2/tools/codacheck/codacheck.c:298:26:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    c2 = getchar();
data/coda-2.21.2/tools/codadd/codadd-definition.c:131:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        length = (int)strlen(str);
data/coda-2.21.2/tools/codadd/codadd-definition.c:205:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        length = (int)strlen(str);
data/coda-2.21.2/tools/codadd/codadd-doc.c:139:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        length = (int)strlen(str);
data/coda-2.21.2/tools/codadd/codadd-doc.c:213:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        length = (int)strlen(str);
data/coda-2.21.2/tools/codadd/codadd-doc.c:669:78:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        generate_escaped_html_string(text->fixed_value, (int)strlen(text->fixed_value));
data/coda-2.21.2/tools/codadd/codadd-doc.c:1387:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    filename = (char *)malloc(strlen(prefixdir) + 1000);
data/coda-2.21.2/tools/codadump/codadump-filter.c:79:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy((*filter)->fieldname, filter_expr, n);
data/coda-2.21.2/tools/codadump/codadump-hdf4.c:280:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                         (int32_t)strlen(description), description) != 0)
data/coda-2.21.2/tools/codadump/codadump-hdf4.c:388:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            sds_name = malloc(strlen(traverse_info.field_name[traverse_info.num_records - 1]) + 10);
data/coda-2.21.2/tools/codadump/codadump-hdf4.c:392:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                               strlen(traverse_info.field_name[traverse_info.num_records - 1]) + 10, __FILE__,
data/coda-2.21.2/tools/codadump/codadump-hdf4.c:1188:80:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (SDsetattr(hdf4_info.sds_id, "description", DFNT_CHAR, (int32_t)strlen(description), description) != 0)
data/coda-2.21.2/tools/codadump/codadump-hdf4.c:1200:73:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (SDsetattr(hdf4_info.sds_id, "unit", DFNT_CHAR, (int32_t)strlen(unit), unit) != 0)
data/coda-2.21.2/tools/codadump/codadump.c:498:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        output_file_name = malloc(strlen(traverse_info.file_name) + 5);
data/coda-2.21.2/tools/codadump/codadump.c:502:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                           strlen(traverse_info.file_name) + 5, __FILE__, __LINE__);
data/coda-2.21.2/tools/codaeval/codaeval.c:62:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        length = (int)strlen(str);

ANALYSIS SUMMARY:

Hits = 1067
Lines analyzed = 161133 in approximately 4.38 seconds (36829 lines/second)
Physical Source Lines of Code (SLOC) = 126311
Hits@level = [0] 906 [1] 403 [2] 426 [3]  17 [4] 221 [5]   0
Hits@level+ = [0+] 1973 [1+] 1067 [2+] 664 [3+] 238 [4+] 221 [5+]   0
Hits/KSLOC@level+ = [0+] 15.6202 [1+] 8.4474 [2+] 5.25687 [3+] 1.88424 [4+] 1.74965 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.