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/odc-1.1.0/src/odc/ConstantSetter.h
Examining data/odc-1.1.0/src/odc/TemplateParameters.cc
Examining data/odc-1.1.0/src/odc/SharedIterator.h
Examining data/odc-1.1.0/src/odc/MDSetter.cc
Examining data/odc-1.1.0/src/odc/TemplateParameters.h
Examining data/odc-1.1.0/src/odc/Comparator.h
Examining data/odc-1.1.0/src/odc/odb2netcdf/Odb2NetCDF.h
Examining data/odc-1.1.0/src/odc/odb2netcdf/Odb2NetCDF.cc
Examining data/odc-1.1.0/src/odc/odb2netcdf/odb2netcdf_main.cc
Examining data/odc-1.1.0/src/odc/ODBAPIVersion.cc
Examining data/odc-1.1.0/src/odc/RowsCounter.h
Examining data/odc-1.1.0/src/odc/utility/Tracer.cc
Examining data/odc-1.1.0/src/odc/utility/Tracer.h
Examining data/odc-1.1.0/src/odc/WriterDispatchingIterator.cc
Examining data/odc-1.1.0/src/odc/SelectIterator.cc
Examining data/odc-1.1.0/src/odc/RowsCounter.cc
Examining data/odc-1.1.0/src/odc/DispatchingWriter.cc
Examining data/odc-1.1.0/src/odc/Comparator.cc
Examining data/odc-1.1.0/src/odc/RequestUtils.h
Examining data/odc-1.1.0/src/odc/api/Odb.cc
Examining data/odc-1.1.0/src/odc/api/Odb.h
Examining data/odc-1.1.0/src/odc/api/ColumnInfo.h
Examining data/odc-1.1.0/src/odc/api/ColumnType.h
Examining data/odc-1.1.0/src/odc/api/StridedData.h
Examining data/odc-1.1.0/src/odc/api/odc.h
Examining data/odc-1.1.0/src/odc/api/odc.cc
Examining data/odc-1.1.0/src/odc/WriterBufferingIterator.h
Examining data/odc-1.1.0/src/odc/ODBApplication.h
Examining data/odc-1.1.0/src/odc/CommandLineParser.h
Examining data/odc-1.1.0/src/odc/LibOdc.h
Examining data/odc-1.1.0/src/odc/Indexer.cc
Examining data/odc-1.1.0/src/odc/Block.h
Examining data/odc-1.1.0/src/odc/ODAUpdatingIterator.h
Examining data/odc-1.1.0/src/odc/Writer.cc
Examining data/odc-1.1.0/src/odc/Writer.h
Examining data/odc-1.1.0/src/odc/ODBTarget.h
Examining data/odc-1.1.0/src/odc/ODAHandle.h
Examining data/odc-1.1.0/src/odc/tools/TestAtTableInTheOutput.cc
Examining data/odc-1.1.0/src/odc/tools/ODAHeaderTool.h
Examining data/odc-1.1.0/src/odc/tools/SQLTool.h
Examining data/odc-1.1.0/src/odc/tools/Examples.cc
Examining data/odc-1.1.0/src/odc/tools/Tool.cc
Examining data/odc-1.1.0/src/odc/tools/ToolFactory.h
Examining data/odc-1.1.0/src/odc/tools/TestRunner.h
Examining data/odc-1.1.0/src/odc/tools/TestOdaCAPI.h
Examining data/odc-1.1.0/src/odc/tools/TestCommandLineParsing.cc
Examining data/odc-1.1.0/src/odc/tools/CAPIExamples.cc
Examining data/odc-1.1.0/src/odc/tools/MockReader.cc
Examining data/odc-1.1.0/src/odc/tools/XYVTool.h
Examining data/odc-1.1.0/src/odc/tools/ToolRunnerApplication.h
Examining data/odc-1.1.0/src/odc/tools/TestFunctionDateAndTime.cc
Examining data/odc-1.1.0/src/odc/tools/TestAAAImportODB.cc
Examining data/odc-1.1.0/src/odc/tools/SetTool.cc
Examining data/odc-1.1.0/src/odc/tools/TestDistinct.cc
Examining data/odc-1.1.0/src/odc/tools/ImportTool.cc
Examining data/odc-1.1.0/src/odc/tools/TestBitfields.cc
Examining data/odc-1.1.0/src/odc/tools/TestAAAImportODBDispatching.cc
Examining data/odc-1.1.0/src/odc/tools/TestFunctionTypeConversion.cc
Examining data/odc-1.1.0/src/odc/tools/TestSetvbuffer.cc
Examining data/odc-1.1.0/src/odc/tools/TestMissingValue.cc
Examining data/odc-1.1.0/src/odc/tools/FixedSizeRowTool.cc
Examining data/odc-1.1.0/src/odc/tools/TestCase.h
Examining data/odc-1.1.0/src/odc/tools/MergeTool.cc
Examining data/odc-1.1.0/src/odc/tools/TestRunnerApplication.h
Examining data/odc-1.1.0/src/odc/tools/CountTool.h
Examining data/odc-1.1.0/src/odc/tools/ODA2RequestTool.h
Examining data/odc-1.1.0/src/odc/tools/CompactTool.h
Examining data/odc-1.1.0/src/odc/tools/TestAggregateFunctions3.cc
Examining data/odc-1.1.0/src/odc/tools/MDSetTool.h
Examining data/odc-1.1.0/src/odc/tools/TestFunctionDotp.cc
Examining data/odc-1.1.0/src/odc/tools/IndexTool.h
Examining data/odc-1.1.0/src/odc/tools/TestOdaCAPI.cc
Examining data/odc-1.1.0/src/odc/tools/LSTool.cc
Examining data/odc-1.1.0/src/odc/tools/TestSelectStarAt.cc
Examining data/odc-1.1.0/src/odc/tools/TestStar.cc
Examining data/odc-1.1.0/src/odc/tools/ToolFactory.cc
Examining data/odc-1.1.0/src/odc/tools/TestRunner.cc
Examining data/odc-1.1.0/src/odc/tools/TestSelectTwoFiles.cc
Examining data/odc-1.1.0/src/odc/tools/TestCase.cc
Examining data/odc-1.1.0/src/odc/tools/TestAggregateFunctions.cc
Examining data/odc-1.1.0/src/odc/tools/ODA2RequestTool.cc
Examining data/odc-1.1.0/src/odc/tools/TestOrderBy.cc
Examining data/odc-1.1.0/src/odc/tools/ImportTool.h
Examining data/odc-1.1.0/src/odc/tools/FixedSizeRowTool.h
Examining data/odc-1.1.0/src/odc/tools/UnitTests.cc
Examining data/odc-1.1.0/src/odc/tools/MDSetTool.cc
Examining data/odc-1.1.0/src/odc/tools/SetTool.h
Examining data/odc-1.1.0/src/odc/tools/ToolRunnerApplication.cc
Examining data/odc-1.1.0/src/odc/tools/CompactTool.cc
Examining data/odc-1.1.0/src/odc/tools/MergeTool.h
Examining data/odc-1.1.0/src/odc/tools/TestRunnerApplication.cc
Examining data/odc-1.1.0/src/odc/tools/Tool.h
Examining data/odc-1.1.0/src/odc/tools/TestMetaData.cc
Examining data/odc-1.1.0/src/odc/tools/XYVTool.cc
Examining data/odc-1.1.0/src/odc/tools/TestIntegerValues.cc
Examining data/odc-1.1.0/src/odc/tools/IndexTool.cc
Examining data/odc-1.1.0/src/odc/tools/TestInt16_MissingCodec.cc
Examining data/odc-1.1.0/src/odc/tools/LSTool.h
Examining data/odc-1.1.0/src/odc/tools/TestDispatchingWriter.cc
Examining data/odc-1.1.0/src/odc/tools/SplitTool.cc
Examining data/odc-1.1.0/src/odc/tools/TestFunctionTdiff.cc
Examining data/odc-1.1.0/src/odc/tools/TestFunctionsForTemperatureConversion.cc
Examining data/odc-1.1.0/src/odc/tools/MockReader.h
Examining data/odc-1.1.0/src/odc/tools/CountTool.cc
Examining data/odc-1.1.0/src/odc/tools/odc.cc
Examining data/odc-1.1.0/src/odc/tools/TestSelectDataHandle.cc
Examining data/odc-1.1.0/src/odc/tools/SQLTool.cc
Examining data/odc-1.1.0/src/odc/tools/TestFunctionThin.cc
Examining data/odc-1.1.0/src/odc/tools/TestFunctionsForAngleConversion.cc
Examining data/odc-1.1.0/src/odc/tools/ODAHeaderTool.cc
Examining data/odc-1.1.0/src/odc/tools/TestAggregateFunctions2.cc
Examining data/odc-1.1.0/src/odc/tools/SplitTool.h
Examining data/odc-1.1.0/src/odc/tools/CompareTool.cc
Examining data/odc-1.1.0/src/odc/tools/CompareTool.h
Examining data/odc-1.1.0/src/odc/WriterBufferingIterator.cc
Examining data/odc-1.1.0/src/odc/core/DataStream.h
Examining data/odc-1.1.0/src/odc/core/Table.cc
Examining data/odc-1.1.0/src/odc/core/TablesReader.h
Examining data/odc-1.1.0/src/odc/core/Exceptions.cc
Examining data/odc-1.1.0/src/odc/core/Exceptions.h
Examining data/odc-1.1.0/src/odc/core/Header.h
Examining data/odc-1.1.0/src/odc/core/DecodeTarget.h
Examining data/odc-1.1.0/src/odc/core/CodecFactory.cc
Examining data/odc-1.1.0/src/odc/core/ThreadSharedDataHandle.h
Examining data/odc-1.1.0/src/odc/core/DataStream.cc
Examining data/odc-1.1.0/src/odc/core/DecodeTarget.cc
Examining data/odc-1.1.0/src/odc/core/Table.h
Examining data/odc-1.1.0/src/odc/core/Column.h
Examining data/odc-1.1.0/src/odc/core/Span.cc
Examining data/odc-1.1.0/src/odc/core/Codec.h
Examining data/odc-1.1.0/src/odc/core/TablesReader.cc
Examining data/odc-1.1.0/src/odc/core/Encoder.cc
Examining data/odc-1.1.0/src/odc/core/Header.cc
Examining data/odc-1.1.0/src/odc/core/CodecFactory.h
Examining data/odc-1.1.0/src/odc/core/Span.h
Examining data/odc-1.1.0/src/odc/core/Column.cc
Examining data/odc-1.1.0/src/odc/core/Codec.cc
Examining data/odc-1.1.0/src/odc/core/ThreadSharedDataHandle.cc
Examining data/odc-1.1.0/src/odc/core/MetaData.cc
Examining data/odc-1.1.0/src/odc/core/MetaData.h
Examining data/odc-1.1.0/src/odc/core/Encoder.h
Examining data/odc-1.1.0/src/odc/Block.cc
Examining data/odc-1.1.0/src/odc/MDSetter.h
Examining data/odc-1.1.0/src/odc/codec/IntegerMissing.cc
Examining data/odc-1.1.0/src/odc/codec/IntegerMissing.h
Examining data/odc-1.1.0/src/odc/codec/Integer.h
Examining data/odc-1.1.0/src/odc/codec/Integer.cc
Examining data/odc-1.1.0/src/odc/codec/Real.cc
Examining data/odc-1.1.0/src/odc/codec/CodecOptimizer.cc
Examining data/odc-1.1.0/src/odc/codec/String.h
Examining data/odc-1.1.0/src/odc/codec/Real.h
Examining data/odc-1.1.0/src/odc/codec/String.cc
Examining data/odc-1.1.0/src/odc/codec/Constant.cc
Examining data/odc-1.1.0/src/odc/codec/Constant.h
Examining data/odc-1.1.0/src/odc/codec/CodecOptimizer.h
Examining data/odc-1.1.0/src/odc/MDI.h
Examining data/odc-1.1.0/src/odc/MDUpdatingIterator.cc
Examining data/odc-1.1.0/src/odc/ODBAPIVersion.h
Examining data/odc-1.1.0/src/odc/sql/Types.cc
Examining data/odc-1.1.0/src/odc/sql/ODAOutput.cc
Examining data/odc-1.1.0/src/odc/sql/TODATableIterator.h
Examining data/odc-1.1.0/src/odc/sql/TODATableIterator.cc
Examining data/odc-1.1.0/src/odc/sql/TODATable.h
Examining data/odc-1.1.0/src/odc/sql/TODATable.cc
Examining data/odc-1.1.0/src/odc/sql/SQLSelectOutput.h
Examining data/odc-1.1.0/src/odc/sql/SQLOutputConfig.h
Examining data/odc-1.1.0/src/odc/sql/SQLSelectOutput.cc
Examining data/odc-1.1.0/src/odc/sql/ODAOutput.h
Examining data/odc-1.1.0/src/odc/sql/function/FunctionRGG_BOXLON.cc
Examining data/odc-1.1.0/src/odc/sql/function/RegionCache.h
Examining data/odc-1.1.0/src/odc/sql/function/piconst.h
Examining data/odc-1.1.0/src/odc/sql/function/RggRegionCache.h
Examining data/odc-1.1.0/src/odc/sql/function/FunctionRGG_BOXLAT.h
Examining data/odc-1.1.0/src/odc/sql/function/FunctionEQ_BOXLON.cc
Examining data/odc-1.1.0/src/odc/sql/function/EqRegionCache.cc
Examining data/odc-1.1.0/src/odc/sql/function/FunctionEQ_BOXLAT.cc
Examining data/odc-1.1.0/src/odc/sql/function/RegionCache.cc
Examining data/odc-1.1.0/src/odc/sql/function/EqRegionCache.h
Examining data/odc-1.1.0/src/odc/sql/function/FunctionRGG_BOXLON.h
Examining data/odc-1.1.0/src/odc/sql/function/FunctionEQ_BOXLON.h
Examining data/odc-1.1.0/src/odc/sql/function/RggRegionCache.cc
Examining data/odc-1.1.0/src/odc/sql/function/FunctionRGG_BOXLAT.cc
Examining data/odc-1.1.0/src/odc/sql/function/FunctionEQ_BOXLAT.h
Examining data/odc-1.1.0/src/odc/sql/SQLOutputConfig.cc
Examining data/odc-1.1.0/src/odc/sql/Types.h
Examining data/odc-1.1.0/src/odc/ShiftedBitColumnExpression.h
Examining data/odc-1.1.0/src/odc/CommandLineParser.cc
Examining data/odc-1.1.0/src/odc/Select.cc
Examining data/odc-1.1.0/src/odc/ODAUpdatingIterator.cc
Examining data/odc-1.1.0/src/odc/ODBApplication.cc
Examining data/odc-1.1.0/src/odc/ODBTarget.cc
Examining data/odc-1.1.0/src/odc/DispatchingWriter.h
Examining data/odc-1.1.0/src/odc/ShiftedBitColumnExpression.cc
Examining data/odc-1.1.0/src/odc/SelectIterator.h
Examining data/odc-1.1.0/src/odc/LibOdc.cc
Examining data/odc-1.1.0/src/odc/ReaderIterator.cc
Examining data/odc-1.1.0/src/odc/MDI.cc
Examining data/odc-1.1.0/src/odc/StringTool.cc
Examining data/odc-1.1.0/src/odc/csv/TextReaderIterator.h
Examining data/odc-1.1.0/src/odc/csv/TextReader.cc
Examining data/odc-1.1.0/src/odc/csv/TextReader.h
Examining data/odc-1.1.0/src/odc/csv/TextReaderIterator.cc
Examining data/odc-1.1.0/src/odc/ODATranslator.h
Examining data/odc-1.1.0/src/odc/WriterDispatchingIterator.h
Examining data/odc-1.1.0/src/odc/Select.h
Examining data/odc-1.1.0/src/odc/Reader.h
Examining data/odc-1.1.0/src/odc/StringTool.h
Examining data/odc-1.1.0/src/odc/ODBAPISettings.h
Examining data/odc-1.1.0/src/odc/RequestUtils.cc
Examining data/odc-1.1.0/src/odc/ODAHandle.cc
Examining data/odc-1.1.0/src/odc/IteratorProxy.h
Examining data/odc-1.1.0/src/odc/odccapi.h
Examining data/odc-1.1.0/src/odc/MDUpdatingIterator.h
Examining data/odc-1.1.0/src/odc/ConstantSetter.cc
Examining data/odc-1.1.0/src/odc/Reader.cc
Examining data/odc-1.1.0/src/odc/ODBAPISettings.cc
Examining data/odc-1.1.0/src/odc/ReaderIterator.h
Examining data/odc-1.1.0/src/odc/odccapi.cc
Examining data/odc-1.1.0/src/odc/Indexer.h
Examining data/odc-1.1.0/src/odc/pyodbapi.h
Examining data/odc-1.1.0/src/odc/data/HttpHandleFactory.h
Examining data/odc-1.1.0/src/odc/data/HttpHandle.h
Examining data/odc-1.1.0/src/odc/data/DataHandleFactory.cc
Examining data/odc-1.1.0/src/odc/data/FileHandleFactory.cc
Examining data/odc-1.1.0/src/odc/data/FileHandleFactory.h
Examining data/odc-1.1.0/src/odc/data/HttpHandleFactory.cc
Examining data/odc-1.1.0/src/odc/data/DataHandleFactory.h
Examining data/odc-1.1.0/src/odc/data/PartFileHandleFactory.cc
Examining data/odc-1.1.0/src/odc/data/HttpHandle.cc
Examining data/odc-1.1.0/src/odc/data/PartFileHandleFactory.h
Examining data/odc-1.1.0/tests/api/read.cc
Examining data/odc-1.1.0/tests/api/import.cc
Examining data/odc-1.1.0/tests/core/test_codecs_end_to_end.cc
Examining data/odc-1.1.0/tests/core/test_text_reader.cc
Examining data/odc-1.1.0/tests/core/test_minmax.cc
Examining data/odc-1.1.0/tests/core/test_metadata.cc
Examining data/odc-1.1.0/tests/core/test_codecs_end_to_end2.cc
Examining data/odc-1.1.0/tests/core/test_codecs_write.cc
Examining data/odc-1.1.0/tests/core/test_table_iterator.cc
Examining data/odc-1.1.0/tests/core/test_codecs_read.cc
Examining data/odc-1.1.0/tests/core/test_encode_odb.cc
Examining data/odc-1.1.0/tests/core/test_reencode_string_table.cc
Examining data/odc-1.1.0/tests/core/test_table.cc
Examining data/odc-1.1.0/tests/core/test_select_iterator.cc
Examining data/odc-1.1.0/tests/core/test_concatenated_odbs.cc
Examining data/odc-1.1.0/tests/core/test_decode_odb.cc
Examining data/odc-1.1.0/tests/c_api/encode.cc
Examining data/odc-1.1.0/tests/c_api/read.cc
Examining data/odc-1.1.0/tests/c_api/errors.cc
Examining data/odc-1.1.0/tests/sql/test_functions.cc
Examining data/odc-1.1.0/tests/sql/test_box_functions.cc
Examining data/odc-1.1.0/tests/sql/test_text_reader_select.cc
Examining data/odc-1.1.0/tests/TemporaryFiles.h

