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/libdap-3.20.6/D4Dimensions.cc
Examining data/libdap-3.20.6/Sequence.cc
Examining data/libdap-3.20.6/D4EnumDefs.cc
Examining data/libdap-3.20.6/Sequence.h
Examining data/libdap-3.20.6/DODSFilter.cc
Examining data/libdap-3.20.6/Int64.h
Examining data/libdap-3.20.6/D4AsyncUtil.cc
Examining data/libdap-3.20.6/MarshallerThread.cc
Examining data/libdap-3.20.6/D4AttributeType.h
Examining data/libdap-3.20.6/ServerFunction.h
Examining data/libdap-3.20.6/UnMarshaller.h
Examining data/libdap-3.20.6/Constructor.cc
Examining data/libdap-3.20.6/D4Group.h
Examining data/libdap-3.20.6/chunked_istream.cc
Examining data/libdap-3.20.6/Connect.cc
Examining data/libdap-3.20.6/getdap.cc
Examining data/libdap-3.20.6/media_types.h
Examining data/libdap-3.20.6/Response.h
Examining data/libdap-3.20.6/D4RValue.cc
Examining data/libdap-3.20.6/Float32.h
Examining data/libdap-3.20.6/escaping.cc
Examining data/libdap-3.20.6/ResponseTooBigErr.h
Examining data/libdap-3.20.6/XDRFileUnMarshaller.h
Examining data/libdap-3.20.6/HTTPConnect.cc
Examining data/libdap-3.20.6/DataDDS.h
Examining data/libdap-3.20.6/BaseType.cc
Examining data/libdap-3.20.6/D4Connect.cc
Examining data/libdap-3.20.6/gl/malloca.h
Examining data/libdap-3.20.6/gl/stat.c
Examining data/libdap-3.20.6/gl/xalloc-oversized.h
Examining data/libdap-3.20.6/gl/_Noreturn.h
Examining data/libdap-3.20.6/gl/c++defs.h
Examining data/libdap-3.20.6/gl/sys_time.in.h
Examining data/libdap-3.20.6/gl/unistd.c
Examining data/libdap-3.20.6/gl/arg-nonnull.h
Examining data/libdap-3.20.6/gl/mbtowc-impl.h
Examining data/libdap-3.20.6/gl/localcharset.c
Examining data/libdap-3.20.6/gl/locale.in.h
Examining data/libdap-3.20.6/gl/mbsinit.c
Examining data/libdap-3.20.6/gl/localtime-buffer.c
Examining data/libdap-3.20.6/gl/sys_types.in.h
Examining data/libdap-3.20.6/gl/mbtowc.c
Examining data/libdap-3.20.6/gl/regexec.c
Examining data/libdap-3.20.6/gl/alloca.in.h
Examining data/libdap-3.20.6/gl/mkstemps.c
Examining data/libdap-3.20.6/gl/glthread/threadlib.c
Examining data/libdap-3.20.6/gl/glthread/lock.h
Examining data/libdap-3.20.6/gl/glthread/lock.c
Examining data/libdap-3.20.6/gl/btowc.c
Examining data/libdap-3.20.6/gl/time.in.h
Examining data/libdap-3.20.6/gl/limits.in.h
Examining data/libdap-3.20.6/gl/wctype-h.c
Examining data/libdap-3.20.6/gl/wchar.in.h
Examining data/libdap-3.20.6/gl/regex.c
Examining data/libdap-3.20.6/gl/verify.h
Examining data/libdap-3.20.6/gl/localeconv.c
Examining data/libdap-3.20.6/gl/nl_langinfo.c
Examining data/libdap-3.20.6/gl/tempname.c
Examining data/libdap-3.20.6/gl/unistd.in.h
Examining data/libdap-3.20.6/gl/regex_internal.c
Examining data/libdap-3.20.6/gl/localtime-buffer.h
Examining data/libdap-3.20.6/gl/hard-locale.h
Examining data/libdap-3.20.6/gl/stat-w32.h
Examining data/libdap-3.20.6/gl/gettimeofday.c
Examining data/libdap-3.20.6/gl/pathmax.h
Examining data/libdap-3.20.6/gl/streq.h
Examining data/libdap-3.20.6/gl/localcharset.h
Examining data/libdap-3.20.6/gl/stat-w32.c
Examining data/libdap-3.20.6/gl/langinfo.in.h
Examining data/libdap-3.20.6/gl/stdlib.in.h
Examining data/libdap-3.20.6/gl/warn-on-use.h
Examining data/libdap-3.20.6/gl/regex.h
Examining data/libdap-3.20.6/gl/wctype.in.h
Examining data/libdap-3.20.6/gl/regex_internal.h
Examining data/libdap-3.20.6/gl/byteswap.in.h
Examining data/libdap-3.20.6/gl/malloca.c
Examining data/libdap-3.20.6/gl/regcomp.c
Examining data/libdap-3.20.6/gl/tempname.h
Examining data/libdap-3.20.6/gl/stddef.in.h
Examining data/libdap-3.20.6/gl/wcrtomb.c
Examining data/libdap-3.20.6/gl/stdint.in.h
Examining data/libdap-3.20.6/gl/stdbool.in.h
Examining data/libdap-3.20.6/gl/lstat.c
Examining data/libdap-3.20.6/gl/fcntl.in.h
Examining data/libdap-3.20.6/gl/gettext.h
Examining data/libdap-3.20.6/gl/mbrtowc.c
Examining data/libdap-3.20.6/gl/sys_stat.in.h
Examining data/libdap-3.20.6/gl/hard-locale.c
Examining data/libdap-3.20.6/gl/intprops.h
Examining data/libdap-3.20.6/gl/dosname.h
Examining data/libdap-3.20.6/gl/filename.h
Examining data/libdap-3.20.6/dods-datatypes.h
Examining data/libdap-3.20.6/Str.cc
Examining data/libdap-3.20.6/SignalHandlerRegisteredErr.h
Examining data/libdap-3.20.6/Int16.h
Examining data/libdap-3.20.6/XDRUtils.h
Examining data/libdap-3.20.6/getdap4.cc
Examining data/libdap-3.20.6/D4BaseTypeFactory.h
Examining data/libdap-3.20.6/escaping.h
Examining data/libdap-3.20.6/HTTPCacheDisconnectedMode.h
Examining data/libdap-3.20.6/ServerFunction.cc
Examining data/libdap-3.20.6/RValue.cc
Examining data/libdap-3.20.6/RValue.h
Examining data/libdap-3.20.6/DDS.h
Examining data/libdap-3.20.6/DDXParserSAX2.cc
Examining data/libdap-3.20.6/XMLWriter.cc
Examining data/libdap-3.20.6/lex.das.cc
Examining data/libdap-3.20.6/lex.ce_expr.cc
Examining data/libdap-3.20.6/AlarmHandler.h
Examining data/libdap-3.20.6/D4AsyncUtil.h
Examining data/libdap-3.20.6/tests/TestStructure.h
Examining data/libdap-3.20.6/tests/TestD4Enum.cc
Examining data/libdap-3.20.6/tests/TestUInt64.h
Examining data/libdap-3.20.6/tests/TestStr.h
Examining data/libdap-3.20.6/tests/TestUrl.h
Examining data/libdap-3.20.6/tests/TestFunction.cc
Examining data/libdap-3.20.6/tests/TestD4Enum.h
Examining data/libdap-3.20.6/tests/TestInt64.cc
Examining data/libdap-3.20.6/tests/TestD4Group.h
Examining data/libdap-3.20.6/tests/TestUInt16.h
Examining data/libdap-3.20.6/tests/TestFunction.h
Examining data/libdap-3.20.6/tests/TestStructure.cc
Examining data/libdap-3.20.6/tests/TestInt32.h
Examining data/libdap-3.20.6/tests/TestSequence.cc
Examining data/libdap-3.20.6/tests/TestByte.h
Examining data/libdap-3.20.6/tests/TestInt8.cc
Examining data/libdap-3.20.6/tests/TestInt8.h
Examining data/libdap-3.20.6/tests/ResponseBuilder.h
Examining data/libdap-3.20.6/tests/expr-test.cc
Examining data/libdap-3.20.6/tests/TestByte.cc
Examining data/libdap-3.20.6/tests/TestTypeFactory.h
Examining data/libdap-3.20.6/tests/TestFloat64.h
Examining data/libdap-3.20.6/tests/TestGrid.cc
Examining data/libdap-3.20.6/tests/D4TestFunction.h
Examining data/libdap-3.20.6/tests/das-test.cc
Examining data/libdap-3.20.6/tests/D4TestTypeFactory.cc
Examining data/libdap-3.20.6/tests/TestFloat64.cc
Examining data/libdap-3.20.6/tests/TestArray.cc
Examining data/libdap-3.20.6/tests/TestD4Group.cc
Examining data/libdap-3.20.6/tests/TestUrl.cc
Examining data/libdap-3.20.6/tests/TestUInt16.cc
Examining data/libdap-3.20.6/tests/TestD4Opaque.h
Examining data/libdap-3.20.6/tests/TestInt16.cc
Examining data/libdap-3.20.6/tests/TestUInt32.cc
Examining data/libdap-3.20.6/tests/ResponseBuilder.cc
Examining data/libdap-3.20.6/tests/D4ResponseBuilder.cc
Examining data/libdap-3.20.6/tests/TestTypeFactory.cc
Examining data/libdap-3.20.6/tests/TestSequence.h
Examining data/libdap-3.20.6/tests/TestInt64.h
Examining data/libdap-3.20.6/tests/TestInt16.h
Examining data/libdap-3.20.6/tests/TestUInt64.cc
Examining data/libdap-3.20.6/tests/D4TestFunction.cc
Examining data/libdap-3.20.6/tests/TestD4Sequence.cc
Examining data/libdap-3.20.6/tests/TestD4Opaque.cc
Examining data/libdap-3.20.6/tests/TestGrid.h
Examining data/libdap-3.20.6/tests/TestStr.cc
Examining data/libdap-3.20.6/tests/D4ResponseBuilder.h
Examining data/libdap-3.20.6/tests/TestD4Sequence.h
Examining data/libdap-3.20.6/tests/D4TestTypeFactory.h
Examining data/libdap-3.20.6/tests/TestArray.h
Examining data/libdap-3.20.6/tests/TestInt32.cc
Examining data/libdap-3.20.6/tests/TestUInt32.h
Examining data/libdap-3.20.6/tests/TestFloat32.cc
Examining data/libdap-3.20.6/tests/TestFloat32.h
Examining data/libdap-3.20.6/tests/dds-test.cc
Examining data/libdap-3.20.6/tests/TestCommon.h
Examining data/libdap-3.20.6/tests/dmr-test.cc
Examining data/libdap-3.20.6/StdinResponse.h
Examining data/libdap-3.20.6/XDRStreamMarshaller.cc
Examining data/libdap-3.20.6/Byte.cc
Examining data/libdap-3.20.6/XDRFileMarshaller.h
Examining data/libdap-3.20.6/UInt64.cc
Examining data/libdap-3.20.6/D4Attributes.cc
Examining data/libdap-3.20.6/UInt16.h
Examining data/libdap-3.20.6/UInt32.h
Examining data/libdap-3.20.6/Operators.h
Examining data/libdap-3.20.6/Clause.h
Examining data/libdap-3.20.6/Clause.cc
Examining data/libdap-3.20.6/BaseTypeFactory.h
Examining data/libdap-3.20.6/DapIndent.h
Examining data/libdap-3.20.6/BaseType.h
Examining data/libdap-3.20.6/Int64.cc
Examining data/libdap-3.20.6/Float64.h
Examining data/libdap-3.20.6/expr.h
Examining data/libdap-3.20.6/chunked_ostream.h
Examining data/libdap-3.20.6/BaseTypeFactory.cc
Examining data/libdap-3.20.6/Grid.h
Examining data/libdap-3.20.6/cgi_util.h
Examining data/libdap-3.20.6/parser-util.h
Examining data/libdap-3.20.6/xdr-datatypes-static.h
Examining data/libdap-3.20.6/DapXmlNamespaces.cc
Examining data/libdap-3.20.6/Url.cc
Examining data/libdap-3.20.6/InternalErr.h
Examining data/libdap-3.20.6/Keywords2.h
Examining data/libdap-3.20.6/AttrTable.cc
Examining data/libdap-3.20.6/HTTPCache.h
Examining data/libdap-3.20.6/util_mit.cc
Examining data/libdap-3.20.6/D4BaseTypeFactory.cc
Examining data/libdap-3.20.6/Error.tab.cc
Examining data/libdap-3.20.6/Vector.cc
Examining data/libdap-3.20.6/Structure.h
Examining data/libdap-3.20.6/DMR.cc
Examining data/libdap-3.20.6/D4Opaque.h
Examining data/libdap-3.20.6/HTTPCacheTable.h
Examining data/libdap-3.20.6/crc.h
Examining data/libdap-3.20.6/D4Opaque.cc
Examining data/libdap-3.20.6/Grid.cc
Examining data/libdap-3.20.6/D4StreamMarshaller.h
Examining data/libdap-3.20.6/d4_ce/D4ConstraintEvaluator.h
Examining data/libdap-3.20.6/d4_ce/D4CEScanner.h
Examining data/libdap-3.20.6/d4_ce/D4ConstraintEvaluator.cc
Examining data/libdap-3.20.6/d4_ce/d4_ce_parser.tab.cc
Examining data/libdap-3.20.6/AttrTable.h
Examining data/libdap-3.20.6/mime_util.cc
Examining data/libdap-3.20.6/parser-util.cc
Examining data/libdap-3.20.6/ObjectType.h
Examining data/libdap-3.20.6/D4Attributes.h
Examining data/libdap-3.20.6/DMR.h
Examining data/libdap-3.20.6/D4RValue.h
Examining data/libdap-3.20.6/D4Connect.h
Examining data/libdap-3.20.6/SignalHandler.h
Examining data/libdap-3.20.6/util.cc
Examining data/libdap-3.20.6/DapObj.h
Examining data/libdap-3.20.6/RCReader.cc
Examining data/libdap-3.20.6/Vector.h
Examining data/libdap-3.20.6/D4Enum.cc
Examining data/libdap-3.20.6/DAS.h
Examining data/libdap-3.20.6/dods-limits.h
Examining data/libdap-3.20.6/Byte.h
Examining data/libdap-3.20.6/Url.h
Examining data/libdap-3.20.6/parser.h
Examining data/libdap-3.20.6/Keywords2.cc
Examining data/libdap-3.20.6/UInt64.h
Examining data/libdap-3.20.6/xdrutil_ppc.c
Examining data/libdap-3.20.6/D4FilterClause.h
Examining data/libdap-3.20.6/ServerFunctionsList.cc
Examining data/libdap-3.20.6/DAS.cc
Examining data/libdap-3.20.6/lex.Error.cc
Examining data/libdap-3.20.6/UInt32.cc
Examining data/libdap-3.20.6/XDRFileUnMarshaller.cc
Examining data/libdap-3.20.6/Error.cc
Examining data/libdap-3.20.6/D4EnumDefs.h
Examining data/libdap-3.20.6/Int8.h
Examining data/libdap-3.20.6/EncodingType.h
Examining data/libdap-3.20.6/ce_parser.h
Examining data/libdap-3.20.6/config_dap.h
Examining data/libdap-3.20.6/XDRStreamUnMarshaller.cc
Examining data/libdap-3.20.6/ce_expr.tab.cc
Examining data/libdap-3.20.6/Int16.cc
Examining data/libdap-3.20.6/d4_function/d4_function_parser.tab.cc
Examining data/libdap-3.20.6/d4_function/D4FunctionEvaluator.h
Examining data/libdap-3.20.6/d4_function/D4FunctionScanner.h
Examining data/libdap-3.20.6/d4_function/D4FunctionEvaluator.cc
Examining data/libdap-3.20.6/Error.h
Examining data/libdap-3.20.6/MarshallerThread.h
Examining data/libdap-3.20.6/D4Sequence.h
Examining data/libdap-3.20.6/Str.h
Examining data/libdap-3.20.6/Marshaller.h
Examining data/libdap-3.20.6/DODSFilter.h
Examining data/libdap-3.20.6/Int8.cc
Examining data/libdap-3.20.6/ConstraintEvaluator.cc
Examining data/libdap-3.20.6/Array.h
Examining data/libdap-3.20.6/DapIndent.cc
Examining data/libdap-3.20.6/Resource.h
Examining data/libdap-3.20.6/DDXExceptions.h
Examining data/libdap-3.20.6/D4Enum.h
Examining data/libdap-3.20.6/D4Dimensions.h
Examining data/libdap-3.20.6/D4StreamMarshaller.cc
Examining data/libdap-3.20.6/xdr-datatypes.h
Examining data/libdap-3.20.6/HTTPCacheTable.cc
Examining data/libdap-3.20.6/Type.h
Examining data/libdap-3.20.6/D4ParserSax2.cc
Examining data/libdap-3.20.6/mime_util.h
Examining data/libdap-3.20.6/UInt16.cc
Examining data/libdap-3.20.6/ServerFunctionsList.h
Examining data/libdap-3.20.6/HTTPCache.cc
Examining data/libdap-3.20.6/dds.tab.cc
Examining data/libdap-3.20.6/DDS.cc
Examining data/libdap-3.20.6/Ancillary.cc
Examining data/libdap-3.20.6/GNU/GNURegex.h
Examining data/libdap-3.20.6/GNU/GetOpt.h
Examining data/libdap-3.20.6/GNU/GNURegex.cc
Examining data/libdap-3.20.6/GNU/GetOpt.cc
Examining data/libdap-3.20.6/D4Maps.h
Examining data/libdap-3.20.6/Array.cc
Examining data/libdap-3.20.6/D4Function.h
Examining data/libdap-3.20.6/util_mit.h
Examining data/libdap-3.20.6/das.tab.cc
Examining data/libdap-3.20.6/chunked_istream.h
Examining data/libdap-3.20.6/Constructor.h
Examining data/libdap-3.20.6/Structure.cc
Examining data/libdap-3.20.6/EventHandler.h
Examining data/libdap-3.20.6/HTTPCacheInterruptHandler.h
Examining data/libdap-3.20.6/Float64.cc
Examining data/libdap-3.20.6/HTTPCacheResponse.h
Examining data/libdap-3.20.6/DataDDS.cc
Examining data/libdap-3.20.6/XDRStreamMarshaller.h
Examining data/libdap-3.20.6/DapXmlNamespaces.h
Examining data/libdap-3.20.6/ConstraintEvaluator.h
Examining data/libdap-3.20.6/PipeResponse.h
Examining data/libdap-3.20.6/Int32.h
Examining data/libdap-3.20.6/ResponseTooBigErr.cc
Examining data/libdap-3.20.6/chunked_stream.h
Examining data/libdap-3.20.6/HTTPConnect.h
Examining data/libdap-3.20.6/XDRStreamUnMarshaller.h
Examining data/libdap-3.20.6/VCPP/dods-datatypes.h
Examining data/libdap-3.20.6/VCPP/unistd.h
Examining data/libdap-3.20.6/VCPP/sample/getdap.cc
Examining data/libdap-3.20.6/VCPP/config.h
Examining data/libdap-3.20.6/VCPP/xdr-datatypes.h
Examining data/libdap-3.20.6/D4Maps.cc
Examining data/libdap-3.20.6/Int32.cc
Examining data/libdap-3.20.6/D4FilterClause.cc
Examining data/libdap-3.20.6/D4ParserSax2.h
Examining data/libdap-3.20.6/XDRFileMarshaller.cc
Examining data/libdap-3.20.6/D4Group.cc
Examining data/libdap-3.20.6/Ancillary.h
Examining data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc
Examining data/libdap-3.20.6/unit-tests/sequenceT.cc
Examining data/libdap-3.20.6/unit-tests/Float64Test.cc
Examining data/libdap-3.20.6/unit-tests/RCReaderTest.cc
Examining data/libdap-3.20.6/unit-tests/HTTPConnectTest.cc
Examining data/libdap-3.20.6/unit-tests/generalUtilTest.cc
Examining data/libdap-3.20.6/unit-tests/D4EnumDefsTest.cc
Examining data/libdap-3.20.6/unit-tests/DDSTest.cc
Examining data/libdap-3.20.6/unit-tests/DASTest.cc
Examining data/libdap-3.20.6/unit-tests/dasT.cc
Examining data/libdap-3.20.6/unit-tests/D4GroupTest.cc
Examining data/libdap-3.20.6/unit-tests/D4AttributesTest.cc
Examining data/libdap-3.20.6/unit-tests/D4AsyncDocTest.cc
Examining data/libdap-3.20.6/unit-tests/D4ParserSax2Test.cc
Examining data/libdap-3.20.6/unit-tests/arrayT.cc
Examining data/libdap-3.20.6/unit-tests/RegexTest.cc
Examining data/libdap-3.20.6/unit-tests/D4UnMarshallerTest.cc
Examining data/libdap-3.20.6/unit-tests/MIMEUtilTest.cc
Examining data/libdap-3.20.6/unit-tests/Int32Test.cc
Examining data/libdap-3.20.6/unit-tests/testFile.h
Examining data/libdap-3.20.6/unit-tests/Float32Test.cc
Examining data/libdap-3.20.6/unit-tests/DmrToDap2Test.cc
Examining data/libdap-3.20.6/unit-tests/UInt16Test.cc
Examining data/libdap-3.20.6/unit-tests/SignalHandlerTest.cc
Examining data/libdap-3.20.6/unit-tests/ddsT.cc
Examining data/libdap-3.20.6/unit-tests/attrTableT.cc
Examining data/libdap-3.20.6/unit-tests/structT.cc
Examining data/libdap-3.20.6/unit-tests/ancT.cc
Examining data/libdap-3.20.6/unit-tests/SequenceTest.cc
Examining data/libdap-3.20.6/unit-tests/UInt64Test.cc
Examining data/libdap-3.20.6/unit-tests/BaseTypeFactoryTest.cc
Examining data/libdap-3.20.6/unit-tests/AttrTableTest.cc
Examining data/libdap-3.20.6/unit-tests/D4BaseTypeFactoryTest.cc
Examining data/libdap-3.20.6/unit-tests/UInt32Test.cc
Examining data/libdap-3.20.6/unit-tests/ByteTest.cc
Examining data/libdap-3.20.6/unit-tests/D4DimensionsTest.cc
Examining data/libdap-3.20.6/unit-tests/Int8Test.cc
Examining data/libdap-3.20.6/unit-tests/ServerFunctionsListUnitTest.cc
Examining data/libdap-3.20.6/unit-tests/ArrayTest.cc
Examining data/libdap-3.20.6/unit-tests/DMRTest.cc
Examining data/libdap-3.20.6/unit-tests/D4EnumTest.cc
Examining data/libdap-3.20.6/unit-tests/MarshallerTest.cc
Examining data/libdap-3.20.6/unit-tests/testFile.cc
Examining data/libdap-3.20.6/unit-tests/D4MarshallerTest.cc
Examining data/libdap-3.20.6/unit-tests/DmrRoundTripTest.cc
Examining data/libdap-3.20.6/unit-tests/Int64Test.cc
Examining data/libdap-3.20.6/unit-tests/parserUtilTest.cc
Examining data/libdap-3.20.6/unit-tests/marshT.cc
Examining data/libdap-3.20.6/unit-tests/Int16Test.cc
Examining data/libdap-3.20.6/unit-tests/test_config.h
Examining data/libdap-3.20.6/unit-tests/DDXParserTest.cc
Examining data/libdap-3.20.6/unit-tests/HTTPCacheTest.cc
Examining data/libdap-3.20.6/unit-tests/D4FilterClauseTest.cc
Examining data/libdap-3.20.6/unit-tests/D4SequenceTest.cc
Examining data/libdap-3.20.6/debug.h
Examining data/libdap-3.20.6/HTTPCacheMacros.h
Examining data/libdap-3.20.6/HTTPResponse.h
Examining data/libdap-3.20.6/chunked_ostream.cc
Examining data/libdap-3.20.6/dods-datatypes-static.h
Examining data/libdap-3.20.6/Connect.h
Examining data/libdap-3.20.6/D4StreamUnMarshaller.cc
Examining data/libdap-3.20.6/XDRUtils.cc
Examining data/libdap-3.20.6/lex.dds.cc
Examining data/libdap-3.20.6/RCReader.h
Examining data/libdap-3.20.6/DDXParserSAX2.h
Examining data/libdap-3.20.6/util.h
Examining data/libdap-3.20.6/InternalErr.cc
Examining data/libdap-3.20.6/Float32.cc
Examining data/libdap-3.20.6/XMLWriter.h
Examining data/libdap-3.20.6/SignalHandler.cc
Examining data/libdap-3.20.6/D4StreamUnMarshaller.h
Examining data/libdap-3.20.6/D4Sequence.cc