FINAL RESULTS:

data/odc-1.1.0/src/odc/LibOdc.h:23:30:  [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.
class LibOdc : public eckit::system::Library {
data/odc-1.1.0/src/odc/StringTool.cc:72:11:  [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.
	int rc = system(c.c_str());
data/odc-1.1.0/src/odc/tools/TestRunner.cc:199:5:  [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.
    system(cmd.c_str());
data/odc-1.1.0/src/odc/tools/TestSelectDataHandle.cc:67:2:  [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.
	system(cmd.c_str());
data/odc-1.1.0/src/odc/tools/TestSelectDataHandle.cc:71:2:  [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.
	system(cmd.c_str());
data/odc-1.1.0/src/odc/tools/TestSetvbuffer.cc:57: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.
	int catStatus = system("ls -l TestSetvbuffer.odb");
data/odc-1.1.0/src/odc/tools/UnitTests.cc:716:17:  [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.
    ASSERT(0 == system("dd if=disp.7.1.odb of=disp.7.1.odb.truncated bs=1913000 count=1"));
data/odc-1.1.0/src/odc/tools/UnitTests.cc:927:5:  [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.
    system("ls -l foo.odb; ");
data/odc-1.1.0/src/odc/tools/UnitTests.cc:928:5:  [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.
    system((eckit::PathName("~/bin/odc").asString() + " header foo.odb").c_str());
data/odc-1.1.0/src/odc/tools/UnitTests.cc:929:5:  [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.
    system((eckit::PathName("~/bin/odc").asString() + " ls foo.odb").c_str());
data/odc-1.1.0/src/odc/tools/odc.cc:75:13:  [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.
			int rc = system(testCapi.c_str());
data/odc-1.1.0/src/odc/tools/odc.cc:135:5:  [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.
    system(vi.c_str());
data/odc-1.1.0/src/odc/tools/odc.cc:137:9:  [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.
	return system(gdb.c_str());
data/odc-1.1.0/src/odc/tools/odc.cc:154:9:  [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.
	return system(vg.c_str());
data/odc-1.1.0/tests/core/test_codecs_read.cc:98:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:101:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:131:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:134:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:193:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:196:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:227:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:230:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:292:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:295:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:325:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:328:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:402:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:405:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:440:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:443:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:520:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:523:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:558:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:561:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:636:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:639:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:671:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:674:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:743:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:746:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:786:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:789:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:869:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:872:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:929:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:932:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:1018:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:1021:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:1054:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:1057:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:1126:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:1129:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:1161:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:1164:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:1236:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:1239:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:1283:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:1286:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:1365:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:1368:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:1414:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:1417:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:1493:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:1496:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:1533:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:1536:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:1607:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:1610:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:1649:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:1652:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:1740:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:1743:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:1785:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:1788:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:1880:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:1883:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_read.cc:1928:60:  [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.
            GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_codecs_read.cc:1931:43:  [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.
            if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_write.cc:78:20:  [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.
        if (eckit::system::SystemInfo::isBigEndian() == bigEndianData) {
data/odc-1.1.0/tests/core/test_codecs_write.cc:147:39:  [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.
        if (bigEndianOutput == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_write.cc:222:39:  [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.
        if (bigEndianOutput == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_write.cc:301:39:  [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.
        if (bigEndianOutput == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_write.cc:392:39:  [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.
        if (bigEndianOutput == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_write.cc:494:39:  [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.
        if (bigEndianOutput == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_write.cc:597:39:  [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.
        if (bigEndianOutput == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_write.cc:695:39:  [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.
        if (bigEndianOutput == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_write.cc:834:39:  [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.
        if (bigEndianOutput == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_write.cc:984:39:  [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.
        if (bigEndianOutput == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_write.cc:1105:39:  [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.
        if (bigEndianOutput == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_write.cc:1239:39:  [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.
        if (bigEndianOutput == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_write.cc:1385:39:  [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.
        if (bigEndianOutput == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_codecs_write.cc:1533:39:  [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.
        if (bigEndianOutput == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_reencode_string_table.cc:113:56:  [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.
        GeneralDataStream ds(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), &data[0], data.size());
data/odc-1.1.0/tests/core/test_reencode_string_table.cc:116:39:  [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.
        if (bigEndianSource == eckit::system::SystemInfo::isBigEndian()) {
data/odc-1.1.0/tests/core/test_reencode_string_table.cc:137:57:  [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.
        GeneralDataStream ds2(bigEndianSource != eckit::system::SystemInfo::isBigEndian(), writeBuffer);
data/odc-1.1.0/tests/core/test_select_iterator.cc:153:15:  [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.
    if(eckit::system::SystemInfo::isBigEndian()) {  // Swap the data on this big-endian box.
data/odc-1.1.0/src/odc/ODBAPISettings.cc:33:21:  [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* env(getenv("odc_HOME"));
data/odc-1.1.0/src/odc/ODBAPISettings.cc:42:40:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
            if(0 == (absoluteArgv0 = ::realpath(argv0, 0)))
data/odc-1.1.0/src/odc/ODBAPISettings.cc:53:55:  [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.
            vector<string> ps(StringTools::split(":", getenv("PATH")));
data/odc-1.1.0/src/odc/tools/TestAAAImportODB.cc:35:6:  [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("ODB_ROOT"))
data/odc-1.1.0/src/odc/tools/TestAAAImportODBDispatching.cc:28:6:  [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("ODB_ROOT"))
data/odc-1.1.0/src/odc/tools/TestRunner.cc:42:6:  [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("MARS_SMS_LABEL"))
data/odc-1.1.0/src/odc/tools/TestRunner.cc:45:12:  [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.
		label_ = getenv("MARS_SMS_LABEL");
data/odc-1.1.0/src/odc/tools/TestRunner.cc:53: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.
	ASSERT(getenv("odc_TEST_DATA_PATH") && "odc_TEST_DATA_PATH must be set");
data/odc-1.1.0/src/odc/IteratorProxy.h:205:4:  [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[sizeof(B) + 1];
data/odc-1.1.0/src/odc/MDUpdatingIterator.cc:48:24:  [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).
			bf.second.push_back(atoi(field[1].c_str()));
data/odc-1.1.0/src/odc/ODBAPISettings.cc:49: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 buffer[bufferLen];
data/odc-1.1.0/src/odc/ODBAPISettings.cc:62: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 buffer[bufferLen];
data/odc-1.1.0/src/odc/ReaderIterator.cc:215: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 marker[2];
data/odc-1.1.0/src/odc/StringTool.cc:43:2:  [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[CHUNK_SIZE]; 
data/odc-1.1.0/src/odc/StringTool.cc:108:2:  [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[sizeof(double) + 1];
data/odc-1.1.0/src/odc/StringTool.cc:110:2:  [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(buf, reinterpret_cast<char *>(&m), sizeof(double));
data/odc-1.1.0/src/odc/StringTool.cc:116:2:  [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[sizeof(double)];
data/odc-1.1.0/src/odc/WriterBufferingIterator.cc:51:3:  [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).
		open();
data/odc-1.1.0/src/odc/WriterBufferingIterator.cc:232: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(&lastValues_[columnOffsets_[i]], &values[columnOffsets_[i]], columnByteSizes_[i]);
data/odc-1.1.0/src/odc/WriterBufferingIterator.cc:241:30:  [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 WriterBufferingIterator::open()
data/odc-1.1.0/src/odc/WriterBufferingIterator.h:44:6:  [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/odc-1.1.0/src/odc/WriterDispatchingIterator.cc:356:55:  [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 WriterDispatchingIterator<WRITE_ITERATOR, OWNER>::open() { return 0; }
data/odc-1.1.0/src/odc/WriterDispatchingIterator.h:45:6:  [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/odc-1.1.0/src/odc/api/StridedData.h:168: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(get(row), src, dataSize_);
data/odc-1.1.0/src/odc/api/odc.cc:902:31:  [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(&ptgt[(x + (y * widthInElems)) * encoder->columnMajorWidth],
data/odc-1.1.0/src/odc/codec/Integer.h:79: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(p, &s, sizeof(s));
data/odc-1.1.0/src/odc/codec/Integer.h:119: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(p, &s, sizeof(s));
data/odc-1.1.0/src/odc/codec/IntegerMissing.h:53: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(p, &s, sizeof(s));
data/odc-1.1.0/src/odc/codec/Real.h:52: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(p, &e, sizeof(e));
data/odc-1.1.0/src/odc/codec/Real.h:107: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(p, &s, sizeof(s));
data/odc-1.1.0/src/odc/codec/String.h:147: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(reinterpret_cast<char*>(out), &s[0], std::min(s.length(), this->decodedSizeDoubles_*sizeof(double)));
data/odc-1.1.0/src/odc/codec/String.h:244: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(p, &s, decodedSizeDoubles_*sizeof(double));
data/odc-1.1.0/src/odc/codec/String.h:265: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 buf[255];
data/odc-1.1.0/src/odc/codec/String.h:266: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(buf, &v, sizeof(double));
data/odc-1.1.0/src/odc/core/DataStream.cc:141:2:  [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[8 * 1024 * 1024];
data/odc-1.1.0/src/odc/core/DataStream.cc:144:2:  [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[len];
data/odc-1.1.0/src/odc/core/DataStream.h:269: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(addr, current_, bytes);
data/odc-1.1.0/src/odc/core/DataStream.h:334: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(current_, addr, bytes);
data/odc-1.1.0/src/odc/core/Header.cc:56: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 basicBuffer[basic_header_size];
data/odc-1.1.0/src/odc/core/Table.cc:173:18:  [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 marker[2];
data/odc-1.1.0/src/odc/core/Table.cc:364:18:  [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 marker[2];
data/odc-1.1.0/src/odc/csv/TextReaderIterator.cc:109:14:  [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).
		int size = atoi(v[1].c_str());
data/odc-1.1.0/src/odc/csv/TextReaderIterator.cc:238:23:  [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(lastValues_, oldData, columnOffsets_[i]*sizeof(double));
data/odc-1.1.0/src/odc/csv/TextReaderIterator.cc:245:19:  [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(buf, &unquoted[0], charlen);
data/odc-1.1.0/src/odc/data/PartFileHandleFactory.cc:32:20:  [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).
    Offset offset (atoi(range[0].c_str()));
data/odc-1.1.0/src/odc/data/PartFileHandleFactory.cc:33:20:  [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).
    Length length (atoi(range[1].c_str()));
data/odc-1.1.0/src/odc/odb2netcdf/Odb2NetCDF.cc:98:23:  [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.
    union { double n; char b[sizeof(double) + 1]; } buffer;
data/odc-1.1.0/src/odc/odccapi.cc:76:18:  [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 *argv[2] = {"odb_start", 0};
data/odc-1.1.0/src/odc/odccapi.cc:353: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(data, iter->data(), iter->rowDataSizeDoubles()*sizeof(double));
data/odc-1.1.0/src/odc/sql/SQLSelectOutput.cc:108: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(reinterpret_cast<char*>(pos_), s, len);
data/odc-1.1.0/src/odc/sql/TODATable.cc:51: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 buf[5];
data/odc-1.1.0/src/odc/sql/TODATable.cc:52: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 oda[5] {'\xff', '\xff', 'O', 'D', 'A'};
data/odc-1.1.0/src/odc/sql/function/RggRegionCache.cc:58: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 line[1024];
data/odc-1.1.0/src/odc/sql/function/RggRegionCache.cc:76:28:  [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).
                    id   = atoi(lb) - 1;
data/odc-1.1.0/src/odc/sql/function/RggRegionCache.cc:77:28:  [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).
                    npts = atoi(eq);
data/odc-1.1.0/src/odc/tools/MDSetTool.cc:149:37:  [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).
                bf.second.push_back(atoi(field[1].c_str()));
data/odc-1.1.0/src/odc/tools/TestAggregateFunctions2.cc:44: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).
	FILE *fout = fopen("TestAggregateFunctions2.odb", "w");
data/odc-1.1.0/src/odc/tools/XYVTool.cc:44:6:  [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).
	out.open(outputFile.asString().c_str());
data/odc-1.1.0/tests/c_api/encode.cc:218: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 scol[nrows][3 * sizeof(double)] = {0};
data/odc-1.1.0/tests/c_api/encode.cc:320: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 scol[2*nrows][3 * sizeof(double)] = {0};
data/odc-1.1.0/tests/c_api/encode.cc:421: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 scol[nrows][3 * sizeof(double)] = {0};
data/odc-1.1.0/tests/c_api/encode.cc:544: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).
    int fd = ::open(tf.asString().c_str(), O_CREAT|O_WRONLY, 0666);
data/odc-1.1.0/tests/c_api/encode.cc:611: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(handle->data + handle->pos, buffer, length);
data/odc-1.1.0/tests/core/test_codecs_end_to_end.cc:282:18:  [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[256];
data/odc-1.1.0/src/odc/ReaderIterator.cc:184:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    size_t bytesRead = f_->read(rowDataBuffer_, dataSize);
data/odc-1.1.0/src/odc/StringTool.cc:49:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	size_t read, totalRead = 0;
data/odc-1.1.0/src/odc/StringTool.cc:51:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ( (read = f.read(buffer, sizeof(buffer) / sizeof(char))) > 0 )
data/odc-1.1.0/src/odc/StringTool.cc:53:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		totalRead += read;
data/odc-1.1.0/src/odc/StringTool.cc:54:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ret.append(std::string(static_cast<char*>(buffer), read));
data/odc-1.1.0/src/odc/StringTool.cc:121:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buf + sizeof(double) - value.size(), value.c_str(), value.size());
data/odc-1.1.0/src/odc/api/odc.cc:324:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        long read(void* buffer, long length) override { return fn_(handle_, buffer, length); }
data/odc-1.1.0/src/odc/api/odc.cc:978:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        long read(void*, long) override { NOTIMP; }
data/odc-1.1.0/src/odc/codec/Integer.h:88:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        this->ds().read(s);
data/odc-1.1.0/src/odc/codec/Integer.h:128:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        this->ds().read(s);
data/odc-1.1.0/src/odc/codec/IntegerMissing.h:62:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        this->ds().read(s);
data/odc-1.1.0/src/odc/codec/Real.h:57:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        this->ds().read(*out);
data/odc-1.1.0/src/odc/codec/Real.h:113:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        this->ds().read(s);
data/odc-1.1.0/src/odc/codec/String.h:161:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ds.read(numStrings);
data/odc-1.1.0/src/odc/codec/String.h:171:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            ds.read(s);
data/odc-1.1.0/src/odc/codec/String.h:174:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            ds.read(cnt);
data/odc-1.1.0/src/odc/codec/String.h:177:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            ds.read(index);
data/odc-1.1.0/src/odc/codec/String.h:285:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ds.read(nStrings);
data/odc-1.1.0/src/odc/core/Codec.h:138:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ds.read(hasMissing_);
data/odc-1.1.0/src/odc/core/Codec.h:139:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ds.read(min_);
data/odc-1.1.0/src/odc/core/Codec.h:140:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ds.read(max_);
data/odc-1.1.0/src/odc/core/Codec.h:141:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ds.read(missingValue_);
data/odc-1.1.0/src/odc/core/CodecFactory.h:157:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ds.read(codecName);
data/odc-1.1.0/src/odc/core/Column.h:122:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ds.read(name_);
data/odc-1.1.0/src/odc/core/Column.h:123:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ds.read(type_);
data/odc-1.1.0/src/odc/core/Column.h:135:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ds.read(names);
data/odc-1.1.0/src/odc/core/Column.h:136:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ds.read(sizes);
data/odc-1.1.0/src/odc/core/DataStream.cc:58:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
long DataStream<T,D>::read(void* p, long l) { return f->read(p, l);
data/odc-1.1.0/src/odc/core/DataStream.cc:58:57:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
long DataStream<T,D>::read(void* p, long l) { return f->read(p, l);
data/odc-1.1.0/src/odc/core/DataStream.cc:64:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CHECK_READ(*f, f->read(&i, sizeof(int32_t)) == sizeof(int32_t));
data/odc-1.1.0/src/odc/core/DataStream.cc:71:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CHECK_READ(*f, f->read(&i, sizeof(int64_t)) == sizeof(int64_t));
data/odc-1.1.0/src/odc/core/DataStream.cc:92:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CHECK_READ(*f, f->read(&i, sizeof(int16_t)) == sizeof(int16_t));
data/odc-1.1.0/src/odc/core/DataStream.cc:106:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CHECK_READ(*f, f->read(&i, sizeof(uint16_t)) == sizeof(uint16_t));
data/odc-1.1.0/src/odc/core/DataStream.cc:123:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CHECK_READ(*f, f->read(buffer, size) == size);
data/odc-1.1.0/src/odc/core/DataStream.cc:146:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CHECK_READ(*f, f->read(&buff, len) == len);
data/odc-1.1.0/src/odc/core/DataStream.cc:164:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CHECK_READ(*f, f->read(&c, sizeof(char)) == sizeof(char));
data/odc-1.1.0/src/odc/core/DataStream.cc:177:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	size_t n = f->read(&c, sizeof(unsigned char));
data/odc-1.1.0/src/odc/core/DataStream.cc:190:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CHECK_READ(*f, f->read(buff, len) == static_cast<long>(len));
data/odc-1.1.0/src/odc/core/DataStream.cc:202:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CHECK_READ(*f, f->read(&d, sizeof(double)) == sizeof(double));
data/odc-1.1.0/src/odc/core/DataStream.cc:216:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CHECK_READ(*f, f->read(&d, sizeof(float)) == sizeof(float));
data/odc-1.1.0/src/odc/core/DataStream.h:73:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    template <typename T> void read(T& elem);
data/odc-1.1.0/src/odc/core/DataStream.h:74:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    template <typename T> void read(std::vector<T>& vec);
data/odc-1.1.0/src/odc/core/DataStream.h:75:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    template <typename T, typename S> void read(std::map<T,S>& props);
data/odc-1.1.0/src/odc/core/DataStream.h:76:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(std::string& s);
data/odc-1.1.0/src/odc/core/DataStream.h:78:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(void* addr, size_t bytes);
data/odc-1.1.0/src/odc/core/DataStream.h:138:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(Args&&... args) {
data/odc-1.1.0/src/odc/core/DataStream.h:140:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        sameDs_ ? sameDs_->read(std::forward<Args>(args)...) : otherDs_->read(std::forward<Args>(args)...);
data/odc-1.1.0/src/odc/core/DataStream.h:140:74:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        sameDs_ ? sameDs_->read(std::forward<Args>(args)...) : otherDs_->read(std::forward<Args>(args)...);
data/odc-1.1.0/src/odc/core/DataStream.h:205:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
inline void DataStream<ByteOrder>::read(T& elem) {
data/odc-1.1.0/src/odc/core/DataStream.h:206:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(&elem, sizeof(elem));
data/odc-1.1.0/src/odc/core/DataStream.h:212:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
inline void DataStream<ByteOrder>::read(std::vector<T>& vec) {
data/odc-1.1.0/src/odc/core/DataStream.h:215:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(count);
data/odc-1.1.0/src/odc/core/DataStream.h:217:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    for (auto& elem : vec) read(elem);
data/odc-1.1.0/src/odc/core/DataStream.h:223:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
inline void DataStream<ByteOrder>::read(std::map<T, S>& props) {
data/odc-1.1.0/src/odc/core/DataStream.h:226:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(count);
data/odc-1.1.0/src/odc/core/DataStream.h:230:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read(first);
data/odc-1.1.0/src/odc/core/DataStream.h:231:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read(second);
data/odc-1.1.0/src/odc/core/DataStream.h:238:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
inline void DataStream<ByteOrder>::read(std::string& s) {
data/odc-1.1.0/src/odc/core/DataStream.h:241:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(len);
data/odc-1.1.0/src/odc/core/DataStream.h:250:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
inline void DataStream<ByteOrder>::read(void* addr, size_t bytes) {
data/odc-1.1.0/src/odc/core/Header.cc:43:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    long bytesRead = dh.read(&magic, sizeof(magic));
data/odc-1.1.0/src/odc/core/Header.cc:58:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (dh.read(basicBuffer, sizeof(basicBuffer)) != sizeof(basicBuffer)) throw ODBIncomplete(dh.title(), Here());
data/odc-1.1.0/src/odc/core/Header.cc:63:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ds1.read(formatVersionMajor);
data/odc-1.1.0/src/odc/core/Header.cc:67:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ds1.read(formatVersionMinor);
data/odc-1.1.0/src/odc/core/Header.cc:71:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ds1.read(headerDigest);
data/odc-1.1.0/src/odc/core/Header.cc:74:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ds1.read(headerSize);
data/odc-1.1.0/src/odc/core/Header.cc:79:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (dh.read(buffer, headerSize) != headerSize) throw ODBIncomplete(dh.title(), Here());
data/odc-1.1.0/src/odc/core/Header.cc:92:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ds2.read(nextFrameOffset);
data/odc-1.1.0/src/odc/core/Header.cc:98:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ds2.read(prevFrameOffset);
data/odc-1.1.0/src/odc/core/Header.cc:104:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ds2.read(numberOfRows);
data/odc-1.1.0/src/odc/core/Header.cc:112:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ds2.read(flags);
data/odc-1.1.0/src/odc/core/Header.cc:114:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ds2.read(props_);
data/odc-1.1.0/src/odc/core/Header.cc:121:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (dh.read(&byteOrder_, sizeof(byteOrder_)) != sizeof(byteOrder_)) {
data/odc-1.1.0/src/odc/core/MetaData.cc:245:9:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (equal) return true;
data/odc-1.1.0/src/odc/core/MetaData.h:128:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ds.read(nCols);
data/odc-1.1.0/src/odc/core/Table.cc:79:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    dh_.read(data, dataSize_);
data/odc-1.1.0/src/odc/core/ThreadSharedDataHandle.cc:94:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
long ThreadSharedDataHandle::read(void* buffer, long length) {
data/odc-1.1.0/src/odc/core/ThreadSharedDataHandle.cc:103:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    long delta = internal_->dh_->read(buffer, length);
data/odc-1.1.0/src/odc/core/ThreadSharedDataHandle.h:52:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    long read(void*,long) override;
data/odc-1.1.0/src/odc/data/HttpHandle.cc:64:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
long HttpHandle::read(void* buffer, long length)
data/odc-1.1.0/src/odc/data/HttpHandle.h:31:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	virtual long read(void*,long);
data/odc-1.1.0/src/odc/sql/TODATable.cc:53:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (fh.read(buf, 5) != 5 || ::memcmp(buf, oda, 5) != 0) return 0;
data/odc-1.1.0/src/odc/tools/CAPIExamples.cc:153: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).
    ASSERT(0 == strncmp("x", name, strlen("x")));
data/odc-1.1.0/src/odc/tools/CAPIExamples.cc:155: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).
    ASSERT(0 == strncmp("y", name, strlen("y")));
data/odc-1.1.0/src/odc/tools/CAPIExamples.cc:157: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).
    ASSERT(0 == strncmp("v", name, strlen("v")));
data/odc-1.1.0/src/odc/tools/CAPIExamples.cc:159: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).
    ASSERT(0 == strncmp("f", name, strlen("f")));
data/odc-1.1.0/src/odc/tools/TestCase.h:84:9:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        equal &= (expected[i] == actual[i]);
data/odc-1.1.0/src/odc/tools/TestCase.h:85:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    return equal;
data/odc-1.1.0/tests/c_api/encode.cc:70:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
        ::strncpy(reinterpret_cast<char*>(&data[row][4]), "abcdefghijkl", 2*sizeof(double));
data/odc-1.1.0/tests/c_api/encode.cc:222:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
        ::strncpy(&scol[i][0], "abcdefghhgfedcbazzzz", 3*sizeof(double));
data/odc-1.1.0/tests/c_api/encode.cc:324:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
        ::strncpy(&scol[i][0], "abcdefghhgfedcbazzzz", 3*sizeof(double));
data/odc-1.1.0/tests/c_api/encode.cc:425:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
        ::strncpy(&scol[i][0], "abcdefghhgfedcbazzzz", 3*sizeof(double));
data/odc-1.1.0/tests/core/test_codecs_read.cc:1717:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            : ((j+2) % 4 == 0 ? ::strlen(source_data[j]) : 4);
data/odc-1.1.0/tests/core/test_codecs_read.cc:1857:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            : ((j+2) % 4 == 0 ? ::strlen(source_data[j]) : 4);
data/odc-1.1.0/tests/core/test_codecs_write.cc:1364:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            : ((j+2) % 4 == 0 ? ::strlen(expected_data[j]) : 4);
data/odc-1.1.0/tests/core/test_codecs_write.cc:1512:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            : ((j+2) % 4 == 0 ? ::strlen(expected_data[j]) : 4);
data/odc-1.1.0/tests/core/test_encode_odb.cc:254:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        ::strncpy(reinterpret_cast<char*>(&(*writer)[2]), s1, 24); // strncpy pads with \0
data/odc-1.1.0/tests/core/test_encode_odb.cc:266:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        ::strncpy(reinterpret_cast<char*>(&writer->data()[writer->dataOffset(2)]), s3, 24); // strncpy pads with \0
data/odc-1.1.0/tests/core/test_encode_odb.cc:278:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        ::strncpy(reinterpret_cast<char*>(&writer->data(2)), s5, 24); // strncpy pads with \0
data/odc-1.1.0/tests/core/test_reencode_string_table.cc:92:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            : ((j+2) % 4 == 0 ? ::strlen(source_data[j]) : 4);

ANALYSIS SUMMARY:

Hits = 260
Lines analyzed = 34672 in approximately 0.86 seconds (40337 lines/second)
Physical Source Lines of Code (SLOC) = 21262
Hits@level = [0]   0 [1] 100 [2]  56 [3]   8 [4]  96 [5]   0
Hits@level+ = [0+] 260 [1+] 260 [2+] 160 [3+] 104 [4+]  96 [5+]   0
Hits/KSLOC@level+ = [0+] 12.2284 [1+] 12.2284 [2+] 7.52516 [3+] 4.89136 [4+] 4.5151 [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.