FINAL RESULTS:

data/libdap-3.20.6/gl/sys_stat.in.h:507:19:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
#   define lchmod chmod
data/libdap-3.20.6/gl/sys_stat.in.h:511:34:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
_GL_CXXALIAS_RPL_CAST_1 (lchmod, chmod, int,
data/libdap-3.20.6/gl/unistd.in.h:264:18:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_WARN_ON_USE (chown, "chdir is not always in <unistd.h> - "
data/libdap-3.20.6/gl/unistd.in.h:278:11:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
#   undef chown
data/libdap-3.20.6/gl/unistd.in.h:279:12:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
#   define chown rpl_chown
data/libdap-3.20.6/gl/unistd.in.h:281:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_FUNCDECL_RPL (chown, int, (const char *file, uid_t uid, gid_t gid)
data/libdap-3.20.6/gl/unistd.in.h:283:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_CXXALIAS_RPL (chown, int, (const char *file, uid_t uid, gid_t gid));
data/libdap-3.20.6/gl/unistd.in.h:286:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_FUNCDECL_SYS (chown, int, (const char *file, uid_t uid, gid_t gid)
data/libdap-3.20.6/gl/unistd.in.h:289:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_CXXALIAS_SYS (chown, int, (const char *file, uid_t uid, gid_t gid));
data/libdap-3.20.6/gl/unistd.in.h:291:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_CXXALIASWARN (chown);
data/libdap-3.20.6/gl/unistd.in.h:293:9:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
# undef chown
data/libdap-3.20.6/gl/unistd.in.h:295:18:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_WARN_ON_USE (chown, "chown fails to follow symlinks on some systems and "
data/libdap-3.20.6/gl/unistd.in.h:1273:12:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
#   define readlink rpl_readlink
data/libdap-3.20.6/gl/unistd.in.h:1275:19:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
_GL_FUNCDECL_RPL (readlink, ssize_t,
data/libdap-3.20.6/gl/unistd.in.h:1278:19:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
_GL_CXXALIAS_RPL (readlink, ssize_t,
data/libdap-3.20.6/gl/unistd.in.h:1282:19:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
_GL_FUNCDECL_SYS (readlink, ssize_t,
data/libdap-3.20.6/gl/unistd.in.h:1286:19:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
_GL_CXXALIAS_SYS (readlink, ssize_t,
data/libdap-3.20.6/gl/unistd.in.h:1289:19:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
_GL_CXXALIASWARN (readlink);
data/libdap-3.20.6/gl/unistd.in.h:1291:9:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
# undef readlink
data/libdap-3.20.6/gl/unistd.in.h:1293:18:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
_GL_WARN_ON_USE (readlink, "readlink is unportable - "
data/libdap-3.20.6/Ancillary.cc:87:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (access(name.c_str(), F_OK) == 0)
data/libdap-3.20.6/Ancillary.cc:91:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (access(name.c_str(), F_OK) == 0)
data/libdap-3.20.6/Ancillary.cc:95:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (access(name.c_str(), F_OK) == 0)
data/libdap-3.20.6/Ancillary.cc:99:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (access(name.c_str(), F_OK) == 0)
data/libdap-3.20.6/Ancillary.cc:103:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (access(name.c_str(), F_OK) == 0)
data/libdap-3.20.6/Ancillary.cc:107:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (access(name.c_str(), F_OK) == 0)
data/libdap-3.20.6/Ancillary.cc:111:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (access(name.c_str(), F_OK) == 0)
data/libdap-3.20.6/Ancillary.cc:164:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        if (access(new_name.c_str(), F_OK) == 0) {
data/libdap-3.20.6/Ancillary.cc:184:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        if (access(new_name.c_str(), F_OK) == 0) {
data/libdap-3.20.6/D4ParserSax2.cc:1205: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(str, 1024, msg, args);
data/libdap-3.20.6/D4ParserSax2.cc:1223: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(str, 1024, msg, args);
data/libdap-3.20.6/DDXParserSAX2.cc:1009: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(str, 1024, msg, args);
data/libdap-3.20.6/Error.tab.cc:622:21:  [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 YYFPRINTF fprintf
data/libdap-3.20.6/HTTPConnect.cc:709:57:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (c && directory.match(c.c_str(), c.length()) && (access(c.c_str(), 6) == 0))
data/libdap-3.20.6/HTTPConnect.cc:713:57:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (c && directory.match(c.c_str(), c.length()) && (access(c.c_str(), 6) == 0))
data/libdap-3.20.6/HTTPConnect.cc:719:57:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (c && directory.match(c.c_str(), c.length()) && (access(c.c_str(), 6) == 0))
data/libdap-3.20.6/HTTPConnect.cc:727:52:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (directory.match(c.c_str(), c.length()) && (access(c.c_str(), W_OK | R_OK) == 0))
data/libdap-3.20.6/HTTPConnect.cc:733:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (access(P_tmpdir, W_OK | R_OK) == 0) {
data/libdap-3.20.6/HTTPConnect.cc:741:52:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (directory.match(c.c_str(), c.length()) && (access(c.c_str(), W_OK | R_OK) == 0))
data/libdap-3.20.6/ce_expr.tab.cc:861:21:  [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 YYFPRINTF fprintf
data/libdap-3.20.6/das.tab.cc:759:21:  [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 YYFPRINTF fprintf
data/libdap-3.20.6/dds.tab.cc:749:21:  [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 YYFPRINTF fprintf
data/libdap-3.20.6/gl/localcharset.c:243:23:  [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 (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1);
data/libdap-3.20.6/gl/localcharset.c:244:23:  [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 (res_ptr + res_size - (l2 + 1), buf2);
data/libdap-3.20.6/gl/localcharset.c:515:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (buf, "CP%s", pdot + 1);
data/libdap-3.20.6/gl/unistd.in.h:253:18:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
_GL_WARN_ON_USE (access, "the access function is a security risk - "
data/libdap-3.20.6/gl/unistd.in.h:784:19:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
_GL_FUNCDECL_SYS (getlogin, char *, (void));
data/libdap-3.20.6/gl/unistd.in.h:786:19:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
_GL_CXXALIAS_SYS (getlogin, char *, (void));
data/libdap-3.20.6/gl/unistd.in.h:787:19:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
_GL_CXXALIASWARN (getlogin);
data/libdap-3.20.6/gl/unistd.in.h:789:9:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
# undef getlogin
data/libdap-3.20.6/gl/unistd.in.h:791:18:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
_GL_WARN_ON_USE (getlogin, "getlogin is unportable - "
data/libdap-3.20.6/gl/wchar.in.h:612:19:  [4] (buffer) wcscpy:
  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.
_GL_FUNCDECL_SYS (wcscpy, wchar_t *, (wchar_t *dest, const wchar_t *src));
data/libdap-3.20.6/gl/wchar.in.h:614:19:  [4] (buffer) wcscpy:
  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.
_GL_CXXALIAS_SYS (wcscpy, wchar_t *, (wchar_t *dest, const wchar_t *src));
data/libdap-3.20.6/gl/wchar.in.h:615:19:  [4] (buffer) wcscpy:
  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.
_GL_CXXALIASWARN (wcscpy);
data/libdap-3.20.6/gl/wchar.in.h:617:9:  [4] (buffer) wcscpy:
  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.
# undef wcscpy
data/libdap-3.20.6/gl/wchar.in.h:619:18:  [4] (buffer) wcscpy:
  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.
_GL_WARN_ON_USE (wcscpy, "wcscpy is unportable - "
data/libdap-3.20.6/gl/wchar.in.h:681:19:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
_GL_FUNCDECL_SYS (wcscat, wchar_t *, (wchar_t *dest, const wchar_t *src));
data/libdap-3.20.6/gl/wchar.in.h:683:19:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
_GL_CXXALIAS_SYS (wcscat, wchar_t *, (wchar_t *dest, const wchar_t *src));
data/libdap-3.20.6/gl/wchar.in.h:684:19:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
_GL_CXXALIASWARN (wcscat);
data/libdap-3.20.6/gl/wchar.in.h:686:9:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
# undef wcscat
data/libdap-3.20.6/gl/wchar.in.h:688:18:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
_GL_WARN_ON_USE (wcscat, "wcscat is unportable - "
data/libdap-3.20.6/mime_util.cc:145:9:  [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 sprintf_s
data/libdap-3.20.6/mime_util.cc:196:5:  [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.
    fprintf(stdout, CRLF) ;
data/libdap-3.20.6/unit-tests/HTTPCacheTest.cc:306:24:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        CPPUNIT_ASSERT(access("/tmp/silly/", F_OK) == 0);
data/libdap-3.20.6/unit-tests/HTTPCacheTest.cc:314:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
            access("/root/very_silly/", F_OK);
data/libdap-3.20.6/unit-tests/HTTPCacheTest.cc:320:28:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
            CPPUNIT_ASSERT(access("/root/very_silly/", F_OK) != 0);
data/libdap-3.20.6/unit-tests/HTTPCacheTest.cc:345:24:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        CPPUNIT_ASSERT(access("/tmp/dods_test_cache/.lock", F_OK) == 0);
data/libdap-3.20.6/unit-tests/HTTPCacheTest.cc:358:24:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        CPPUNIT_ASSERT(access("/tmp/dods_test_cache/.lock", F_OK) == 0);
data/libdap-3.20.6/unit-tests/HTTPCacheTest.cc:362:24:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        CPPUNIT_ASSERT(access("/tmp/dods_test_cache/.lock", F_OK) == 0);
data/libdap-3.20.6/unit-tests/HTTPCacheTest.cc:373:24:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        CPPUNIT_ASSERT(access("/tmp/dods_test_cache/391", W_OK) == 0);
data/libdap-3.20.6/unit-tests/HTTPCacheTest.cc:622:28:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
            CPPUNIT_ASSERT(access(e1_file.c_str(), F_OK) != 0);
data/libdap-3.20.6/unit-tests/HTTPCacheTest.cc:623:28:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
            CPPUNIT_ASSERT(access(e2_file.c_str(), F_OK) != 0);
data/libdap-3.20.6/unit-tests/HTTPCacheTest.cc:668:28:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
            CPPUNIT_ASSERT(access(e1_file.c_str(), F_OK) != 0);
data/libdap-3.20.6/unit-tests/HTTPCacheTest.cc:669:28:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
            CPPUNIT_ASSERT(access(e2_file.c_str(), F_OK) != 0);
data/libdap-3.20.6/unit-tests/HTTPCacheTest.cc:899: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("cd cache-testsuite && ./cleanup.sh");
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:761:29:  [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.
        CPPUNIT_ASSERT(0 == system("cmp a_test.file a_test_2.file >/dev/null 2>&1"));
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:803:29:  [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.
        CPPUNIT_ASSERT(0 == system("cmp a_test.file a_test_3.file >/dev/null 2>&1"));
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:845:29:  [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.
        CPPUNIT_ASSERT(0 == system("cmp a_test.file a_test_4.file >/dev/null 2>&1"));
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:935:29:  [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.
        CPPUNIT_ASSERT(0 == system("cmp a_f32_test.file a_f32_test_2.file >/dev/null 2>&1"));
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:1025:29:  [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.
        CPPUNIT_ASSERT(0 == system("cmp a_f64_test.file a_f64_test_2.file >/dev/null 2>&1"));
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:1282:29:  [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.
        CPPUNIT_ASSERT(0 == system("cmp a_test.file a_test_pv.file >/dev/null 2>&1"));
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:1395:29:  [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.
        CPPUNIT_ASSERT(0 == system("cmp a_test_pv_2.file a_test_pv_3.file >/dev/null 2>&1"));
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:1430:29:  [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.
        CPPUNIT_ASSERT(0 == system("cmp a_f32_test.file a_f32_test_pv.file >/dev/null 2>&1"));
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:1531:29:  [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.
        CPPUNIT_ASSERT(0 == system("cmp a_test.file a_test_ptv.file >/dev/null 2>&1"));
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:1574:29:  [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.
        CPPUNIT_ASSERT(0 == system("cmp a_f32_test.file a_f32_test_ptv.file >/dev/null 2>&1"));
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:1615:29:  [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.
        CPPUNIT_ASSERT(0 == system("cmp a_f64_test.file a_f64_test_ptv.file >/dev/null 2>&1"));
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:315:24:  [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.
        CPPUNIT_ASSERT(system(cmp.c_str()) == 0);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:323:24:  [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.
        CPPUNIT_ASSERT(system(cmp.c_str()) == 0);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:331:24:  [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.
        CPPUNIT_ASSERT(system(cmp.c_str()) == 0);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:338:24:  [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.
        CPPUNIT_ASSERT(system(cmp.c_str()) == 0);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:347:24:  [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.
        CPPUNIT_ASSERT(system(cmp.c_str()) == 0);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:355:24:  [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.
        CPPUNIT_ASSERT(system(cmp.c_str()) == 0);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:363:24:  [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.
        CPPUNIT_ASSERT(system(cmp.c_str()) == 0);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:371:24:  [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.
        CPPUNIT_ASSERT(system(cmp.c_str()) == 0);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:381:24:  [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.
        CPPUNIT_ASSERT(system(cmp.c_str()) == 0);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:391:24:  [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.
        CPPUNIT_ASSERT(system(cmp.c_str()) == 0);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:401:24:  [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.
        CPPUNIT_ASSERT(system(cmp.c_str()) == 0);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:409:24:  [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.
        CPPUNIT_ASSERT(system(cmp.c_str()) == 0);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:419:24:  [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.
        CPPUNIT_ASSERT(system(cmp.c_str()) == 0);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:427:24:  [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.
        CPPUNIT_ASSERT(system(cmp.c_str()) == 0);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:436:24:  [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.
        CPPUNIT_ASSERT(system(cmp.c_str()) == 0);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:446:24:  [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.
        CPPUNIT_ASSERT(system(cmp.c_str()) == 0);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:456:24:  [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.
        CPPUNIT_ASSERT(system(cmp.c_str()) == 0);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:464:24:  [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.
        CPPUNIT_ASSERT(system(cmp.c_str()) == 0);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:474:24:  [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.
        CPPUNIT_ASSERT(system(cmp.c_str()) == 0);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:482:24:  [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.
        CPPUNIT_ASSERT(system(cmp.c_str()) == 0);
data/libdap-3.20.6/DODSFilter.cc:269:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt (argc, argv, "ce: v: d: f: r: l: o: u: t: ");
data/libdap-3.20.6/DODSFilter.cc:271:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1) {
data/libdap-3.20.6/DODSFilter.cc:274:26:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        case 'e': set_ce(getopt.optarg); break;
data/libdap-3.20.6/DODSFilter.cc:275:35:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        case 'v': set_cgi_version(getopt.optarg); break;
data/libdap-3.20.6/DODSFilter.cc:276:31:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        case 'd': d_anc_dir = getopt.optarg; break;
data/libdap-3.20.6/DODSFilter.cc:277:32:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        case 'f': d_anc_file = getopt.optarg; break;
data/libdap-3.20.6/DODSFilter.cc:278:33:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        case 'r': d_cache_dir = getopt.optarg; break;
data/libdap-3.20.6/DODSFilter.cc:279:32:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        case 'o': set_response(getopt.optarg); break;
data/libdap-3.20.6/DODSFilter.cc:280:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        case 'u': set_URL(getopt.optarg); break;
data/libdap-3.20.6/DODSFilter.cc:281:36:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        case 't': d_timeout = atoi(getopt.optarg); break;
data/libdap-3.20.6/DODSFilter.cc:285:42:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
            = static_cast<time_t>(strtol(getopt.optarg, NULL, 10));
data/libdap-3.20.6/DODSFilter.cc:300:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    return getopt.optind; // return the index of the next argument
data/libdap-3.20.6/GNU/GetOpt.cc:66: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.
  else if (getenv ("_POSIX_OPTION_ORDER") != 0)
data/libdap-3.20.6/HTTPCache.cc:601:30:  [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.
        char * cr = (char *) getenv("DODS_CACHE");
data/libdap-3.20.6/HTTPCache.cc:602:32:  [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 (!cr) cr = (char *) getenv("TMP");
data/libdap-3.20.6/HTTPCache.cc:603:32:  [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 (!cr) cr = (char *) getenv("TEMP");
data/libdap-3.20.6/HTTPConnect.cc:708: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.
    c = getenv("TEMP");
data/libdap-3.20.6/HTTPConnect.cc:712:8:  [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.
    c= getenv("TMP");
data/libdap-3.20.6/HTTPConnect.cc:726: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.
    c = getenv("TMPDIR");
data/libdap-3.20.6/RCReader.cc:347:16:  [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.
    char *ev = getenv(variable_name.c_str());
data/libdap-3.20.6/VCPP/sample/getdap.cc:147:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "idaDxAVvkB:c:m:zsh?");
data/libdap-3.20.6/VCPP/sample/getdap.cc:169:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/VCPP/sample/getdap.cc:200:20:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
            expr = getopt.optarg;
data/libdap-3.20.6/VCPP/sample/getdap.cc:204:26:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
            times = atoi(getopt.optarg);
data/libdap-3.20.6/VCPP/sample/getdap.cc:208:22:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
            ais_db = getopt.optarg;
data/libdap-3.20.6/VCPP/sample/getdap.cc:227:22:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        for (int i = getopt.optind; i < argc; ++i) {
data/libdap-3.20.6/getdap.cc:142:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "idaDxrXBVvekc:m:zshM?Hp:t");
data/libdap-3.20.6/getdap.cc:166:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/getdap.cc:200:20:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
            expr = getopt.optarg;
data/libdap-3.20.6/getdap.cc:204:26:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
            times = atoi(getopt.optarg);
data/libdap-3.20.6/getdap.cc:219:31:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
            istringstream iss(getopt.optarg);
data/libdap-3.20.6/getdap.cc:239:22:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        for (int i = getopt.optind; i < argc; ++i) {
data/libdap-3.20.6/getdap4.cc:177:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "[dDvVikrm:Mzstc:]");
data/libdap-3.20.6/getdap4.cc:199:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/getdap4.cc:226:26:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
            times = atoi(getopt.optarg);
data/libdap-3.20.6/getdap4.cc:244:20:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
            expr = getopt.optarg;
data/libdap-3.20.6/getdap4.cc:256:22:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        for (int i = getopt.optind; i < argc; ++i) {
data/libdap-3.20.6/gl/gettimeofday.c:44:22:  [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.
  HMODULE kernel32 = LoadLibrary ("kernel32.dll");
data/libdap-3.20.6/gl/glthread/lock.c:801:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&lock->lock);
data/libdap-3.20.6/gl/glthread/lock.c:819:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&lock->lock);
data/libdap-3.20.6/gl/glthread/lock.c:938:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&lock->lock);
data/libdap-3.20.6/gl/glthread/lock.c:959:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&lock->lock);
data/libdap-3.20.6/gl/glthread/lock.c:991:15:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
              EnterCriticalSection (&lock->lock);
data/libdap-3.20.6/gl/glthread/lock.c:1015:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&lock->lock);
data/libdap-3.20.6/gl/glthread/lock.c:1044:15:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
              EnterCriticalSection (&lock->lock);
data/libdap-3.20.6/gl/glthread/lock.c:1059:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&lock->lock);
data/libdap-3.20.6/gl/glthread/lock.c:1121:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&lock->lock);
data/libdap-3.20.6/gl/glthread/lock.c:1143:9:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
        EnterCriticalSection (&lock->lock);
data/libdap-3.20.6/gl/glthread/lock.c:1190:11:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
          InitializeCriticalSection (&once_control->lock);
data/libdap-3.20.6/gl/glthread/lock.c:1191:11:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
          EnterCriticalSection (&once_control->lock);
data/libdap-3.20.6/gl/glthread/lock.c:1210:15:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
              EnterCriticalSection (&once_control->lock);
data/libdap-3.20.6/gl/localcharset.c:140: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.
      dir = getenv ("CHARSETALIASDIR");
data/libdap-3.20.6/gl/localcharset.c:418:16:  [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.
      locale = getenv ("LC_ALL");
data/libdap-3.20.6/gl/localcharset.c:421:20:  [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.
          locale = getenv ("LC_CTYPE");
data/libdap-3.20.6/gl/localcharset.c:423:22:  [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.
            locale = getenv ("LANG");
data/libdap-3.20.6/gl/localcharset.c:479:16:  [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.
      locale = getenv ("LC_ALL");
data/libdap-3.20.6/gl/localcharset.c:482:20:  [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.
          locale = getenv ("LC_CTYPE");
data/libdap-3.20.6/gl/localcharset.c:484:22:  [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.
            locale = getenv ("LANG");
data/libdap-3.20.6/gl/localcharset.c:540: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.
  locale = getenv ("LC_ALL");
data/libdap-3.20.6/gl/localcharset.c:543:16:  [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.
      locale = getenv ("LC_CTYPE");
data/libdap-3.20.6/gl/localcharset.c:545:18:  [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.
        locale = getenv ("LANG");
data/libdap-3.20.6/gl/stat-w32.c:60:22:  [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.
  HMODULE kernel32 = LoadLibrary ("kernel32.dll");
data/libdap-3.20.6/gl/stdlib.in.h:573:19:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_FUNCDECL_SYS (random, long, (void));
data/libdap-3.20.6/gl/stdlib.in.h:575:19:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIAS_SYS (random, long, (void));
data/libdap-3.20.6/gl/stdlib.in.h:576:19:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIASWARN (random);
data/libdap-3.20.6/gl/stdlib.in.h:578:9:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
# undef random
data/libdap-3.20.6/gl/stdlib.in.h:580:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_WARN_ON_USE (random, "random is unportable - "
data/libdap-3.20.6/gl/stdlib.in.h:587:19:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_FUNCDECL_SYS (srandom, void, (unsigned int seed));
data/libdap-3.20.6/gl/stdlib.in.h:589:19:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIAS_SYS (srandom, void, (unsigned int seed));
data/libdap-3.20.6/gl/stdlib.in.h:590:19:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIASWARN (srandom);
data/libdap-3.20.6/gl/stdlib.in.h:592:9:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
# undef srandom
data/libdap-3.20.6/gl/stdlib.in.h:594:18:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_WARN_ON_USE (srandom, "srandom is unportable - "
data/libdap-3.20.6/gl/stdlib.in.h:618:19:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_FUNCDECL_SYS (setstate, char *, (char *arg_state) _GL_ARG_NONNULL ((1)));
data/libdap-3.20.6/gl/stdlib.in.h:620:19:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIAS_SYS (setstate, char *, (char *arg_state));
data/libdap-3.20.6/gl/stdlib.in.h:621:19:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIASWARN (setstate);
data/libdap-3.20.6/gl/stdlib.in.h:623:9:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
# undef setstate
data/libdap-3.20.6/gl/stdlib.in.h:625:18:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_WARN_ON_USE (setstate, "setstate is unportable - "
data/libdap-3.20.6/gl/stdlib.in.h:788:12:  [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.
#   define realpath rpl_realpath
data/libdap-3.20.6/gl/stdlib.in.h:790:19:  [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.
_GL_FUNCDECL_RPL (realpath, char *, (const char *name, char *resolved)
data/libdap-3.20.6/gl/stdlib.in.h:792:19:  [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.
_GL_CXXALIAS_RPL (realpath, char *, (const char *name, char *resolved));
data/libdap-3.20.6/gl/stdlib.in.h:795:19:  [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.
_GL_FUNCDECL_SYS (realpath, char *, (const char *name, char *resolved)
data/libdap-3.20.6/gl/stdlib.in.h:798:19:  [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.
_GL_CXXALIAS_SYS (realpath, char *, (const char *name, char *resolved));
data/libdap-3.20.6/gl/stdlib.in.h:800:19:  [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.
_GL_CXXALIASWARN (realpath);
data/libdap-3.20.6/gl/stdlib.in.h:802:9:  [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.
# undef realpath
data/libdap-3.20.6/gl/stdlib.in.h:804:18:  [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.
_GL_WARN_ON_USE (realpath, "realpath is unportable - use gnulib module "
data/libdap-3.20.6/tests/das-test.cc:85:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt (argc, argv, "scpvdrx");
data/libdap-3.20.6/tests/das-test.cc:92:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt ()) != -1)
data/libdap-3.20.6/tests/dds-test.cc:73:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "spP:dcx"); // remove fF:
data/libdap-3.20.6/tests/dds-test.cc:79:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/tests/dds-test.cc:92:20:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
            name = getopt.optarg;
data/libdap-3.20.6/tests/dmr-test.cc:295:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "p:s:t:i:c:f:xdDeh?");
data/libdap-3.20.6/tests/dmr-test.cc:313:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/tests/dmr-test.cc:317:20:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
            name = getopt.optarg;
data/libdap-3.20.6/tests/dmr-test.cc:322:17:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        	name = getopt.optarg;
data/libdap-3.20.6/tests/dmr-test.cc:327:17:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        	name = getopt.optarg;
data/libdap-3.20.6/tests/dmr-test.cc:332:17:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        	name = getopt.optarg;
data/libdap-3.20.6/tests/dmr-test.cc:337:15:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        	ce = getopt.optarg;
data/libdap-3.20.6/tests/dmr-test.cc:342:21:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        	function = getopt.optarg;
data/libdap-3.20.6/tests/expr-test.cc:150:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, options.c_str());
data/libdap-3.20.6/tests/expr-test.cc:174:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/tests/expr-test.cc:188:26:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
            constraint = getopt.optarg;
data/libdap-3.20.6/tests/expr-test.cc:192:29:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
            dds_file_name = getopt.optarg;
data/libdap-3.20.6/tests/expr-test.cc:202:29:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
            dds_file_name = getopt.optarg;
data/libdap-3.20.6/tests/expr-test.cc:206:29:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
            dds_file_name = getopt.optarg;
data/libdap-3.20.6/tests/expr-test.cc:210:26:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
            constraint = getopt.optarg;
data/libdap-3.20.6/tests/expr-test.cc:213:23:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
            dataset = getopt.optarg;
data/libdap-3.20.6/unit-tests/ArrayTest.cc:347:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/ArrayTest.cc:350:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/ArrayTest.cc:375:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/AttrTableTest.cc:481:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/AttrTableTest.cc:484:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/AttrTableTest.cc:509:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/BaseTypeFactoryTest.cc:165:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/BaseTypeFactoryTest.cc:168:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/BaseTypeFactoryTest.cc:194:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/ByteTest.cc:392:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/ByteTest.cc:395:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/ByteTest.cc:423:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/D4AsyncDocTest.cc:315:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/D4AsyncDocTest.cc:317:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/D4AsyncDocTest.cc:341:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/D4AttributesTest.cc:389:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/D4AttributesTest.cc:391:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/D4AttributesTest.cc:415:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/D4BaseTypeFactoryTest.cc:185:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/D4BaseTypeFactoryTest.cc:188:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/D4BaseTypeFactoryTest.cc:214:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/D4DimensionsTest.cc:241:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/D4DimensionsTest.cc:244:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/D4DimensionsTest.cc:267:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/D4EnumDefsTest.cc:195:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/D4EnumDefsTest.cc:198:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/D4EnumDefsTest.cc:221:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/D4EnumTest.cc:386:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/D4EnumTest.cc:388:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/D4EnumTest.cc:411:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/D4FilterClauseTest.cc:589:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/D4FilterClauseTest.cc:592:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != EOF)
data/libdap-3.20.6/unit-tests/D4FilterClauseTest.cc:615:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/D4GroupTest.cc:469:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/D4GroupTest.cc:471:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/D4GroupTest.cc:494:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/D4MarshallerTest.cc:367:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dwh");
data/libdap-3.20.6/unit-tests/D4MarshallerTest.cc:370:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/D4MarshallerTest.cc:396:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/D4ParserSax2Test.cc:349:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dph");
data/libdap-3.20.6/unit-tests/D4ParserSax2Test.cc:352:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/D4ParserSax2Test.cc:378:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/D4SequenceTest.cc:228:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/D4SequenceTest.cc:230:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/D4SequenceTest.cc:253:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/D4UnMarshallerTest.cc:345:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/D4UnMarshallerTest.cc:348:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/D4UnMarshallerTest.cc:371:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/DASTest.cc:101:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/DASTest.cc:104:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/DASTest.cc:127:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/DDSTest.cc:723:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/DDSTest.cc:726:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/DDSTest.cc:752:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/DDXParserTest.cc:669:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/DDXParserTest.cc:671:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/DDXParserTest.cc:694:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/DMRTest.cc:348:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/DMRTest.cc:351:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/DMRTest.cc:376:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/DMRTest.cc:398:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "d");
data/libdap-3.20.6/unit-tests/DMRTest.cc:401:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/DMRTest.cc:412:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/DmrRoundTripTest.cc:299:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/DmrRoundTripTest.cc:302:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/DmrRoundTripTest.cc:328:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/DmrToDap2Test.cc:456:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dDh");
data/libdap-3.20.6/unit-tests/DmrToDap2Test.cc:459:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/DmrToDap2Test.cc:487:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/Float32Test.cc:268:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/Float32Test.cc:271:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/Float32Test.cc:297:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/Float64Test.cc:268:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/Float64Test.cc:271:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/Float64Test.cc:297:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/HTTPCacheTest.cc:875:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/HTTPCacheTest.cc:878:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/HTTPCacheTest.cc:906:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/HTTPConnectTest.cc:755:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/HTTPConnectTest.cc:758:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/HTTPConnectTest.cc:781:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/Int16Test.cc:268:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/Int16Test.cc:271:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/Int16Test.cc:297:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/Int32Test.cc:268:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/Int32Test.cc:271:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/Int32Test.cc:297:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/Int64Test.cc:252:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/Int64Test.cc:255:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/Int64Test.cc:281:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/Int8Test.cc:266:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/Int8Test.cc:269:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/Int8Test.cc:295:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/MIMEUtilTest.cc:225:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/MIMEUtilTest.cc:228:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/MIMEUtilTest.cc:251:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:1625:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:1628:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:1651:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/RCReaderTest.cc:173:23:  [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.
        string home = getenv("HOME");
data/libdap-3.20.6/unit-tests/RCReaderTest.cc:381:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/RCReaderTest.cc:384:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/RCReaderTest.cc:407:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/RegexTest.cc:153:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/RegexTest.cc:156:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/RegexTest.cc:179:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/SequenceTest.cc:430:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/SequenceTest.cc:432:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/SequenceTest.cc:455:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/ServerFunctionsListUnitTest.cc:188:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/ServerFunctionsListUnitTest.cc:190:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/ServerFunctionsListUnitTest.cc:213:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/SignalHandlerTest.cc:138:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/SignalHandlerTest.cc:141:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/SignalHandlerTest.cc:164:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/UInt16Test.cc:268:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/UInt16Test.cc:271:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/UInt16Test.cc:297:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/UInt32Test.cc:268:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/UInt32Test.cc:271:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/UInt32Test.cc:297:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/UInt64Test.cc:270:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/UInt64Test.cc:273:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/UInt64Test.cc:299:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/ancT.cc:147:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/ancT.cc:150:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/ancT.cc:175:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/arrayT.cc:176:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/arrayT.cc:179:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/arrayT.cc:204:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/attrTableT.cc:288:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/attrTableT.cc:291:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/attrTableT.cc:316:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:536:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:539:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:564:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/dasT.cc:236:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/dasT.cc:239:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/dasT.cc:262:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/ddsT.cc:722:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/ddsT.cc:725:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/ddsT.cc:748:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/generalUtilTest.cc:311:39:  [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.
            DBG(cerr << "TMPDIR: " << getenv("TMPDIR") << endl);
data/libdap-3.20.6/unit-tests/generalUtilTest.cc:319:39:  [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.
            DBG(cerr << "TMPDIR: " << getenv("TMPDIR") << endl);
data/libdap-3.20.6/unit-tests/generalUtilTest.cc:375:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/generalUtilTest.cc:378:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/generalUtilTest.cc:401:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/marshT.cc:414:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/marshT.cc:417:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/marshT.cc:440:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/parserUtilTest.cc:149:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/parserUtilTest.cc:152:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/parserUtilTest.cc:175:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/sequenceT.cc:135:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/sequenceT.cc:138:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/sequenceT.cc:161:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/unit-tests/structT.cc:152:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    GetOpt getopt(argc, argv, "dh");
data/libdap-3.20.6/unit-tests/structT.cc:155:27:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((option_char = getopt()) != -1)
data/libdap-3.20.6/unit-tests/structT.cc:180:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int i = getopt.optind;
data/libdap-3.20.6/Ancillary.cc:205:16:  [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 *in = fopen( name.c_str(), "r" ) ;
data/libdap-3.20.6/Ancillary.cc:227:16:  [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 *in = fopen( name.c_str(), "r" ) ;
data/libdap-3.20.6/D4Connect.cc:172: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 chunk[chunk_size];
data/libdap-3.20.6/D4Connect.cc:421: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 chunk[chunk_size];
data/libdap-3.20.6/D4ParserSax2.cc:141:78:  [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.
        xml_attrs.insert(map<string, XMLAttribute>::value_type(string((const char *)attributes[index]),
data/libdap-3.20.6/D4ParserSax2.cc:144:49:  [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.
        DBG(cerr << "XML Attribute '" << (const char *)attributes[index] << "': "
data/libdap-3.20.6/D4ParserSax2.cc:145: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.
                << xml_attrs[(const char *)attributes[index]].value << endl);
data/libdap-3.20.6/D4ParserSax2.cc:159:96:  [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.
        namespace_table.insert(map<string, string>::value_type(namespaces[i * 2] != 0 ? (const char *)namespaces[i * 2] : "",
data/libdap-3.20.6/D4ParserSax2.cc:160:71:  [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 *)namespaces[i * 2 + 1]));
data/libdap-3.20.6/D4ParserSax2.cc:270: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).
    	a->append_dim(atoi(xml_attrs["size"].value.c_str())); // low budget code for now. jhrg 8/20/13
data/libdap-3.20.6/D4ParserSax2.cc:1204: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[1024];
data/libdap-3.20.6/D4ParserSax2.cc:1222: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[1024];
data/libdap-3.20.6/D4ParserSax2.h:120: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 d_parse_buffer[D4_PARSE_BUFF_SIZE+1]; // Buff size plus one byte for NULL termination.
data/libdap-3.20.6/D4ParserSax2.h:203:50:  [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.
            prefix = attributes[0] != 0 ? (const char *)attributes[0]: "";
data/libdap-3.20.6/D4ParserSax2.h:204:49:  [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.
            nsURI = attributes[1] != 0 ? (const char *)attributes[1]: "";
data/libdap-3.20.6/D4ParserSax2.h:205:35:  [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.
            value = string((const char *)attributes[2], (const char *)attributes[3]);
data/libdap-3.20.6/D4ParserSax2.h:205:64:  [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.
            value = string((const char *)attributes[2], (const char *)attributes[3]);
data/libdap-3.20.6/D4StreamMarshaller.cc:530: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(byte_buf, val, len);
data/libdap-3.20.6/D4StreamMarshaller.cc:558: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(buf, val, num_bytes);
data/libdap-3.20.6/D4StreamMarshaller.cc:606: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(buf, val, bytes);
data/libdap-3.20.6/D4StreamMarshaller.cc:647: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(buf, val, num_elem);
data/libdap-3.20.6/D4StreamMarshaller.cc:679: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(buf, val, bytes);
data/libdap-3.20.6/D4StreamMarshaller.cc:718: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(buf, val, num_elem);
data/libdap-3.20.6/D4StreamMarshaller.cc:749: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(buf, val, bytes);
data/libdap-3.20.6/D4StreamMarshaller.h:76: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 d_ieee754_buf[sizeof(dods_float64)]; // used to serialize a float or double
data/libdap-3.20.6/D4StreamUnMarshaller.h:76: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 d_buf[sizeof(dods_float64)];
data/libdap-3.20.6/DAS.cc:234:16:  [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 *in = fopen(fname.c_str(), "r");
data/libdap-3.20.6/DDS.cc:944:16:  [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 *in = fopen(fname.c_str(), "r");
data/libdap-3.20.6/DDXParserSAX2.cc:171:31:  [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.
                string((const char *)attributes[index]),
data/libdap-3.20.6/DDXParserSAX2.cc:174:45:  [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.
        DBG(cerr << "Attribute '" << (const char *)attributes[index] << "': "
data/libdap-3.20.6/DDXParserSAX2.cc:175:43:  [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.
                << attribute_table[(const char *)attributes[index]].value << endl);
data/libdap-3.20.6/DDXParserSAX2.cc:185:47:  [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.
                namespaces[i*2] != 0 ? (const char *)namespaces[i*2] : "",
data/libdap-3.20.6/DDXParserSAX2.cc:186: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.
                (const char *)namespaces[i*2+1]));
data/libdap-3.20.6/DDXParserSAX2.cc:318: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).
        ap->append_dim(atoi(attribute_table["size"].value.c_str()),
data/libdap-3.20.6/DDXParserSAX2.cc:1008: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[1024];
data/libdap-3.20.6/DDXParserSAX2.cc:1062: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 chars[size + 1];
data/libdap-3.20.6/DDXParserSAX2.cc:1134: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 chars[size];
data/libdap-3.20.6/DDXParserSAX2.h:161:50:  [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.
            prefix = attributes[0] != 0 ? (const char *)attributes[0]: "";
data/libdap-3.20.6/DDXParserSAX2.h:162:49:  [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.
            nsURI = attributes[1] != 0 ? (const char *)attributes[1]: "";
data/libdap-3.20.6/DDXParserSAX2.h:163:35:  [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.
            value = string((const char *)attributes[2], (const char *)attributes[3]);
data/libdap-3.20.6/DDXParserSAX2.h:163:64:  [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.
            value = string((const char *)attributes[2], (const char *)attributes[3]);
data/libdap-3.20.6/DODSFilter.cc:281:31:  [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).
        case 't': d_timeout = atoi(getopt.optarg); break;
data/libdap-3.20.6/DODSFilter.cc:903: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 uuid[37];
data/libdap-3.20.6/DODSFilter.cc:905: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 domain[256];
data/libdap-3.20.6/Error.tab.cc:872: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 const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
data/libdap-3.20.6/Error.tab.cc:1062: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 yymsgbuf[128];
data/libdap-3.20.6/GNU/GetOpt.cc:82: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 (&temp[0], &argv[first_nonopt], nonopts_size);
data/libdap-3.20.6/GNU/GetOpt.cc:88: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 (&argv[first_nonopt], &argv[last_nonopt],
data/libdap-3.20.6/GNU/GetOpt.cc:94: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 (&argv[first_nonopt + optind - last_nonopt], &temp[0],
data/libdap-3.20.6/HTTPCache.cc:468:12:  [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).
	if ((fp = fopen(lock.c_str(), "r")) != NULL) {
data/libdap-3.20.6/HTTPCache.cc:479:12:  [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).
	if ((fp = fopen(lock.c_str(), "w")) == NULL) {
data/libdap-3.20.6/HTTPCache.cc:981:18:  [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 *dest = fopen(fname.c_str(), "w");
data/libdap-3.20.6/HTTPCache.cc:1025:16:  [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 *md = fopen(string(cachename + CACHE_META).c_str(), "r");
data/libdap-3.20.6/HTTPCache.cc:1031: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[1024];
data/libdap-3.20.6/HTTPCache.cc:1070:18:  [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 *dest = fopen(cachename.c_str(), "wb");
data/libdap-3.20.6/HTTPCache.cc:1078: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[1024];
data/libdap-3.20.6/HTTPCache.cc:1123: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).
    FILE *src = fopen(cachename.c_str(), "rb"); // Read only
data/libdap-3.20.6/HTTPCacheMacros.h:52:20:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
#define MKSTEMP(a) mkstemp((a))
data/libdap-3.20.6/HTTPCacheTable.cc:75:20:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
#define MKSTEMP(a) mkstemp((a))
data/libdap-3.20.6/HTTPCacheTable.cc:300:16:  [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 *fp = fopen(d_cache_index.c_str(), "r");
data/libdap-3.20.6/HTTPCacheTable.cc:307: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[1024];
data/libdap-3.20.6/HTTPCacheTable.cc:408: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).
    if ((fp = fopen(d_cache_index.c_str(), "wb")) == NULL) {
data/libdap-3.20.6/HTTPConnect.cc:87: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.
static const char *http_client_errors[CLIENT_ERR_MAX - CLIENT_ERR_MIN +1] =
data/libdap-3.20.6/HTTPConnect.cc:113: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.
static const char *http_server_errors[SERVER_ERR_MAX - SERVER_ERR_MIN + 1] =
data/libdap-3.20.6/HTTPConnect.cc:791: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).
    stream = fopen(_mktemp(&pathname[0]), "w+b");
data/libdap-3.20.6/HTTPConnect.cc:797:14:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    int fd = mkstemp(&pathname[0]);
data/libdap-3.20.6/HTTPConnect.h:80: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 d_error_buffer[CURL_ERROR_SIZE]; // A human-readable message.
data/libdap-3.20.6/RCReader.cc:167:35:  [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).
                _dods_use_cache = atoi(value) ? true : false;
data/libdap-3.20.6/RCReader.cc:170:35:  [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).
                _dods_cache_max = atoi(value);
data/libdap-3.20.6/RCReader.cc:173:36:  [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).
                _dods_cached_obj = atoi(value);
data/libdap-3.20.6/RCReader.cc:176: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).
                _dods_ign_expires = atoi(value);
data/libdap-3.20.6/RCReader.cc:179:33:  [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).
                _dods_deflate = atoi(value) ? true : false;
data/libdap-3.20.6/RCReader.cc:186:41:  [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).
                _dods_default_expires = atoi(value);
data/libdap-3.20.6/RCReader.cc:189:41:  [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).
                _dods_always_validate = atoi(value);
data/libdap-3.20.6/RCReader.cc:192:34:  [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).
                d_validate_ssl = atoi(value);
data/libdap-3.20.6/VCPP/sample/getdap.cc:204:21:  [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).
            times = atoi(getopt.optarg);
data/libdap-3.20.6/VCPP/sample/getdap.cc:265:42:  [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).
                        r = new Response(fopen(argv[i], "r"));
data/libdap-3.20.6/Vector.cc:229: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(d_buf, fromArray, numElts * sizeof(CardType));
data/libdap-3.20.6/Vector.cc:1187: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(d_buf, val, width(true));
data/libdap-3.20.6/Vector.cc:1275: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(*val, d_buf, wid);
data/libdap-3.20.6/Vector.cc:1571:4:  [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(pIntoBuf, pFromBuf, numBytesToCopy);
data/libdap-3.20.6/Vector.cc:1885: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(v, d_buf, length() * sizeof(T));
data/libdap-3.20.6/Vector.cc:1925: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(buffer, d_buf, width(true));
data/libdap-3.20.6/XDRStreamUnMarshaller.cc:193: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(&buf[0], d_buf, 4);
data/libdap-3.20.6/XDRStreamUnMarshaller.cc:266: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(&buf[0], d_buf, 4);
data/libdap-3.20.6/XDRStreamUnMarshaller.cc:311: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(&buf[0], d_buf, 4);
data/libdap-3.20.6/ce_expr.tab.cc:263: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 id[ID_MAX];        // Return identifiers
data/libdap-3.20.6/ce_expr.tab.cc:1111: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 const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
data/libdap-3.20.6/ce_expr.tab.cc:1301: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 yymsgbuf[128];
data/libdap-3.20.6/ce_expr.tab.cc:1671:29:  [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).
    arg_length_hint_value = atoi((yyvsp[0].id));
data/libdap-3.20.6/ce_expr.tab.cc:2010:23:  [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).
            val.v.i = atoi((yyvsp[0].id));
data/libdap-3.20.6/ce_expr.tab.cc:2014: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).
            val.v.ui = atoi((yyvsp[0].id));
data/libdap-3.20.6/ce_expr.tab.cc:2172:13:  [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).
    i.v.i = atoi((yyvsp[-1].id));
data/libdap-3.20.6/ce_expr.tab.cc:2205:13:  [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).
    i.v.i = atoi((yyvsp[-3].id));
data/libdap-3.20.6/ce_expr.tab.cc:2206:13:  [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).
    j.v.i = atoi((yyvsp[-1].id));
data/libdap-3.20.6/ce_expr.tab.cc:2229:13:  [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).
    i.v.i = atoi((yyvsp[-6].id));
data/libdap-3.20.6/ce_expr.tab.cc:2230:13:  [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).
    j.v.i = atoi((yyvsp[-2].id));
data/libdap-3.20.6/ce_expr.tab.cc:2251:13:  [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).
    i.v.i = atoi((yyvsp[-3].id));
data/libdap-3.20.6/ce_expr.tab.cc:2275:13:  [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).
    i.v.i = atoi((yyvsp[-5].id));
data/libdap-3.20.6/ce_expr.tab.cc:2276:13:  [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).
    j.v.i = atoi((yyvsp[-3].id));
data/libdap-3.20.6/ce_expr.tab.cc:2277:13:  [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).
    k.v.i = atoi((yyvsp[-1].id));
data/libdap-3.20.6/chunked_istream.cc:189: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(s, gptr(), num);
data/libdap-3.20.6/chunked_istream.cc:201: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(s, gptr(), bytes_to_transfer);
data/libdap-3.20.6/chunked_ostream.cc:272: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(pptr(), s, num);
data/libdap-3.20.6/chunked_ostream.cc:321: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(d_buffer, s, bytes_still_to_send);
data/libdap-3.20.6/d4_ce/d4_ce_parser.tab.cc:1459: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 const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
data/libdap-3.20.6/d4_function/d4_function_parser.tab.cc:1896: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 const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
data/libdap-3.20.6/das.tab.cc:1009: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 const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
data/libdap-3.20.6/das.tab.cc:1199: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 yymsgbuf[128];
data/libdap-3.20.6/dds.tab.cc:190: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 word[ID_MAX];
data/libdap-3.20.6/dds.tab.cc:999: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 const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
data/libdap-3.20.6/dds.tab.cc:1189: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 yymsgbuf[128];
data/libdap-3.20.6/dds.tab.cc:1691:39:  [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).
			    ((Array *)current)->append_dim(atoi((yyvsp[-1].word)));
data/libdap-3.20.6/dds.tab.cc:1696:22:  [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).
			    a->append_dim(atoi((yyvsp[-1].word)));
data/libdap-3.20.6/dds.tab.cc:1725:40:  [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).
			     ((Array *)current)->append_dim(atoi((yyvsp[0].word)), *id);
data/libdap-3.20.6/dds.tab.cc:1730:23:  [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).
			     a->append_dim(atoi((yyvsp[0].word)), *id);
data/libdap-3.20.6/escaping.cc:96: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 tmp_str[2];
data/libdap-3.20.6/escaping.cc:122: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 tmp_str[2];
data/libdap-3.20.6/expr.h:80:19:  [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).
            v.i = atoi(token.c_str());
data/libdap-3.20.6/expr.h:86: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).
            v.ui = atoi(token.c_str());
data/libdap-3.20.6/getdap.cc:204:21:  [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).
            times = atoi(getopt.optarg);
data/libdap-3.20.6/getdap.cc:278:42:  [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).
                        r = new Response(fopen(argv[i], "r"), 0);
data/libdap-3.20.6/getdap4.cc:226:21:  [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).
            times = atoi(getopt.optarg);
data/libdap-3.20.6/gl/btowc.c:31: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 buf[1];
data/libdap-3.20.6/gl/fcntl.in.h:111: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).
#   undef open
data/libdap-3.20.6/gl/fcntl.in.h:112: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).
#   define open rpl_open
data/libdap-3.20.6/gl/fcntl.in.h:114: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).
_GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...)
data/libdap-3.20.6/gl/fcntl.in.h:116: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).
_GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...));
data/libdap-3.20.6/gl/fcntl.in.h:118: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).
_GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...));
data/libdap-3.20.6/gl/fcntl.in.h:123: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).
_GL_CXXALIASWARN (open);
data/libdap-3.20.6/gl/fcntl.in.h:126:9:  [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).
# undef open
data/libdap-3.20.6/gl/fcntl.in.h:128: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).
_GL_WARN_ON_USE (open, "open is not always POSIX compliant - "
data/libdap-3.20.6/gl/gettext.h:220: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 msg_ctxt_id[msgctxt_len + msgid_len];
data/libdap-3.20.6/gl/gettext.h:222: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[1024];
data/libdap-3.20.6/gl/gettext.h:231: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 (msg_ctxt_id, msgctxt, msgctxt_len - 1);
data/libdap-3.20.6/gl/gettext.h:233: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 (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
data/libdap-3.20.6/gl/gettext.h:268: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 msg_ctxt_id[msgctxt_len + msgid_len];
data/libdap-3.20.6/gl/gettext.h:270: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[1024];
data/libdap-3.20.6/gl/gettext.h:279: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 (msg_ctxt_id, msgctxt, msgctxt_len - 1);
data/libdap-3.20.6/gl/gettext.h:281: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 (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
data/libdap-3.20.6/gl/localcharset.c:152: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 (file_name, dir, dir_len);
data/libdap-3.20.6/gl/localcharset.c:155: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 (file_name + dir_len + add_slash, base, base_len + 1);
data/libdap-3.20.6/gl/localcharset.c:175: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).
          fd = open (file_name,
data/libdap-3.20.6/gl/localcharset.c:200: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.
                      char buf1[50+1];
data/libdap-3.20.6/gl/localcharset.c:201: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.
                      char buf2[50+1];
data/libdap-3.20.6/gl/localcharset.c:416: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.
      static char buf[2 + 10 + 1];
data/libdap-3.20.6/gl/localcharset.c:442: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, dot, modifier - dot);
data/libdap-3.20.6/gl/localcharset.c:460:7:  [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 (buf, "CP%u", GetACP ());
data/libdap-3.20.6/gl/localcharset.c:497:10:  [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 char buf[2 + 10 + 1];
data/libdap-3.20.6/gl/localcharset.c:525:7:  [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 (buf, "CP%u", GetACP ());
data/libdap-3.20.6/gl/localcharset.c:532:10:  [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 char buf[2 + 10 + 1];
data/libdap-3.20.6/gl/localcharset.c:563: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 (buf, dot, modifier - dot);
data/libdap-3.20.6/gl/localcharset.c:581:11:  [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 (buf, "CP%u", cp[0]);
data/libdap-3.20.6/gl/malloca.c:69: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 room[HEADER_SIZE - MAGIC_SIZE];
data/libdap-3.20.6/gl/mbrtowc.c:48:8:  [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 char internal_state[4];
data/libdap-3.20.6/gl/mbrtowc.c:72: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[4];
data/libdap-3.20.6/gl/nl_langinfo.c:36:10:  [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 char buf[2 + 10 + 1];
data/libdap-3.20.6/gl/nl_langinfo.c:60: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.
                  codeset = memcpy (buf, codeset_start, codesetlen);
data/libdap-3.20.6/gl/nl_langinfo.c:77: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 (buf + 2, "%u", GetACP ());
data/libdap-3.20.6/gl/nl_langinfo.c:78: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.
  codeset = memcpy (buf, "CP", 2);
data/libdap-3.20.6/gl/nl_langinfo.c:152:10:  [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 char nlbuf[100];
data/libdap-3.20.6/gl/nl_langinfo.c:212:19:  [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.
          return (char *) days[item - DAY_1];
data/libdap-3.20.6/gl/nl_langinfo.c:228:19:  [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.
          return (char *) abdays[item - ABDAY_1];
data/libdap-3.20.6/gl/nl_langinfo.c:250:19:  [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.
          return (char *) months[item - MON_1];
data/libdap-3.20.6/gl/nl_langinfo.c:272:19:  [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.
          return (char *) abmonths[item - ABMON_1];
data/libdap-3.20.6/gl/regcomp.c:318: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.
	      unsigned char buf[MB_LEN_MAX];
data/libdap-3.20.6/gl/regcomp.c:401: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[256];
data/libdap-3.20.6/gl/regcomp.c:553: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 (errbuf, msg, cpy_size);
data/libdap-3.20.6/gl/regcomp.c:3184: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.
      unsigned char start_name_buf[BRACKET_NAME_BUF_SIZE];
data/libdap-3.20.6/gl/regcomp.c:3185: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.
      unsigned char end_name_buf[BRACKET_NAME_BUF_SIZE];
data/libdap-3.20.6/gl/regcomp.c:3507: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.
      unsigned char char_buf[2];
data/libdap-3.20.6/gl/regex.h:645: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.
		    const char *_Restrict_ __String, size_t __nmatch,
data/libdap-3.20.6/gl/regex_internal.c:205: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 buf[MB_LEN_MAX];
data/libdap-3.20.6/gl/regex_internal.c:208: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 buf[64];
data/libdap-3.20.6/gl/regex_internal.c:277: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[MB_LEN_MAX];
data/libdap-3.20.6/gl/regex_internal.c:280: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[64];
data/libdap-3.20.6/gl/regex_internal.c:321: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 (pstr->mbs + byte_idx, buf, mbclen);
data/libdap-3.20.6/gl/regex_internal.c:329: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 (pstr->mbs + byte_idx,
data/libdap-3.20.6/gl/regex_internal.c:390: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 (pstr->mbs + byte_idx, buf, mbclen);
data/libdap-3.20.6/gl/regex_internal.c:415: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 (pstr->mbs + byte_idx, buf, mbcdlen);
data/libdap-3.20.6/gl/regex_internal.c:434: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 (pstr->mbs + byte_idx, p, mbclen);
data/libdap-3.20.6/gl/regex_internal.c:437:8:  [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 (pstr->mbs + byte_idx, p, mbclen);
data/libdap-3.20.6/gl/regex_internal.c:733:15:  [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[6];
data/libdap-3.20.6/gl/regex_internal.c:1037: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 (dest->elems, src->elems, src->nelem * sizeof (Idx));
data/libdap-3.20.6/gl/regex_internal.c:1131: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 (dest->elems, dest->elems + sbase, delta * sizeof (Idx));
data/libdap-3.20.6/gl/regex_internal.c:1175: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 (dest->elems + id, src1->elems + i1,
data/libdap-3.20.6/gl/regex_internal.c:1181: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 (dest->elems + id, src2->elems + i2,
data/libdap-3.20.6/gl/regex_internal.c:1212: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 (dest->elems, src->elems, src->nelem * sizeof (Idx));
data/libdap-3.20.6/gl/regex_internal.c:1233: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 (dest->elems + sbase, src->elems, (is + 1) * sizeof (Idx));
data/libdap-3.20.6/gl/regex_internal.c:1261:8:  [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 (dest->elems, dest->elems + sbase,
data/libdap-3.20.6/gl/regex_internal.h:800: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 (dest, src, sizeof (bitset_t));
data/libdap-3.20.6/gl/regexec.c:374: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 (__mempcpy (s, string1, length1), string2, length2);
data/libdap-3.20.6/gl/regexec.c:376: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 (s, string1, length1);
data/libdap-3.20.6/gl/regexec.c:377: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 (s + length1, string2, length2);
data/libdap-3.20.6/gl/regexec.c:1383: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 (fs->stack[num].regs, regs, sizeof (regmatch_t) * nregs);
data/libdap-3.20.6/gl/regexec.c:1396: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 (regs, fs->stack[num].regs, sizeof (regmatch_t) * nregs);
data/libdap-3.20.6/gl/regexec.c:1450: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 (prev_idx_match, pmatch, sizeof (regmatch_t) * nmatch);
data/libdap-3.20.6/gl/regexec.c:1560:8:  [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 (prev_idx_match, pmatch, sizeof (regmatch_t) * nmatch);
data/libdap-3.20.6/gl/regexec.c:1571: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 (pmatch, prev_idx_match, sizeof (regmatch_t) * nmatch);
data/libdap-3.20.6/gl/stat-w32.c:192: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 (&buf->st_ino, &id.FileId, sizeof (ino_t));
data/libdap-3.20.6/gl/stat-w32.c:245:15:  [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 fpath[PATH_MAX];
data/libdap-3.20.6/gl/stat.c:166: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 (malloca_rname, name, rlen);
data/libdap-3.20.6/gl/stdlib.in.h:398:12:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
#   define mkstemp rpl_mkstemp
data/libdap-3.20.6/gl/stdlib.in.h:400:19:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_FUNCDECL_RPL (mkstemp, int, (char * /*template*/) _GL_ARG_NONNULL ((1)));
data/libdap-3.20.6/gl/stdlib.in.h:401:19:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_CXXALIAS_RPL (mkstemp, int, (char * /*template*/));
data/libdap-3.20.6/gl/stdlib.in.h:404:19:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_FUNCDECL_SYS (mkstemp, int, (char * /*template*/) _GL_ARG_NONNULL ((1)));
data/libdap-3.20.6/gl/stdlib.in.h:406:19:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_CXXALIAS_SYS (mkstemp, int, (char * /*template*/));
data/libdap-3.20.6/gl/stdlib.in.h:408:19:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_CXXALIASWARN (mkstemp);
data/libdap-3.20.6/gl/stdlib.in.h:410:9:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
# undef mkstemp
data/libdap-3.20.6/gl/stdlib.in.h:412:18:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_WARN_ON_USE (mkstemp, "mkstemp is unportable - "
data/libdap-3.20.6/gl/sys_stat.in.h:788:44:  [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.
_GL_FUNCDECL_RPL (utimensat, int, (int fd, char const *name,
data/libdap-3.20.6/gl/sys_stat.in.h:791:44:  [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.
_GL_CXXALIAS_RPL (utimensat, int, (int fd, char const *name,
data/libdap-3.20.6/gl/sys_stat.in.h:795:44:  [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.
_GL_FUNCDECL_SYS (utimensat, int, (int fd, char const *name,
data/libdap-3.20.6/gl/sys_stat.in.h:799:44:  [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.
_GL_CXXALIAS_SYS (utimensat, int, (int fd, char const *name,
data/libdap-3.20.6/gl/tempname.c:70:17:  [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/libdap-3.20.6/gl/tempname.c:170:3:  [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 (tmpl, "%.*s/%.*sXXXXXX", (int) dlen, dir, (int) plen, pfx);
data/libdap-3.20.6/lex.Error.cc:980:27:  [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 msg[256];
data/libdap-3.20.6/lex.Error.cc:1991: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).
    Errorlval.integer = atoi(Errortext);
data/libdap-3.20.6/lex.ce_expr.cc:1052:19:  [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 msg[256];
data/libdap-3.20.6/lex.ce_expr.cc:1053:19:  [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(msg, "Unterminated quote\n");
data/libdap-3.20.6/lex.das.cc:1161:27:  [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 msg[256];
data/libdap-3.20.6/lex.das.cc:1162:27:  [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(msg,
data/libdap-3.20.6/mime_util.cc:162: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 d[256];
data/libdap-3.20.6/mime_util.cc:225: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 TimStr[TimLen];
data/libdap-3.20.6/mime_util.cc:842: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[line_length];
data/libdap-3.20.6/mime_util.cc:876: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 line[line_length];
data/libdap-3.20.6/mime_util.cc:893: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 raw_line[line_length];
data/libdap-3.20.6/mime_util.cc:1188: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 tmp[256];
data/libdap-3.20.6/mime_util.cc:1214: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 tmp[256];
data/libdap-3.20.6/tests/dmr-test.cc:237: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 chunk[chunk_size];
data/libdap-3.20.6/tests/expr-test.cc:383: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 c[256];
data/libdap-3.20.6/tests/expr-test.cc:450: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[256];
data/libdap-3.20.6/tests/expr-test.cc:488: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 c[256];
data/libdap-3.20.6/tests/expr-test.cc:521:16:  [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 *fp = fopen("expr-test-data.bin", "r");
data/libdap-3.20.6/tests/expr-test.cc:555: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 c[256];
data/libdap-3.20.6/unit-tests/ArrayTest.cc:58: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 a[1024];
data/libdap-3.20.6/unit-tests/AttrTableTest.cc:71: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 a[1024];    
data/libdap-3.20.6/unit-tests/AttrTableTest.cc:462: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).
        fp = fopen("AttrTableTest_print_simple.output", "w");
data/libdap-3.20.6/unit-tests/ByteTest.cc:77: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 a[1024];    
data/libdap-3.20.6/unit-tests/ByteTest.cc:215:29:  [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).
        CPPUNIT_ASSERT(fp = fopen("ByteTest.output", "w"));
data/libdap-3.20.6/unit-tests/ByteTest.cc:312:29:  [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).
        CPPUNIT_ASSERT(fp = fopen("ByteTest_BaseType_print.output", "w"));
data/libdap-3.20.6/unit-tests/ByteTest.cc:326:29:  [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).
        CPPUNIT_ASSERT(fp = fopen("ByteTest_BaseType_print_xml.output", "w"));
data/libdap-3.20.6/unit-tests/ByteTest.cc:358:29:  [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).
        CPPUNIT_ASSERT(fp = fopen("ByteTest_BaseType_print_decl.output", "w"));
data/libdap-3.20.6/unit-tests/D4MarshallerTest.cc:87: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).
        in.open(file.c_str(), fstream::binary | fstream::in);
data/libdap-3.20.6/unit-tests/D4MarshallerTest.cc:113: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).
        out.open(file.c_str(), fstream::binary | fstream::out);
data/libdap-3.20.6/unit-tests/D4MarshallerTest.cc:133: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[16] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 };
data/libdap-3.20.6/unit-tests/D4UnMarshallerTest.cc:121: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).
            in.open(file.c_str(), fstream::binary | fstream::in);
data/libdap-3.20.6/unit-tests/D4UnMarshallerTest.cc:197: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).
            in.open(file.c_str(), fstream::binary | fstream::in);
data/libdap-3.20.6/unit-tests/D4UnMarshallerTest.cc:232: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).
            in.open(file.c_str(), fstream::binary | fstream::in);
data/libdap-3.20.6/unit-tests/D4UnMarshallerTest.cc:267: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).
            in.open(file.c_str(), fstream::binary | fstream::in);
data/libdap-3.20.6/unit-tests/D4UnMarshallerTest.cc:300: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).
            in.open(file.c_str(), fstream::binary | fstream::in);
data/libdap-3.20.6/unit-tests/DDXParserTest.cc:191:18:  [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).
            in = fopen(name.c_str(), "r");
data/libdap-3.20.6/unit-tests/DDXParserTest.cc:339:18:  [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).
            in = fopen(((string) TEST_SRC_DIR + "/ddx-testsuite/test.04.ddx").c_str(), "r");
data/libdap-3.20.6/unit-tests/DDXParserTest.cc:466:18:  [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).
            in = fopen((string(TEST_SRC_DIR) + "/ddx-testsuite/test.09.ddx").c_str(), "r");
data/libdap-3.20.6/unit-tests/DDXParserTest.cc:542: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).
            FILE *in = fopen(file_name.c_str(), "r");
data/libdap-3.20.6/unit-tests/DDXParserTest.cc:632: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).
            FILE *in = fopen(file_name.c_str(), "r");
data/libdap-3.20.6/unit-tests/DDXParserTest.cc:646: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).
            FILE *in = fopen(file_name.c_str(), "r");
data/libdap-3.20.6/unit-tests/Float32Test.cc:76: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 a[1024];
data/libdap-3.20.6/unit-tests/Float32Test.cc:240:29:  [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).
        CPPUNIT_ASSERT(fp = fopen("Float32Test.output", "w"));
data/libdap-3.20.6/unit-tests/Float64Test.cc:76: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 a[1024];
data/libdap-3.20.6/unit-tests/Float64Test.cc:240:29:  [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).
        CPPUNIT_ASSERT(fp = fopen("Float64Test.output", "w"));
data/libdap-3.20.6/unit-tests/HTTPConnectTest.cc:180:26:  [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 *dump = fopen("/dev/null", "w");
data/libdap-3.20.6/unit-tests/HTTPConnectTest.cc:306: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.
            DBG2(char ln[1024]; while (!feof(stuff->get_stream())) {
data/libdap-3.20.6/unit-tests/HTTPConnectTest.cc:722:22:  [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 *dump = fopen("/dev/null", "w");
data/libdap-3.20.6/unit-tests/HTTPConnectTest.cc:736:22:  [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 *dump = fopen("/dev/null", "w");
data/libdap-3.20.6/unit-tests/Int16Test.cc:76: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 a[1024];
data/libdap-3.20.6/unit-tests/Int16Test.cc:240:29:  [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).
        CPPUNIT_ASSERT(fp = fopen("Int16Test.output", "w"));
data/libdap-3.20.6/unit-tests/Int32Test.cc:76: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 a[1024];
data/libdap-3.20.6/unit-tests/Int32Test.cc:240:29:  [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).
        CPPUNIT_ASSERT(fp = fopen("Int32Test.output", "w"));
data/libdap-3.20.6/unit-tests/Int64Test.cc:76: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 a[1024];
data/libdap-3.20.6/unit-tests/Int8Test.cc:76: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 a[1024];
data/libdap-3.20.6/unit-tests/MIMEUtilTest.cc:186:20:  [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 *in = fopen(test_file.c_str(), "r");
data/libdap-3.20.6/unit-tests/MIMEUtilTest.cc:205:20:  [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 *in = fopen(test_file.c_str(), "r");
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:274:23:  [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 *f = fopen("st_test.file", "w");
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:296: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).
            FILE *ff = fopen("st_test.file", "r");
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:346:23:  [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 *f = fopen("a_test.file", "w");
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:360: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).
            FILE *ff = fopen("a_test.file", "r");
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:384:23:  [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 *f = fopen("struct_test.file", "w");
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:398: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).
            FILE *ff = fopen("struct_test.file", "r");
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:445:23:  [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 *f = fopen("g_test.file", "w");
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:477: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).
            FILE *ff = fopen("g_test.file", "r");
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:514:23:  [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 *f = fopen("seq_test.file", "w");
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:541: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).
            FILE *ff = fopen("seq_test.file", "r");
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:635: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).
            FILE *sf = fopen("st_test.strm", "r");
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:702: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).
            FILE *sf = fopen("a_test.strm", "r");
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:869: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).
            FILE *sf = fopen("a_f32_test.file", "r");
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:959: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).
            FILE *sf = fopen("a_f64_test.file", "r");
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:1048: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).
            FILE *sf = fopen("struct_test.strm", "r");
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:1129: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).
            FILE *sf = fopen("g_test.strm", "r");
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:1194: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).
            FILE *sf = fopen("seq_test.strm", "r");
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:1321: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).
            FILE *sf = fopen("a_test_pv_2.file", "r");
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:1467: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).
            FILE *sf = fopen("a_f32_test_pv_2.file", "r");
data/libdap-3.20.6/unit-tests/RCReaderTest.cc:56:8:  [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 char dods_conf_ev[1024] = "";
data/libdap-3.20.6/unit-tests/RCReaderTest.cc:138: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[1024];
data/libdap-3.20.6/unit-tests/RCReaderTest.cc:155: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[1024];
data/libdap-3.20.6/unit-tests/RCReaderTest.cc:187: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[1024];
data/libdap-3.20.6/unit-tests/UInt16Test.cc:76: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 a[1024];
data/libdap-3.20.6/unit-tests/UInt16Test.cc:240:29:  [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).
        CPPUNIT_ASSERT(fp = fopen("UInt16Test.output", "w"));
data/libdap-3.20.6/unit-tests/UInt32Test.cc:76: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 a[1024];
data/libdap-3.20.6/unit-tests/UInt32Test.cc:240:29:  [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).
        CPPUNIT_ASSERT(fp = fopen("UInt32Test.output", "w"));
data/libdap-3.20.6/unit-tests/UInt64Test.cc:76: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 a[1024];
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:130: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[128];
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc: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 str[24];
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:244: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[128];
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:282: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 str[24];
data/libdap-3.20.6/unit-tests/dasT.cc:179: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).
        fp = fopen(file.c_str(), "r");
data/libdap-3.20.6/unit-tests/dasT.cc:192: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).
        fp = open(file.c_str(), O_RDONLY);
data/libdap-3.20.6/unit-tests/ddsT.cc:115: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 a[1024];    
data/libdap-3.20.6/unit-tests/ddsT.cc:392:18:  [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).
            fp = fopen("ddsT_print.output", "w");
data/libdap-3.20.6/unit-tests/ddsT.cc:404:18:  [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).
            fp = fopen("ddsT_print_constrained.output", "w");
data/libdap-3.20.6/unit-tests/ddsT.cc:422:18:  [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).
            fp = fopen("ddsT_print_xml.output", "w");
data/libdap-3.20.6/unit-tests/ddsT.cc:705: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).
        int fp = open(file.c_str(), O_RDONLY);
data/libdap-3.20.6/unit-tests/generalUtilTest.cc:271: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 A_200_177[4] = { (char) 128, 127, 'A', '\0' };
data/libdap-3.20.6/unit-tests/marshT.cc:185:19:  [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 *f = fopen("test.file", "w");
data/libdap-3.20.6/unit-tests/marshT.cc:357:19:  [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 *f = fopen("test.file", "w");
data/libdap-3.20.6/unit-tests/marshT.cc:367:20:  [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 *ff = fopen("test.file", "r");
data/libdap-3.20.6/unit-tests/marshT.cc:389:20:  [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 *sf = fopen("test.strm", "r");
data/libdap-3.20.6/unit-tests/testFile.cc:17: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).
    is.open (fn.c_str(), ios::binary );
data/libdap-3.20.6/unit-tests/testFile.h:13:21:  [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 *(f) = fopen("testout", "w");\
data/libdap-3.20.6/util.cc:1073: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 bitlist[BITLISTSIZE];
data/libdap-3.20.6/util.cc:1221:7:  [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).
    f.open(&name[0]);
data/libdap-3.20.6/util.cc:1223:11:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    close(tmpfile);
data/libdap-3.20.6/util_mit.cc:59: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.
static const char * months[12] =
data/libdap-3.20.6/util_mit.cc:65: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.
static const char * wkdays[7] =
data/libdap-3.20.6/util_mit.cc:201:39:  [2] (integer) atol:
  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).
            t = expand ? time(NULL) + atol(str) : atol(str);
data/libdap-3.20.6/util_mit.cc:201:51:  [2] (integer) atol:
  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).
            t = expand ? time(NULL) + atol(str) : atol(str);
data/libdap-3.20.6/util_mit.cc:283: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[40];
data/libdap-3.20.6/BaseType.cc:899:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
BaseType::read()
data/libdap-3.20.6/BaseType.cc:915:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();          // read() throws Error and InternalErr
data/libdap-3.20.6/BaseType.cc:930:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();          // read() throws Error and InternalErr
data/libdap-3.20.6/BaseType.h:287:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read();
data/libdap-3.20.6/Byte.cc:145:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();          // read() throws Error and InternalErr
data/libdap-3.20.6/Byte.cc:185:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();          // read() throws Error
data/libdap-3.20.6/Byte.cc:270:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!read_p() && !read()) {
data/libdap-3.20.6/Byte.cc:279:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!b || !(b->read_p() || b->read())) {
data/libdap-3.20.6/Connect.cc:1019:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int c = getc(rs->get_stream());
data/libdap-3.20.6/Connect.cc:1021:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = getc(rs->get_stream());
data/libdap-3.20.6/Constructor.cc:476:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool Constructor::read()
data/libdap-3.20.6/Constructor.cc:481:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            (*i)->read();
data/libdap-3.20.6/Constructor.cc:494:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();          // read() throws Error and InternalErr
data/libdap-3.20.6/Constructor.cc:510:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();  // read() throws Error and InternalErr
data/libdap-3.20.6/Constructor.cc:592:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();  // read() throws Error
data/libdap-3.20.6/Constructor.h:101:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read();
data/libdap-3.20.6/D4Connect.cc:173:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            cis.read(chunk, chunk_size);
data/libdap-3.20.6/D4Connect.cc:422:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            cis.read(chunk, chunk_size);
data/libdap-3.20.6/D4Enum.cc:402:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();          // read() throws Error
data/libdap-3.20.6/D4Enum.cc:650:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!read_p() && !read())
data/libdap-3.20.6/D4Enum.cc:654:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!b->read_p() && !b->read())
data/libdap-3.20.6/D4FilterClause.cc:156:7:  [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.
	case equal:
data/libdap-3.20.6/D4FilterClause.cc:187:10:  [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.
    case equal:
data/libdap-3.20.6/D4Group.cc:518:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();  // read() throws Error
data/libdap-3.20.6/D4Opaque.cc:85:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();          // read() throws Error
data/libdap-3.20.6/D4ParserSax2.cc:1343:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    f.read(d_parse_buffer, D4_PARSE_BUFF_SIZE);
data/libdap-3.20.6/D4ParserSax2.cc:1353:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        f.read(d_parse_buffer, D4_PARSE_BUFF_SIZE);
data/libdap-3.20.6/D4RValue.cc:274:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		d_variable->read();
data/libdap-3.20.6/D4RValue.cc:304:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        d_variable->read();
data/libdap-3.20.6/D4Sequence.cc:237:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        eof = read();
data/libdap-3.20.6/D4StreamUnMarshaller.cc:104:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(reinterpret_cast<char*>(&c), sizeof(Crc32::checksum));
data/libdap-3.20.6/D4StreamUnMarshaller.cc:121:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(reinterpret_cast<char*>(&val), sizeof(dods_byte));
data/libdap-3.20.6/D4StreamUnMarshaller.cc:127:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(reinterpret_cast<char*>(&val), sizeof(dods_int8));
data/libdap-3.20.6/D4StreamUnMarshaller.cc:133:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(reinterpret_cast<char*>(&val), sizeof(dods_int16));
data/libdap-3.20.6/D4StreamUnMarshaller.cc:141:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(reinterpret_cast<char*>(&val), sizeof(dods_int32));
data/libdap-3.20.6/D4StreamUnMarshaller.cc:149:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(reinterpret_cast<char*>(&val), sizeof(dods_int64));
data/libdap-3.20.6/D4StreamUnMarshaller.cc:160:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(reinterpret_cast<char*>(&val), sizeof(dods_float32));
data/libdap-3.20.6/D4StreamUnMarshaller.cc:168:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        d_in.read(reinterpret_cast<char*>(&val), sizeof(dods_float32));
data/libdap-3.20.6/D4StreamUnMarshaller.cc:177:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        d_in.read(d_buf, sizeof(dods_float32));
data/libdap-3.20.6/D4StreamUnMarshaller.cc:191:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(reinterpret_cast<char*>(&val), sizeof(dods_float64));
data/libdap-3.20.6/D4StreamUnMarshaller.cc:199:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        d_in.read(reinterpret_cast<char*>(&val), sizeof(dods_float64));
data/libdap-3.20.6/D4StreamUnMarshaller.cc:207:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        d_in.read(d_buf, sizeof(dods_float64));
data/libdap-3.20.6/D4StreamUnMarshaller.cc:218:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(reinterpret_cast<char*>(&val), sizeof(dods_uint16));
data/libdap-3.20.6/D4StreamUnMarshaller.cc:226:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(reinterpret_cast<char*>(&val), sizeof(dods_uint32));
data/libdap-3.20.6/D4StreamUnMarshaller.cc:234:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(reinterpret_cast<char*>(&val), sizeof(dods_uint64));
data/libdap-3.20.6/D4StreamUnMarshaller.cc:243:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(reinterpret_cast<char*>(&len), sizeof(int64_t));
data/libdap-3.20.6/D4StreamUnMarshaller.cc:246:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(&val[0], len);
data/libdap-3.20.6/D4StreamUnMarshaller.cc:267:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	d_in.read(reinterpret_cast<char*>(&count), sizeof(count));
data/libdap-3.20.6/D4StreamUnMarshaller.cc:282:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	d_in.read(reinterpret_cast<char*>(&len), sizeof(len));
data/libdap-3.20.6/D4StreamUnMarshaller.cc:285:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(*val, len);
data/libdap-3.20.6/D4StreamUnMarshaller.cc:293:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	d_in.read(reinterpret_cast<char*>(&len), sizeof(len));
data/libdap-3.20.6/D4StreamUnMarshaller.cc:296:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(reinterpret_cast<char*>(&val[0]), len);
data/libdap-3.20.6/D4StreamUnMarshaller.cc:302:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(val, bytes);
data/libdap-3.20.6/D4StreamUnMarshaller.cc:315:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        d_in.read(&buf[0], size);
data/libdap-3.20.6/D4StreamUnMarshaller.cc:397:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(val, bytes);
data/libdap-3.20.6/D4StreamUnMarshaller.cc:414:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(val, bytes);
data/libdap-3.20.6/D4StreamUnMarshaller.cc:428:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        d_in.read(val, num * width);
data/libdap-3.20.6/D4StreamUnMarshaller.cc:446:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(val, bytes);
data/libdap-3.20.6/D4StreamUnMarshaller.cc:460:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        d_in.read(val, num * width);
data/libdap-3.20.6/DDXParserSAX2.cc:1065:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    in.read(chars, 4);
data/libdap-3.20.6/DDXParserSAX2.cc:1170: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).
            DBG(cerr << "line (" << strlen(chars) << "): " << chars << endl);
data/libdap-3.20.6/DDXParserSAX2.cc:1171: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).
            xmlParseChunk(ctxt, chars, strlen(chars), 0);
data/libdap-3.20.6/DODSFilter.cc:906:44:  [1] (buffer) strlen:
  Does not handle 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 (getdomainname(domain, 255) != 0 || strlen(domain) == 0)
data/libdap-3.20.6/DODSFilter.cc:907:2:  [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(domain, "opendap.org", 255);
data/libdap-3.20.6/Error.tab.cc:769: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).
#   define yystrlen strlen
data/libdap-3.20.6/Float32.cc:135:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();  // read() throws Error and InternalErr
data/libdap-3.20.6/Float32.cc:173:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();          // read() throws Error
data/libdap-3.20.6/Float32.cc:263:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!read_p() && !read()) {
data/libdap-3.20.6/Float32.cc:272:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!b || !(b->read_p() || b->read())) {
data/libdap-3.20.6/Float64.cc:134:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();  // read() throws Error and InternalErr
data/libdap-3.20.6/Float64.cc:172:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();          // read() throws Error
data/libdap-3.20.6/Float64.cc:264:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!read_p() && !read()) {
data/libdap-3.20.6/Float64.cc:274:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!b || !(b->read_p() || b->read())) {
data/libdap-3.20.6/HTTPCache.cc:559:19:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    mode_t mask = umask(0);
data/libdap-3.20.6/HTTPCache.cc:564:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        umask(mask);
data/libdap-3.20.6/HTTPCache.cc:569:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(mask);
data/libdap-3.20.6/HTTPCache.cc:1033:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        line[min(1024, static_cast<int>(strlen(line)))-1] = '\0'; // erase newline
data/libdap-3.20.6/HTTPCacheMacros.h:35:18:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
#define UMASK(a) umask((a))
data/libdap-3.20.6/HTTPCacheTable.cc:475:19:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    mode_t mask = umask(0);
data/libdap-3.20.6/HTTPCacheTable.cc:480:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        umask(mask);
data/libdap-3.20.6/HTTPCacheTable.cc:485:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(mask);
data/libdap-3.20.6/HTTPCacheTable.cc:517:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(&templat[0], hash_dir.c_str(), hash_dir.size() + 1);
data/libdap-3.20.6/HTTPCacheTable.cc:525:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(077);
data/libdap-3.20.6/HTTPConnect.cc:785:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(&pathname[0], dods_temp.c_str(), dods_temp.length());
data/libdap-3.20.6/HTTPConnect.cc:794:16:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    int mask = umask(077);
data/libdap-3.20.6/HTTPConnect.cc:802:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(mask);
data/libdap-3.20.6/Int16.cc:129:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();  // read() throws Error and InternalErr
data/libdap-3.20.6/Int16.cc:167:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();          // read() throws Error
data/libdap-3.20.6/Int16.cc:249:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!read_p() && !read()) {
data/libdap-3.20.6/Int16.cc:259:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!b || !(b->read_p() || b->read())) {
data/libdap-3.20.6/Int32.cc:140:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();  // read() throws Error and InternalErr
data/libdap-3.20.6/Int32.cc:178:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();          // read() throws Error
data/libdap-3.20.6/Int32.cc:257:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!read_p() && !read()) {
data/libdap-3.20.6/Int32.cc:267:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!b || !(b->read_p() || b->read())) {
data/libdap-3.20.6/Int64.cc:158:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();          // read() throws Error
data/libdap-3.20.6/Int64.cc:198:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!read_p() && !read())
data/libdap-3.20.6/Int64.cc:202:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!b || !(b->read_p() || b->read())) 
data/libdap-3.20.6/Int8.cc:134:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();          // read() throws Error
data/libdap-3.20.6/Int8.cc:174:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!read_p() && !read())
data/libdap-3.20.6/Int8.cc:178:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!b || !(b->read_p() || b->read())) 
data/libdap-3.20.6/RCReader.cc:348:16:  [1] (buffer) strlen:
  Does not handle 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 (!ev || strlen(ev) == 0) return "";
data/libdap-3.20.6/Sequence.cc:513:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            eof = read();
data/libdap-3.20.6/Str.cc:143:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();
data/libdap-3.20.6/Str.cc:185:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();          // read() throws Error
data/libdap-3.20.6/Str.cc:292:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!read_p() && !read()) {
data/libdap-3.20.6/Str.cc:302:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!b || !(b->read_p() || b->read())) {
data/libdap-3.20.6/Structure.cc:407:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool Structure::read()
data/libdap-3.20.6/Structure.cc:411:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            (*i)->read();
data/libdap-3.20.6/Structure.cc:465:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();          // read() throws Error and InternalErr
data/libdap-3.20.6/Structure.cc:482:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();  // read() throws Error and InternalErr
data/libdap-3.20.6/UInt16.cc:129:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();  // read() throws Error and InternalErr
data/libdap-3.20.6/UInt16.cc:167:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();          // read() throws Error
data/libdap-3.20.6/UInt16.cc:248:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!read_p() && !read()) {
data/libdap-3.20.6/UInt16.cc:258:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!b || !(b->read_p() || b->read())) {
data/libdap-3.20.6/UInt32.cc:130:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();  // read() throws Error and InternalErr
data/libdap-3.20.6/UInt32.cc:168:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();          // read() throws Error
data/libdap-3.20.6/UInt32.cc:250:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!read_p() && !read()) {
data/libdap-3.20.6/UInt32.cc:260:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!b || !(b->read_p() || b->read())) {
data/libdap-3.20.6/UInt64.cc:132:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read();          // read() throws Error
data/libdap-3.20.6/UInt64.cc:173:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!read_p() && !read())
data/libdap-3.20.6/UInt64.cc:177:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!b || !(b->read_p() || b->read()))
data/libdap-3.20.6/Vector.cc:601:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read(); // read() throws Error and InternalErr
data/libdap-3.20.6/Vector.cc:671:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read(); // read() throws Error and InternalErr
data/libdap-3.20.6/Vector.cc:903:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read(); // read() throws Error and InternalErr
data/libdap-3.20.6/Vector.cc:951:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read(); // read() throws Error and InternalErr
data/libdap-3.20.6/XDRStreamUnMarshaller.cc:93:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!(d_in.read(d_buf, 4))) {
data/libdap-3.20.6/XDRStreamUnMarshaller.cc:118:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(d_buf, 4);
data/libdap-3.20.6/XDRStreamUnMarshaller.cc:127:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(d_buf, 4);
data/libdap-3.20.6/XDRStreamUnMarshaller.cc:136:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(d_buf, 4);
data/libdap-3.20.6/XDRStreamUnMarshaller.cc:145:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(d_buf, 8);
data/libdap-3.20.6/XDRStreamUnMarshaller.cc:154:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(d_buf, 4);
data/libdap-3.20.6/XDRStreamUnMarshaller.cc:163:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(d_buf, 4);
data/libdap-3.20.6/XDRStreamUnMarshaller.cc:195:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        d_in.read(&buf[0] + 4, i);
data/libdap-3.20.6/XDRStreamUnMarshaller.cc:206:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        d_in.read(d_buf + 4, i);
data/libdap-3.20.6/XDRStreamUnMarshaller.cc:233:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(d_buf, len);
data/libdap-3.20.6/XDRStreamUnMarshaller.cc:241:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d_in.read(d_buf, 4);
data/libdap-3.20.6/XDRStreamUnMarshaller.cc:268:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        d_in.read(&buf[0] + 4, i);
data/libdap-3.20.6/XDRStreamUnMarshaller.cc:280:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        d_in.read(d_buf + 4, i);
data/libdap-3.20.6/XDRStreamUnMarshaller.cc:313:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        d_in.read(&buf[0] + 4, size); // +4 for the int already read
data/libdap-3.20.6/XDRStreamUnMarshaller.cc:325:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        d_in.read(d_buf + 4, size);
data/libdap-3.20.6/ce_expr.tab.cc:1008: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).
#   define yystrlen strlen
data/libdap-3.20.6/ce_expr.tab.cc:2094:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy((yyval.id), (yyvsp[-1].id), ID_MAX-1);
data/libdap-3.20.6/ce_expr.tab.cc:2104:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy((yyval.id), name.c_str(), ID_MAX-1);
data/libdap-3.20.6/ce_expr.tab.cc:2117:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy((yyval.id), name.c_str(), ID_MAX-1);
data/libdap-3.20.6/ce_expr.tab.cc:2126:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy((yyval.id), www2id((yyvsp[0].id)).c_str(), ID_MAX-1);
data/libdap-3.20.6/ce_expr.tab.cc:2138:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy((yyval.id), www2id(*((yyvsp[0].str))).c_str(), ID_MAX-1);
data/libdap-3.20.6/chunked_istream.cc:98:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	d_is.read((char *) &header, 4);
data/libdap-3.20.6/chunked_istream.cc:135:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	d_is.read(d_buffer, chunk_size);
data/libdap-3.20.6/chunked_istream.cc:220:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        d_is.read((char *) &header, 4);
data/libdap-3.20.6/chunked_istream.cc:253:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			d_is.read(&message[0], chunk_size);
data/libdap-3.20.6/chunked_istream.cc:265:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			d_is.read(s, bytes_left_to_read);
data/libdap-3.20.6/chunked_istream.cc:276:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			d_is.read(d_buffer, bytes_leftover);
data/libdap-3.20.6/chunked_istream.cc:294:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				d_is.read(s, chunk_size);
data/libdap-3.20.6/chunked_istream.cc:346:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	d_is.read((char *) &header, 4);
data/libdap-3.20.6/chunked_istream.cc:383:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	d_is.read(d_buffer, chunk_size);
data/libdap-3.20.6/d4_ce/D4ConstraintEvaluator.cc:369:32:  [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 D4FilterClause::equal;
data/libdap-3.20.6/das.tab.cc:906: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).
#   define yystrlen strlen
data/libdap-3.20.6/dds.tab.cc:896: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).
#   define yystrlen strlen
data/libdap-3.20.6/dds.tab.cc:1464:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy((yyval.word),(yyvsp[-1].word),ID_MAX);
data/libdap-3.20.6/dds.tab.cc:1492:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy((yyval.word),(yyvsp[-1].word),ID_MAX);
data/libdap-3.20.6/dds.tab.cc:1520:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy((yyval.word),(yyvsp[-1].word),ID_MAX);
data/libdap-3.20.6/dds.tab.cc:1581:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy((yyval.word),(yyvsp[-1].word),ID_MAX);
data/libdap-3.20.6/gl/gettext.h:216: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).
  size_t msgctxt_len = strlen (msgctxt) + 1;
data/libdap-3.20.6/gl/gettext.h:217: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_t msgid_len = strlen (msgid) + 1;
data/libdap-3.20.6/gl/gettext.h:264: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).
  size_t msgctxt_len = strlen (msgctxt) + 1;
data/libdap-3.20.6/gl/gettext.h:265: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_t msgid_len = strlen (msgid) + 1;
data/libdap-3.20.6/gl/localcharset.c:105:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# undef getc
data/libdap-3.20.6/gl/localcharset.c:106:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define getc getc_unlocked
data/libdap-3.20.6/gl/localcharset.c:146: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 dir_len = strlen (dir);
data/libdap-3.20.6/gl/localcharset.c:147: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 base_len = strlen (base);
data/libdap-3.20.6/gl/localcharset.c:205:27:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                      c = getc (fp);
data/libdap-3.20.6/gl/localcharset.c:214:33:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                            c = getc (fp);
data/libdap-3.20.6/gl/localcharset.c:221:27:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                      if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
data/libdap-3.20.6/gl/localcharset.c:223: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).
                      l1 = strlen (buf1);
data/libdap-3.20.6/gl/localcharset.c:224: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).
                      l2 = strlen (buf2);
data/libdap-3.20.6/gl/localcharset.c:514: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).
  if (pdot && 2 + strlen (pdot + 1) + 1 <= sizeof (buf))
data/libdap-3.20.6/gl/localcharset.c:595: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).
       aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1)
data/libdap-3.20.6/gl/localcharset.c:595: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).
       aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1)
data/libdap-3.20.6/gl/localcharset.c:599: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).
        codeset = aliases + strlen (aliases) + 1;
data/libdap-3.20.6/gl/lstat.c:80: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).
  len = strlen (file);
data/libdap-3.20.6/gl/nl_langinfo.c:73:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  codesetlen = strlen (codeset);
data/libdap-3.20.6/gl/regcomp.c:497: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).
  ret = re_compile_internal (preg, pattern, strlen (pattern), syntax);
data/libdap-3.20.6/gl/regcomp.c:543: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).
  msg_size = strlen (msg) + 1; /* Includes the null.  */
data/libdap-3.20.6/gl/regcomp.c:714: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).
  ret = re_compile_internal (&re_comp_buf, s, strlen (s), re_syntax_options);
data/libdap-3.20.6/gl/regcomp.c:782:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (dfa->re_str, pattern, length + 1);
data/libdap-3.20.6/gl/regcomp.c:2734:8:  [1] (buffer) strlen:
  Does not handle 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 ((char *) start_elem->opr.name) > 1)
data/libdap-3.20.6/gl/regcomp.c:2736:11:  [1] (buffer) strlen:
  Does not handle 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 ((char *) end_elem->opr.name) > 1), 0))
data/libdap-3.20.6/gl/regcomp.c:2843: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 name_len = strlen ((const char *) name);
data/libdap-3.20.6/gl/regcomp.c:2924: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 sym_name_len = strlen ((char *) br_elem->opr.name);
data/libdap-3.20.6/gl/regcomp.c:3055: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).
      size_t name_len = strlen ((const char *) name);
data/libdap-3.20.6/gl/regcomp.c:3573: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).
      if (BE (strlen ((const char *) name) != 1, 0))
data/libdap-3.20.6/gl/regexec.c:240:16:  [1] (buffer) strlen:
  Does not handle 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 (string);
data/libdap-3.20.6/gl/stat.c:120:16:  [1] (buffer) strlen:
  Does not handle 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 len = strlen (name);
data/libdap-3.20.6/gl/stat.c:413: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).
      size_t len = strlen (name);
data/libdap-3.20.6/gl/tempname.c:131: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).
      plen = strlen (pfx);
data/libdap-3.20.6/gl/tempname.c:159:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  dlen = strlen (dir);
data/libdap-3.20.6/gl/tempname.c:207: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).
  len = strlen (tmpl);
data/libdap-3.20.6/gl/unistd.in.h:1249:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   undef read
data/libdap-3.20.6/gl/unistd.in.h:1250:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   define read rpl_read
data/libdap-3.20.6/gl/unistd.in.h:1252:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_FUNCDECL_RPL (read, ssize_t, (int fd, void *buf, size_t count)
data/libdap-3.20.6/gl/unistd.in.h:1254:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_RPL (read, ssize_t, (int fd, void *buf, size_t count));
data/libdap-3.20.6/gl/unistd.in.h:1259:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_SYS_CAST (read, ssize_t, (int fd, void *buf, size_t count));
data/libdap-3.20.6/gl/unistd.in.h:1261:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIASWARN (read);
data/libdap-3.20.6/gl/unistd.in.h:1574:11:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
#   undef usleep
data/libdap-3.20.6/gl/unistd.in.h:1575:12:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
#   define usleep rpl_usleep
data/libdap-3.20.6/gl/unistd.in.h:1577:19:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_FUNCDECL_RPL (usleep, int, (useconds_t n));
data/libdap-3.20.6/gl/unistd.in.h:1578:19:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_CXXALIAS_RPL (usleep, int, (useconds_t n));
data/libdap-3.20.6/gl/unistd.in.h:1581:19:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_FUNCDECL_SYS (usleep, int, (useconds_t n));
data/libdap-3.20.6/gl/unistd.in.h:1583:19:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_CXXALIAS_SYS (usleep, int, (useconds_t n));
data/libdap-3.20.6/gl/unistd.in.h:1585:19:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_CXXALIASWARN (usleep);
data/libdap-3.20.6/gl/unistd.in.h:1587:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
# undef usleep
data/libdap-3.20.6/gl/unistd.in.h:1589:18:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_WARN_ON_USE (usleep, "usleep is unportable - "
data/libdap-3.20.6/gl/wchar.in.h:579:19:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
_GL_FUNCDECL_SYS (wcslen, size_t, (const wchar_t *s) _GL_ATTRIBUTE_PURE);
data/libdap-3.20.6/gl/wchar.in.h:581:19:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
_GL_CXXALIAS_SYS (wcslen, size_t, (const wchar_t *s));
data/libdap-3.20.6/gl/wchar.in.h:582:19:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
_GL_CXXALIASWARN (wcslen);
data/libdap-3.20.6/gl/wchar.in.h:584:9:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
# undef wcslen
data/libdap-3.20.6/gl/wchar.in.h:586:18:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
_GL_WARN_ON_USE (wcslen, "wcslen is unportable - "
data/libdap-3.20.6/gl/wchar.in.h:644:19:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
_GL_FUNCDECL_SYS (wcsncpy, wchar_t *,
data/libdap-3.20.6/gl/wchar.in.h:647:19:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
_GL_CXXALIAS_SYS (wcsncpy, wchar_t *,
data/libdap-3.20.6/gl/wchar.in.h:649:19:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
_GL_CXXALIASWARN (wcsncpy);
data/libdap-3.20.6/gl/wchar.in.h:651:9:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
# undef wcsncpy
data/libdap-3.20.6/gl/wchar.in.h:653:18:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
_GL_WARN_ON_USE (wcsncpy, "wcsncpy is unportable - "
data/libdap-3.20.6/gl/wchar.in.h:697:19:  [1] (buffer) wcsncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or
  automatically resizing strings.
_GL_FUNCDECL_SYS (wcsncat, wchar_t *,
data/libdap-3.20.6/gl/wchar.in.h:700:19:  [1] (buffer) wcsncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or
  automatically resizing strings.
_GL_CXXALIAS_SYS (wcsncat, wchar_t *,
data/libdap-3.20.6/gl/wchar.in.h:702:19:  [1] (buffer) wcsncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or
  automatically resizing strings.
_GL_CXXALIASWARN (wcsncat);
data/libdap-3.20.6/gl/wchar.in.h:704:9:  [1] (buffer) wcsncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or
  automatically resizing strings.
# undef wcsncat
data/libdap-3.20.6/gl/wchar.in.h:706:18:  [1] (buffer) wcsncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or
  automatically resizing strings.
_GL_WARN_ON_USE (wcsncat, "wcsncat is unportable - "
data/libdap-3.20.6/lex.Error.cc:699:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			     (c = getc( Errorin )) != EOF && c != '\n'; ++n ) \
data/libdap-3.20.6/lex.Error.cc:1718: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).
	return Error_scan_bytes(yystr,strlen(yystr) );
data/libdap-3.20.6/lex.ce_expr.cc:716:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			     (c = getc( ce_exprin )) != EOF && c != '\n'; ++n ) \
data/libdap-3.20.6/lex.ce_expr.cc:1787: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).
	return ce_expr_scan_bytes(yystr,strlen(yystr) );
data/libdap-3.20.6/lex.ce_expr.cc:2064:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(ce_exprlval.id, ce_exprtext, ID_MAX-1);
data/libdap-3.20.6/lex.das.cc:818:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			     (c = getc( dasin )) != EOF && c != '\n'; ++n ) \
data/libdap-3.20.6/lex.das.cc:1901: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).
	return das_scan_bytes(yystr,strlen(yystr) );
data/libdap-3.20.6/lex.dds.cc:671: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).
             ? YY_NULL : strlen(buf); \
data/libdap-3.20.6/lex.dds.cc:788:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			     (c = getc( ddsin )) != EOF && c != '\n'; ++n ) \
data/libdap-3.20.6/lex.dds.cc:1841: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).
	return dds_scan_bytes(yystr,strlen(yystr) );
data/libdap-3.20.6/lex.dds.cc:2115:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(ddslval.word, ddstext, ID_MAX-1);
data/libdap-3.20.6/mime_util.cc:228:9:  [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(TimStr, "time() error           ", TimLen-1);
data/libdap-3.20.6/mime_util.cc:232:7:  [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(TimStr, "Unknown", TimLen-1);
data/libdap-3.20.6/mime_util.cc:234:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    		strncpy(TimStr, ctime_value, TimLen-1);
data/libdap-3.20.6/mime_util.cc:238:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    	strncpy(TimStr, ctime(&TimBin), TimLen-1);
data/libdap-3.20.6/mime_util.cc:848: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).
            size_t slen = min(strlen(line), line_length); // Never > line_length
data/libdap-3.20.6/mime_util.cc:883: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_t slen = min(strlen(line), line_length); // Never > line_length
data/libdap-3.20.6/mime_util.cc:943: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(line) < 2 || !(line[0] == '-' && line[1] == '-'))
data/libdap-3.20.6/mime_util.cc:1193:9:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant character.
        strncat(tmp, "\n", sizeof(tmp) - strlen(tmp) - 1);
data/libdap-3.20.6/mime_util.cc:1193: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).
        strncat(tmp, "\n", sizeof(tmp) - strlen(tmp) - 1);
data/libdap-3.20.6/parser-util.cc:82: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).
    *ptr = (char *) val + strlen(val);
data/libdap-3.20.6/parser-util.cc:158: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(src) >= ID_MAX)
data/libdap-3.20.6/parser-util.cc:163:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(dst, src, ID_MAX);
data/libdap-3.20.6/tests/D4TestFunction.cc:80:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        source.read();
data/libdap-3.20.6/tests/D4TestFunction.cc:97:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    	argv[0]->read();
data/libdap-3.20.6/tests/D4TestFunction.cc:157:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            source->read();
data/libdap-3.20.6/tests/D4TestFunction.cc:175:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    	arg0->read();
data/libdap-3.20.6/tests/TestArray.cc:260:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        var()->read();
data/libdap-3.20.6/tests/TestArray.cc:304:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        var()->read();
data/libdap-3.20.6/tests/TestArray.cc:352:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                var()->read();
data/libdap-3.20.6/tests/TestArray.cc:361:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        var()->read();
data/libdap-3.20.6/tests/TestArray.cc:388:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                var()->read();
data/libdap-3.20.6/tests/TestArray.cc:400:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        var()->read();
data/libdap-3.20.6/tests/TestArray.cc:413:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool TestArray::read()
data/libdap-3.20.6/tests/TestArray.cc:518:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                var()->read();
data/libdap-3.20.6/tests/TestArray.cc:525:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            var()->read();
data/libdap-3.20.6/tests/TestArray.cc:543:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            elem->read();
data/libdap-3.20.6/tests/TestArray.h:71:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read();
data/libdap-3.20.6/tests/TestByte.cc:138:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
TestByte::read()
data/libdap-3.20.6/tests/TestByte.h:70:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read();
data/libdap-3.20.6/tests/TestD4Enum.cc:90:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool TestD4Enum::read() {
data/libdap-3.20.6/tests/TestD4Enum.h:50:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read();
data/libdap-3.20.6/tests/TestD4Group.cc:109:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool TestD4Group::read()
data/libdap-3.20.6/tests/TestD4Group.cc:114:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (!(*i)->read()) {
data/libdap-3.20.6/tests/TestD4Group.h:49:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read();
data/libdap-3.20.6/tests/TestD4Opaque.cc:100:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool TestD4Opaque::read() {
data/libdap-3.20.6/tests/TestD4Opaque.h:51:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read();
data/libdap-3.20.6/tests/TestD4Sequence.cc:92:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
TestD4Sequence::read()
data/libdap-3.20.6/tests/TestD4Sequence.cc:101:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                (*i)->read();
data/libdap-3.20.6/tests/TestD4Sequence.h:52:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read();
data/libdap-3.20.6/tests/TestFloat32.cc:109:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
TestFloat32::read()
data/libdap-3.20.6/tests/TestFloat32.h:61:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read();
data/libdap-3.20.6/tests/TestFloat64.cc:108:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
TestFloat64::read()
data/libdap-3.20.6/tests/TestFloat64.h:60:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read();
data/libdap-3.20.6/tests/TestFunction.cc:77:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        source.read();
data/libdap-3.20.6/tests/TestFunction.cc:94:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    	argv[0]->read();
data/libdap-3.20.6/tests/TestGrid.cc:133:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool TestGrid::read()
data/libdap-3.20.6/tests/TestGrid.cc:138:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    get_array()->read();
data/libdap-3.20.6/tests/TestGrid.cc:141:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (!(*i)->read()) {
data/libdap-3.20.6/tests/TestGrid.h:60:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read();
data/libdap-3.20.6/tests/TestInt16.cc:100:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
TestInt16::read()
data/libdap-3.20.6/tests/TestInt16.h:60:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read();
data/libdap-3.20.6/tests/TestInt32.cc:101:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool TestInt32::read()
data/libdap-3.20.6/tests/TestInt32.h:60:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read();
data/libdap-3.20.6/tests/TestInt64.cc:91:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
TestInt64::read()
data/libdap-3.20.6/tests/TestInt64.h:50:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read();
data/libdap-3.20.6/tests/TestInt8.cc:85:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool TestInt8::read()
data/libdap-3.20.6/tests/TestInt8.h:51:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read();
data/libdap-3.20.6/tests/TestSequence.cc:114:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool TestSequence::read()
data/libdap-3.20.6/tests/TestSequence.cc:139:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            (*i)->read();
data/libdap-3.20.6/tests/TestSequence.h:68:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read();
data/libdap-3.20.6/tests/TestStr.cc:101:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool TestStr::read()
data/libdap-3.20.6/tests/TestStr.h:64:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read();
data/libdap-3.20.6/tests/TestStructure.cc:131:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool TestStructure::read()
data/libdap-3.20.6/tests/TestStructure.cc:136:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (!(*i)->read()) {
data/libdap-3.20.6/tests/TestStructure.h:65:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read();
data/libdap-3.20.6/tests/TestUInt16.cc:101:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
TestUInt16::read()
data/libdap-3.20.6/tests/TestUInt16.h:60:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read();
data/libdap-3.20.6/tests/TestUInt32.cc:101:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
TestUInt32::read()
data/libdap-3.20.6/tests/TestUInt32.h:60:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read();
data/libdap-3.20.6/tests/TestUInt64.cc:90:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
TestUInt64::read()
data/libdap-3.20.6/tests/TestUInt64.h:50:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read();
data/libdap-3.20.6/tests/TestUrl.cc:99:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
TestUrl::read()
data/libdap-3.20.6/tests/TestUrl.h:60:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read();
data/libdap-3.20.6/tests/dmr-test.cc:238:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        cis.read(chunk, chunk_size);
data/libdap-3.20.6/unit-tests/ArrayTest.cc:134:41:  [1] (buffer) strlen:
  Does not handle 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 match_position = r.match(s, strlen(s));
data/libdap-3.20.6/unit-tests/ArrayTest.cc:136: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).
            << " string length: " << (int)strlen(s) << endl);
data/libdap-3.20.6/unit-tests/ArrayTest.cc:137: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).
        return match_position == (int) strlen(s);
data/libdap-3.20.6/unit-tests/AttrTableTest.cc:130: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).
        return r.match(s, strlen(s)) == (int) strlen(s);
data/libdap-3.20.6/unit-tests/AttrTableTest.cc:130: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).
        return r.match(s, strlen(s)) == (int) strlen(s);
data/libdap-3.20.6/unit-tests/D4FilterClauseTest.cc:132:36:  [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.
        unique_ptr<D4FilterClause> equal(new D4FilterClause(D4FilterClause::equal, arg3_1, arg3_2));
data/libdap-3.20.6/unit-tests/D4FilterClauseTest.cc:132:77:  [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.
        unique_ptr<D4FilterClause> equal(new D4FilterClause(D4FilterClause::equal, arg3_1, arg3_2));
data/libdap-3.20.6/unit-tests/D4FilterClauseTest.cc:160:36:  [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.
        unique_ptr<D4FilterClause> equal(new D4FilterClause(D4FilterClause::equal, arg3_1, arg3_2));
data/libdap-3.20.6/unit-tests/D4FilterClauseTest.cc:160:77:  [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.
        unique_ptr<D4FilterClause> equal(new D4FilterClause(D4FilterClause::equal, arg3_1, arg3_2));
data/libdap-3.20.6/unit-tests/D4FilterClauseTest.cc:187:36:  [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.
        unique_ptr<D4FilterClause> equal(new D4FilterClause(D4FilterClause::equal, arg3_1, arg3_2));
data/libdap-3.20.6/unit-tests/D4FilterClauseTest.cc:187:77:  [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.
        unique_ptr<D4FilterClause> equal(new D4FilterClause(D4FilterClause::equal, arg3_1, arg3_2));
data/libdap-3.20.6/unit-tests/D4FilterClauseTest.cc:239:36:  [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.
        unique_ptr<D4FilterClause> equal(new D4FilterClause(D4FilterClause::equal, arg3_1, arg3_2));
data/libdap-3.20.6/unit-tests/D4FilterClauseTest.cc:239:77:  [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.
        unique_ptr<D4FilterClause> equal(new D4FilterClause(D4FilterClause::equal, arg3_1, arg3_2));
data/libdap-3.20.6/unit-tests/D4FilterClauseTest.cc:366:36:  [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.
        unique_ptr<D4FilterClause> equal(new D4FilterClause(D4FilterClause::equal, arg3_1, arg3_2));
data/libdap-3.20.6/unit-tests/D4FilterClauseTest.cc:366:77:  [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.
        unique_ptr<D4FilterClause> equal(new D4FilterClause(D4FilterClause::equal, arg3_1, arg3_2));
data/libdap-3.20.6/unit-tests/D4FilterClauseTest.cc:387:78:  [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.
        unique_ptr<D4FilterClause> clause(new D4FilterClause(D4FilterClause::equal, arg2_1, arg2_2));
data/libdap-3.20.6/unit-tests/D4FilterClauseTest.cc:416:78:  [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.
        unique_ptr<D4FilterClause> clause(new D4FilterClause(D4FilterClause::equal, arg2_1, arg2_2));
data/libdap-3.20.6/unit-tests/D4FilterClauseTest.cc:435:64:  [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.
        clauses->add_clause(new D4FilterClause(D4FilterClause::equal, arg3_1, arg3_2));
data/libdap-3.20.6/unit-tests/D4FilterClauseTest.cc:471:64:  [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.
        clauses->add_clause(new D4FilterClause(D4FilterClause::equal, arg3_1, arg3_2));
data/libdap-3.20.6/unit-tests/D4FilterClauseTest.cc:498:64:  [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.
        clauses->add_clause(new D4FilterClause(D4FilterClause::equal, arg3_1, arg3_2));
data/libdap-3.20.6/unit-tests/D4FilterClauseTest.cc:532:64:  [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.
        clauses->add_clause(new D4FilterClause(D4FilterClause::equal, arg3_1, arg3_2));
data/libdap-3.20.6/unit-tests/D4MarshallerTest.cc:91:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        in.read(&fbuf[0], len);
data/libdap-3.20.6/unit-tests/D4SequenceTest.cc:146:68:  [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.
        s->clauses().add_clause(new D4FilterClause(D4FilterClause::equal, arg1, arg2));
data/libdap-3.20.6/unit-tests/HTTPConnectTest.cc:68: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).
        return r.match(s, strlen(s)) == (int) strlen(s);
data/libdap-3.20.6/unit-tests/HTTPConnectTest.cc:68: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).
        return r.match(s, strlen(s)) == (int) strlen(s);
data/libdap-3.20.6/unit-tests/HTTPConnectTest.cc:83: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).
            return d_re.match(s, strlen(s)) == (int) strlen(s);
data/libdap-3.20.6/unit-tests/HTTPConnectTest.cc:83: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).
            return d_re.match(s, strlen(s)) == (int) strlen(s);
data/libdap-3.20.6/unit-tests/HTTPConnectTest.cc:269:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            stuff->get_cpp_stream()->read(&c, 1);
data/libdap-3.20.6/unit-tests/HTTPConnectTest.cc:348:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            stuff->get_cpp_stream()->read(&c, 1);
data/libdap-3.20.6/unit-tests/HTTPConnectTest.cc:420:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            stuff->get_cpp_stream()->read(&c, 1);
data/libdap-3.20.6/unit-tests/HTTPConnectTest.cc:494:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            stuff->get_cpp_stream()->read(&c, 1);
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:158:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        b->read();
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:161:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        i16->read();
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:164:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        i32->read();
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:167:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ui16->read();
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:170:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ui32->read();
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:173:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        f32->read();
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:176:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        f64->read();
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:179:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        str->read();
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:182:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        url->read();
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:186:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ab->read();
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:190:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        arr->read();
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:200:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        a_f32->read();
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:204:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        arr_f32->read();
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:214:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        a_f64->read();
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:218:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        arr_f64->read();
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:463:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            tg.read();
data/libdap-3.20.6/unit-tests/MarshallerTest.cc:1111:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            tg.read();
data/libdap-3.20.6/unit-tests/RCReaderTest.cc:93:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(dods_conf_ev, value.c_str(), 1024);
data/libdap-3.20.6/unit-tests/SequenceTest.cc:164:41:  [1] (buffer) strlen:
  Does not handle 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 match_position = r.match(s, strlen(s));
data/libdap-3.20.6/unit-tests/SequenceTest.cc:165:89:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        DBG(cerr << "match position: " << match_position << " string length: " << (int )strlen(s) << endl);
data/libdap-3.20.6/unit-tests/SequenceTest.cc:166: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).
        return match_position == (int) strlen(s);
data/libdap-3.20.6/unit-tests/arrayT.cc:163:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool is_read = ar.read();
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:105:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        infile.read(&c, 1);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:109:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            infile.read(&c, 1);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:131:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        infile.read(str, 128);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:135:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            infile.read(str, 128);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:165:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            infile.read(str, 24);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:172:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            infile.read(str, 24);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:179:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            infile.read(str, 24);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:183:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                infile.read(str, 24);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:217:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        chunked_infile.read(&c, 1);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:222:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            chunked_infile.read(&c, 1);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:246:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        chunked_infile.read(str, 128);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:251:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            chunked_infile.read(str, 128);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:275:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            chunked_infile.read(str, 24);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:283:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            chunked_infile.read(str, 24);
data/libdap-3.20.6/unit-tests/chunked_iostream_test.cc:287:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                chunked_infile.read(str, 24);
data/libdap-3.20.6/unit-tests/marshT.cc:123:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        b->read();
data/libdap-3.20.6/unit-tests/marshT.cc:124:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        i16->read();
data/libdap-3.20.6/unit-tests/marshT.cc:125:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        i32->read();
data/libdap-3.20.6/unit-tests/marshT.cc:126:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ui16->read();
data/libdap-3.20.6/unit-tests/marshT.cc:127:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ui32->read();
data/libdap-3.20.6/unit-tests/marshT.cc:128:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        f32->read();
data/libdap-3.20.6/unit-tests/marshT.cc:129:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        f64->read();
data/libdap-3.20.6/unit-tests/marshT.cc:131:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        str->read();
data/libdap-3.20.6/unit-tests/marshT.cc:132:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        url->read();
data/libdap-3.20.6/unit-tests/marshT.cc:133:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        arr->read();
data/libdap-3.20.6/unit-tests/marshT.cc:134:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        s->read();
data/libdap-3.20.6/unit-tests/structT.cc:123:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool is_read = s.read();
data/libdap-3.20.6/unit-tests/testFile.cc:33:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    is.read (&buffer[0], length);
data/libdap-3.20.6/util_mit.cc:143: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).
            if ((int)strlen(s) < 18) {
data/libdap-3.20.6/util_mit.cc:161: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).
            if ((int)strlen(s) < 20) {
data/libdap-3.20.6/util_mit.cc:182: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).
            if ((int)strlen(s) < 21) {
data/libdap-3.20.6/util_mit.cc:212:18:  [1] (buffer) strlen:
  Does not handle 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 ((int)strlen(s) < 24) {

ANALYSIS SUMMARY:

Hits = 1095
Lines analyzed = 137695 in approximately 3.74 seconds (36845 lines/second)
Physical Source Lines of Code (SLOC) = 86962
Hits@level = [0] 180 [1] 397 [2] 327 [3] 265 [4]  86 [5]  20
Hits@level+ = [0+] 1275 [1+] 1095 [2+] 698 [3+] 371 [4+] 106 [5+]  20
Hits/KSLOC@level+ = [0+] 14.6616 [1+] 12.5917 [2+] 8.02649 [3+] 4.26623 [4+] 1.21892 [5+] 0.229986
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.