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/dogecoin-1.14.2/src/addrdb.cpp
Examining data/dogecoin-1.14.2/src/addrdb.h
Examining data/dogecoin-1.14.2/src/addrman.cpp
Examining data/dogecoin-1.14.2/src/addrman.h
Examining data/dogecoin-1.14.2/src/alert.cpp
Examining data/dogecoin-1.14.2/src/alert.h
Examining data/dogecoin-1.14.2/src/amount.cpp
Examining data/dogecoin-1.14.2/src/amount.h
Examining data/dogecoin-1.14.2/src/arith_uint256.cpp
Examining data/dogecoin-1.14.2/src/arith_uint256.h
Examining data/dogecoin-1.14.2/src/auxpow.cpp
Examining data/dogecoin-1.14.2/src/auxpow.h
Examining data/dogecoin-1.14.2/src/base58.cpp
Examining data/dogecoin-1.14.2/src/base58.h
Examining data/dogecoin-1.14.2/src/bench/Examples.cpp
Examining data/dogecoin-1.14.2/src/bench/base58.cpp
Examining data/dogecoin-1.14.2/src/bench/bench.cpp
Examining data/dogecoin-1.14.2/src/bench/bench.h
Examining data/dogecoin-1.14.2/src/bench/bench_bitcoin.cpp
Examining data/dogecoin-1.14.2/src/bench/ccoins_caching.cpp
Examining data/dogecoin-1.14.2/src/bench/checkblock.cpp
Examining data/dogecoin-1.14.2/src/bench/checkqueue.cpp
Examining data/dogecoin-1.14.2/src/bench/coin_selection.cpp
Examining data/dogecoin-1.14.2/src/bench/crypto_hash.cpp
Examining data/dogecoin-1.14.2/src/bench/lockedpool.cpp
Examining data/dogecoin-1.14.2/src/bench/mempool_eviction.cpp
Examining data/dogecoin-1.14.2/src/bench/perf.cpp
Examining data/dogecoin-1.14.2/src/bench/perf.h
Examining data/dogecoin-1.14.2/src/bench/rollingbloom.cpp
Examining data/dogecoin-1.14.2/src/bench/verify_script.cpp
Examining data/dogecoin-1.14.2/src/bitcoin-cli.cpp
Examining data/dogecoin-1.14.2/src/bitcoin-tx.cpp
Examining data/dogecoin-1.14.2/src/bitcoind.cpp
Examining data/dogecoin-1.14.2/src/blockencodings.cpp
Examining data/dogecoin-1.14.2/src/blockencodings.h
Examining data/dogecoin-1.14.2/src/bloom.cpp
Examining data/dogecoin-1.14.2/src/bloom.h
Examining data/dogecoin-1.14.2/src/chain.cpp
Examining data/dogecoin-1.14.2/src/chain.h
Examining data/dogecoin-1.14.2/src/chainparams.cpp
Examining data/dogecoin-1.14.2/src/chainparams.h
Examining data/dogecoin-1.14.2/src/chainparamsbase.cpp
Examining data/dogecoin-1.14.2/src/chainparamsbase.h
Examining data/dogecoin-1.14.2/src/chainparamsseeds.h
Examining data/dogecoin-1.14.2/src/checkpoints.cpp
Examining data/dogecoin-1.14.2/src/checkpoints.h
Examining data/dogecoin-1.14.2/src/checkqueue.h
Examining data/dogecoin-1.14.2/src/clientversion.cpp
Examining data/dogecoin-1.14.2/src/clientversion.h
Examining data/dogecoin-1.14.2/src/coins.cpp
Examining data/dogecoin-1.14.2/src/coins.h
Examining data/dogecoin-1.14.2/src/compat.h
Examining data/dogecoin-1.14.2/src/compat/byteswap.h
Examining data/dogecoin-1.14.2/src/compat/endian.h
Examining data/dogecoin-1.14.2/src/compat/glibc_compat.cpp
Examining data/dogecoin-1.14.2/src/compat/glibc_sanity.cpp
Examining data/dogecoin-1.14.2/src/compat/glibcxx_sanity.cpp
Examining data/dogecoin-1.14.2/src/compat/sanity.h
Examining data/dogecoin-1.14.2/src/compat/strnlen.cpp
Examining data/dogecoin-1.14.2/src/compressor.cpp
Examining data/dogecoin-1.14.2/src/compressor.h
Examining data/dogecoin-1.14.2/src/consensus/consensus.h
Examining data/dogecoin-1.14.2/src/consensus/merkle.cpp
Examining data/dogecoin-1.14.2/src/consensus/merkle.h
Examining data/dogecoin-1.14.2/src/consensus/params.h
Examining data/dogecoin-1.14.2/src/consensus/validation.h
Examining data/dogecoin-1.14.2/src/core_io.h
Examining data/dogecoin-1.14.2/src/core_memusage.h
Examining data/dogecoin-1.14.2/src/core_read.cpp
Examining data/dogecoin-1.14.2/src/core_write.cpp
Examining data/dogecoin-1.14.2/src/crypto/aes.cpp
Examining data/dogecoin-1.14.2/src/crypto/aes.h
Examining data/dogecoin-1.14.2/src/crypto/common.h
Examining data/dogecoin-1.14.2/src/crypto/ctaes/bench.c
Examining data/dogecoin-1.14.2/src/crypto/ctaes/ctaes.c
Examining data/dogecoin-1.14.2/src/crypto/ctaes/ctaes.h
Examining data/dogecoin-1.14.2/src/crypto/ctaes/test.c
Examining data/dogecoin-1.14.2/src/crypto/hmac_sha256.cpp
Examining data/dogecoin-1.14.2/src/crypto/hmac_sha256.h
Examining data/dogecoin-1.14.2/src/crypto/hmac_sha512.cpp
Examining data/dogecoin-1.14.2/src/crypto/hmac_sha512.h
Examining data/dogecoin-1.14.2/src/crypto/ripemd160.cpp
Examining data/dogecoin-1.14.2/src/crypto/ripemd160.h
Examining data/dogecoin-1.14.2/src/crypto/scrypt-sse2.cpp
Examining data/dogecoin-1.14.2/src/crypto/scrypt.cpp
Examining data/dogecoin-1.14.2/src/crypto/scrypt.h
Examining data/dogecoin-1.14.2/src/crypto/sha1.cpp
Examining data/dogecoin-1.14.2/src/crypto/sha1.h
Examining data/dogecoin-1.14.2/src/crypto/sha256.cpp
Examining data/dogecoin-1.14.2/src/crypto/sha256.h
Examining data/dogecoin-1.14.2/src/crypto/sha512.cpp
Examining data/dogecoin-1.14.2/src/crypto/sha512.h
Examining data/dogecoin-1.14.2/src/cuckoocache.h
Examining data/dogecoin-1.14.2/src/dbwrapper.cpp
Examining data/dogecoin-1.14.2/src/dbwrapper.h
Examining data/dogecoin-1.14.2/src/dogecoin.cpp
Examining data/dogecoin-1.14.2/src/dogecoin.h
Examining data/dogecoin-1.14.2/src/hash.cpp
Examining data/dogecoin-1.14.2/src/hash.h
Examining data/dogecoin-1.14.2/src/httprpc.cpp
Examining data/dogecoin-1.14.2/src/httprpc.h
Examining data/dogecoin-1.14.2/src/httpserver.cpp
Examining data/dogecoin-1.14.2/src/httpserver.h
Examining data/dogecoin-1.14.2/src/indirectmap.h
Examining data/dogecoin-1.14.2/src/init.cpp
Examining data/dogecoin-1.14.2/src/init.h
Examining data/dogecoin-1.14.2/src/key.cpp
Examining data/dogecoin-1.14.2/src/key.h
Examining data/dogecoin-1.14.2/src/keystore.cpp
Examining data/dogecoin-1.14.2/src/keystore.h
Examining data/dogecoin-1.14.2/src/leveldb/db/autocompact_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/builder.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/builder.h
Examining data/dogecoin-1.14.2/src/leveldb/db/c.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/c_test.c
Examining data/dogecoin-1.14.2/src/leveldb/db/corruption_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/db_bench.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/db_impl.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/db_impl.h
Examining data/dogecoin-1.14.2/src/leveldb/db/db_iter.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/db_iter.h
Examining data/dogecoin-1.14.2/src/leveldb/db/db_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/dbformat.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/dbformat.h
Examining data/dogecoin-1.14.2/src/leveldb/db/dbformat_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/dumpfile.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/fault_injection_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/filename.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/filename.h
Examining data/dogecoin-1.14.2/src/leveldb/db/filename_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/leveldbutil.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/log_format.h
Examining data/dogecoin-1.14.2/src/leveldb/db/log_reader.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/log_reader.h
Examining data/dogecoin-1.14.2/src/leveldb/db/log_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/log_writer.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/log_writer.h
Examining data/dogecoin-1.14.2/src/leveldb/db/memtable.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/memtable.h
Examining data/dogecoin-1.14.2/src/leveldb/db/recovery_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/repair.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/skiplist.h
Examining data/dogecoin-1.14.2/src/leveldb/db/skiplist_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/snapshot.h
Examining data/dogecoin-1.14.2/src/leveldb/db/table_cache.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/table_cache.h
Examining data/dogecoin-1.14.2/src/leveldb/db/version_edit.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/version_edit.h
Examining data/dogecoin-1.14.2/src/leveldb/db/version_edit_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/version_set.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/version_set.h
Examining data/dogecoin-1.14.2/src/leveldb/db/version_set_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/write_batch.cc
Examining data/dogecoin-1.14.2/src/leveldb/db/write_batch_internal.h
Examining data/dogecoin-1.14.2/src/leveldb/db/write_batch_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/doc/bench/db_bench_sqlite3.cc
Examining data/dogecoin-1.14.2/src/leveldb/doc/bench/db_bench_tree_db.cc
Examining data/dogecoin-1.14.2/src/leveldb/helpers/memenv/memenv.cc
Examining data/dogecoin-1.14.2/src/leveldb/helpers/memenv/memenv.h
Examining data/dogecoin-1.14.2/src/leveldb/helpers/memenv/memenv_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/include/leveldb/c.h
Examining data/dogecoin-1.14.2/src/leveldb/include/leveldb/cache.h
Examining data/dogecoin-1.14.2/src/leveldb/include/leveldb/comparator.h
Examining data/dogecoin-1.14.2/src/leveldb/include/leveldb/db.h
Examining data/dogecoin-1.14.2/src/leveldb/include/leveldb/dumpfile.h
Examining data/dogecoin-1.14.2/src/leveldb/include/leveldb/env.h
Examining data/dogecoin-1.14.2/src/leveldb/include/leveldb/filter_policy.h
Examining data/dogecoin-1.14.2/src/leveldb/include/leveldb/iterator.h
Examining data/dogecoin-1.14.2/src/leveldb/include/leveldb/options.h
Examining data/dogecoin-1.14.2/src/leveldb/include/leveldb/slice.h
Examining data/dogecoin-1.14.2/src/leveldb/include/leveldb/status.h
Examining data/dogecoin-1.14.2/src/leveldb/include/leveldb/table.h
Examining data/dogecoin-1.14.2/src/leveldb/include/leveldb/table_builder.h
Examining data/dogecoin-1.14.2/src/leveldb/include/leveldb/write_batch.h
Examining data/dogecoin-1.14.2/src/leveldb/issues/issue178_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/issues/issue200_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/port/atomic_pointer.h
Examining data/dogecoin-1.14.2/src/leveldb/port/port.h
Examining data/dogecoin-1.14.2/src/leveldb/port/port_example.h
Examining data/dogecoin-1.14.2/src/leveldb/port/port_posix.cc
Examining data/dogecoin-1.14.2/src/leveldb/port/port_posix.h
Examining data/dogecoin-1.14.2/src/leveldb/port/port_win.cc
Examining data/dogecoin-1.14.2/src/leveldb/port/port_win.h
Examining data/dogecoin-1.14.2/src/leveldb/port/thread_annotations.h
Examining data/dogecoin-1.14.2/src/leveldb/port/win/stdint.h
Examining data/dogecoin-1.14.2/src/leveldb/table/block.cc
Examining data/dogecoin-1.14.2/src/leveldb/table/block.h
Examining data/dogecoin-1.14.2/src/leveldb/table/block_builder.cc
Examining data/dogecoin-1.14.2/src/leveldb/table/block_builder.h
Examining data/dogecoin-1.14.2/src/leveldb/table/filter_block.cc
Examining data/dogecoin-1.14.2/src/leveldb/table/filter_block.h
Examining data/dogecoin-1.14.2/src/leveldb/table/filter_block_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/table/format.cc
Examining data/dogecoin-1.14.2/src/leveldb/table/format.h
Examining data/dogecoin-1.14.2/src/leveldb/table/iterator.cc
Examining data/dogecoin-1.14.2/src/leveldb/table/iterator_wrapper.h
Examining data/dogecoin-1.14.2/src/leveldb/table/merger.cc
Examining data/dogecoin-1.14.2/src/leveldb/table/merger.h
Examining data/dogecoin-1.14.2/src/leveldb/table/table.cc
Examining data/dogecoin-1.14.2/src/leveldb/table/table_builder.cc
Examining data/dogecoin-1.14.2/src/leveldb/table/table_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/table/two_level_iterator.cc
Examining data/dogecoin-1.14.2/src/leveldb/table/two_level_iterator.h
Examining data/dogecoin-1.14.2/src/leveldb/util/arena.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/arena.h
Examining data/dogecoin-1.14.2/src/leveldb/util/arena_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/bloom.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/bloom_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/cache.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/cache_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/coding.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/coding.h
Examining data/dogecoin-1.14.2/src/leveldb/util/coding_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/comparator.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/crc32c.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/crc32c.h
Examining data/dogecoin-1.14.2/src/leveldb/util/crc32c_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/env.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/env_posix.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/env_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/env_win.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/filter_policy.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/hash.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/hash.h
Examining data/dogecoin-1.14.2/src/leveldb/util/hash_test.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/histogram.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/histogram.h
Examining data/dogecoin-1.14.2/src/leveldb/util/logging.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/logging.h
Examining data/dogecoin-1.14.2/src/leveldb/util/mutexlock.h
Examining data/dogecoin-1.14.2/src/leveldb/util/options.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/posix_logger.h
Examining data/dogecoin-1.14.2/src/leveldb/util/random.h
Examining data/dogecoin-1.14.2/src/leveldb/util/status.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/testharness.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/testharness.h
Examining data/dogecoin-1.14.2/src/leveldb/util/testutil.cc
Examining data/dogecoin-1.14.2/src/leveldb/util/testutil.h
Examining data/dogecoin-1.14.2/src/limitedmap.h
Examining data/dogecoin-1.14.2/src/memusage.h
Examining data/dogecoin-1.14.2/src/merkleblock.cpp
Examining data/dogecoin-1.14.2/src/merkleblock.h
Examining data/dogecoin-1.14.2/src/miner.cpp
Examining data/dogecoin-1.14.2/src/miner.h
Examining data/dogecoin-1.14.2/src/net.cpp
Examining data/dogecoin-1.14.2/src/net.h
Examining data/dogecoin-1.14.2/src/net_processing.cpp
Examining data/dogecoin-1.14.2/src/net_processing.h
Examining data/dogecoin-1.14.2/src/netaddress.cpp
Examining data/dogecoin-1.14.2/src/netaddress.h
Examining data/dogecoin-1.14.2/src/netbase.cpp
Examining data/dogecoin-1.14.2/src/netbase.h
Examining data/dogecoin-1.14.2/src/netmessagemaker.h
Examining data/dogecoin-1.14.2/src/noui.cpp
Examining data/dogecoin-1.14.2/src/noui.h
Examining data/dogecoin-1.14.2/src/policy/fees.cpp
Examining data/dogecoin-1.14.2/src/policy/fees.h
Examining data/dogecoin-1.14.2/src/policy/policy.cpp
Examining data/dogecoin-1.14.2/src/policy/policy.h
Examining data/dogecoin-1.14.2/src/policy/rbf.cpp
Examining data/dogecoin-1.14.2/src/policy/rbf.h
Examining data/dogecoin-1.14.2/src/pow.cpp
Examining data/dogecoin-1.14.2/src/pow.h
Examining data/dogecoin-1.14.2/src/prevector.h
Examining data/dogecoin-1.14.2/src/primitives/block.cpp
Examining data/dogecoin-1.14.2/src/primitives/block.h
Examining data/dogecoin-1.14.2/src/primitives/pureheader.cpp
Examining data/dogecoin-1.14.2/src/primitives/pureheader.h
Examining data/dogecoin-1.14.2/src/primitives/transaction.cpp
Examining data/dogecoin-1.14.2/src/primitives/transaction.h
Examining data/dogecoin-1.14.2/src/protocol.cpp
Examining data/dogecoin-1.14.2/src/protocol.h
Examining data/dogecoin-1.14.2/src/pubkey.cpp
Examining data/dogecoin-1.14.2/src/pubkey.h
Examining data/dogecoin-1.14.2/src/qt/addressbookpage.cpp
Examining data/dogecoin-1.14.2/src/qt/addressbookpage.h
Examining data/dogecoin-1.14.2/src/qt/addresstablemodel.cpp
Examining data/dogecoin-1.14.2/src/qt/addresstablemodel.h
Examining data/dogecoin-1.14.2/src/qt/askpassphrasedialog.cpp
Examining data/dogecoin-1.14.2/src/qt/askpassphrasedialog.h
Examining data/dogecoin-1.14.2/src/qt/bantablemodel.cpp
Examining data/dogecoin-1.14.2/src/qt/bantablemodel.h
Examining data/dogecoin-1.14.2/src/qt/bitcoin.cpp
Examining data/dogecoin-1.14.2/src/qt/bitcoinaddressvalidator.cpp
Examining data/dogecoin-1.14.2/src/qt/bitcoinaddressvalidator.h
Examining data/dogecoin-1.14.2/src/qt/bitcoinamountfield.cpp
Examining data/dogecoin-1.14.2/src/qt/bitcoinamountfield.h
Examining data/dogecoin-1.14.2/src/qt/bitcoingui.cpp
Examining data/dogecoin-1.14.2/src/qt/bitcoingui.h
Examining data/dogecoin-1.14.2/src/qt/bitcoinstrings.cpp
Examining data/dogecoin-1.14.2/src/qt/bitcoinunits.cpp
Examining data/dogecoin-1.14.2/src/qt/bitcoinunits.h
Examining data/dogecoin-1.14.2/src/qt/clientmodel.cpp
Examining data/dogecoin-1.14.2/src/qt/clientmodel.h
Examining data/dogecoin-1.14.2/src/qt/coincontroldialog.cpp
Examining data/dogecoin-1.14.2/src/qt/coincontroldialog.h
Examining data/dogecoin-1.14.2/src/qt/coincontroltreewidget.cpp
Examining data/dogecoin-1.14.2/src/qt/coincontroltreewidget.h
Examining data/dogecoin-1.14.2/src/qt/csvmodelwriter.cpp
Examining data/dogecoin-1.14.2/src/qt/csvmodelwriter.h
Examining data/dogecoin-1.14.2/src/qt/editaddressdialog.cpp
Examining data/dogecoin-1.14.2/src/qt/editaddressdialog.h
Examining data/dogecoin-1.14.2/src/qt/guiconstants.h
Examining data/dogecoin-1.14.2/src/qt/guiutil.cpp
Examining data/dogecoin-1.14.2/src/qt/guiutil.h
Examining data/dogecoin-1.14.2/src/qt/intro.cpp
Examining data/dogecoin-1.14.2/src/qt/intro.h
Examining data/dogecoin-1.14.2/src/qt/macdockiconhandler.h
Examining data/dogecoin-1.14.2/src/qt/macnotificationhandler.h
Examining data/dogecoin-1.14.2/src/qt/modaloverlay.cpp
Examining data/dogecoin-1.14.2/src/qt/modaloverlay.h
Examining data/dogecoin-1.14.2/src/qt/networkstyle.cpp
Examining data/dogecoin-1.14.2/src/qt/networkstyle.h
Examining data/dogecoin-1.14.2/src/qt/notificator.cpp
Examining data/dogecoin-1.14.2/src/qt/notificator.h
Examining data/dogecoin-1.14.2/src/qt/openuridialog.cpp
Examining data/dogecoin-1.14.2/src/qt/openuridialog.h
Examining data/dogecoin-1.14.2/src/qt/optionsdialog.cpp
Examining data/dogecoin-1.14.2/src/qt/optionsdialog.h
Examining data/dogecoin-1.14.2/src/qt/optionsmodel.cpp
Examining data/dogecoin-1.14.2/src/qt/optionsmodel.h
Examining data/dogecoin-1.14.2/src/qt/overviewpage.cpp
Examining data/dogecoin-1.14.2/src/qt/overviewpage.h
Examining data/dogecoin-1.14.2/src/qt/paymentrequestplus.cpp
Examining data/dogecoin-1.14.2/src/qt/paymentrequestplus.h
Examining data/dogecoin-1.14.2/src/qt/paymentserver.cpp
Examining data/dogecoin-1.14.2/src/qt/paymentserver.h
Examining data/dogecoin-1.14.2/src/qt/peertablemodel.cpp
Examining data/dogecoin-1.14.2/src/qt/peertablemodel.h
Examining data/dogecoin-1.14.2/src/qt/platformstyle.cpp
Examining data/dogecoin-1.14.2/src/qt/platformstyle.h
Examining data/dogecoin-1.14.2/src/qt/qvalidatedlineedit.cpp
Examining data/dogecoin-1.14.2/src/qt/qvalidatedlineedit.h
Examining data/dogecoin-1.14.2/src/qt/qvaluecombobox.cpp
Examining data/dogecoin-1.14.2/src/qt/qvaluecombobox.h
Examining data/dogecoin-1.14.2/src/qt/receivecoinsdialog.cpp
Examining data/dogecoin-1.14.2/src/qt/receivecoinsdialog.h
Examining data/dogecoin-1.14.2/src/qt/receiverequestdialog.cpp
Examining data/dogecoin-1.14.2/src/qt/receiverequestdialog.h
Examining data/dogecoin-1.14.2/src/qt/recentrequeststablemodel.cpp
Examining data/dogecoin-1.14.2/src/qt/recentrequeststablemodel.h
Examining data/dogecoin-1.14.2/src/qt/rpcconsole.cpp
Examining data/dogecoin-1.14.2/src/qt/rpcconsole.h
Examining data/dogecoin-1.14.2/src/qt/sendcoinsdialog.cpp
Examining data/dogecoin-1.14.2/src/qt/sendcoinsdialog.h
Examining data/dogecoin-1.14.2/src/qt/sendcoinsentry.cpp
Examining data/dogecoin-1.14.2/src/qt/sendcoinsentry.h
Examining data/dogecoin-1.14.2/src/qt/signverifymessagedialog.cpp
Examining data/dogecoin-1.14.2/src/qt/signverifymessagedialog.h
Examining data/dogecoin-1.14.2/src/qt/splashscreen.cpp
Examining data/dogecoin-1.14.2/src/qt/splashscreen.h
Examining data/dogecoin-1.14.2/src/qt/test/compattests.cpp
Examining data/dogecoin-1.14.2/src/qt/test/compattests.h
Examining data/dogecoin-1.14.2/src/qt/test/paymentrequestdata.h
Examining data/dogecoin-1.14.2/src/qt/test/paymentservertests.cpp
Examining data/dogecoin-1.14.2/src/qt/test/paymentservertests.h
Examining data/dogecoin-1.14.2/src/qt/test/rpcnestedtests.cpp
Examining data/dogecoin-1.14.2/src/qt/test/rpcnestedtests.h
Examining data/dogecoin-1.14.2/src/qt/test/test_main.cpp
Examining data/dogecoin-1.14.2/src/qt/test/uritests.cpp
Examining data/dogecoin-1.14.2/src/qt/test/uritests.h
Examining data/dogecoin-1.14.2/src/qt/trafficgraphwidget.cpp
Examining data/dogecoin-1.14.2/src/qt/trafficgraphwidget.h
Examining data/dogecoin-1.14.2/src/qt/transactiondesc.cpp
Examining data/dogecoin-1.14.2/src/qt/transactiondesc.h
Examining data/dogecoin-1.14.2/src/qt/transactiondescdialog.cpp
Examining data/dogecoin-1.14.2/src/qt/transactiondescdialog.h
Examining data/dogecoin-1.14.2/src/qt/transactionfilterproxy.cpp
Examining data/dogecoin-1.14.2/src/qt/transactionfilterproxy.h
Examining data/dogecoin-1.14.2/src/qt/transactionrecord.cpp
Examining data/dogecoin-1.14.2/src/qt/transactionrecord.h
Examining data/dogecoin-1.14.2/src/qt/transactiontablemodel.cpp
Examining data/dogecoin-1.14.2/src/qt/transactiontablemodel.h
Examining data/dogecoin-1.14.2/src/qt/transactionview.cpp
Examining data/dogecoin-1.14.2/src/qt/transactionview.h
Examining data/dogecoin-1.14.2/src/qt/utilitydialog.cpp
Examining data/dogecoin-1.14.2/src/qt/utilitydialog.h
Examining data/dogecoin-1.14.2/src/qt/verticallabel.cpp
Examining data/dogecoin-1.14.2/src/qt/verticallabel.h
Examining data/dogecoin-1.14.2/src/qt/walletframe.cpp
Examining data/dogecoin-1.14.2/src/qt/walletframe.h
Examining data/dogecoin-1.14.2/src/qt/walletmodel.cpp
Examining data/dogecoin-1.14.2/src/qt/walletmodel.h
Examining data/dogecoin-1.14.2/src/qt/walletmodeltransaction.cpp
Examining data/dogecoin-1.14.2/src/qt/walletmodeltransaction.h
Examining data/dogecoin-1.14.2/src/qt/walletview.cpp
Examining data/dogecoin-1.14.2/src/qt/walletview.h
Examining data/dogecoin-1.14.2/src/qt/winshutdownmonitor.cpp
Examining data/dogecoin-1.14.2/src/qt/winshutdownmonitor.h
Examining data/dogecoin-1.14.2/src/random.cpp
Examining data/dogecoin-1.14.2/src/random.h
Examining data/dogecoin-1.14.2/src/rest.cpp
Examining data/dogecoin-1.14.2/src/reverselock.h
Examining data/dogecoin-1.14.2/src/rpc/blockchain.cpp
Examining data/dogecoin-1.14.2/src/rpc/client.cpp
Examining data/dogecoin-1.14.2/src/rpc/client.h
Examining data/dogecoin-1.14.2/src/rpc/mining.cpp
Examining data/dogecoin-1.14.2/src/rpc/misc.cpp
Examining data/dogecoin-1.14.2/src/rpc/net.cpp
Examining data/dogecoin-1.14.2/src/rpc/protocol.cpp
Examining data/dogecoin-1.14.2/src/rpc/protocol.h
Examining data/dogecoin-1.14.2/src/rpc/rawtransaction.cpp
Examining data/dogecoin-1.14.2/src/rpc/register.h
Examining data/dogecoin-1.14.2/src/rpc/server.cpp
Examining data/dogecoin-1.14.2/src/rpc/server.h
Examining data/dogecoin-1.14.2/src/scheduler.cpp
Examining data/dogecoin-1.14.2/src/scheduler.h
Examining data/dogecoin-1.14.2/src/script/interpreter.cpp
Examining data/dogecoin-1.14.2/src/script/interpreter.h
Examining data/dogecoin-1.14.2/src/script/ismine.cpp
Examining data/dogecoin-1.14.2/src/script/ismine.h
Examining data/dogecoin-1.14.2/src/script/script.cpp
Examining data/dogecoin-1.14.2/src/script/script.h
Examining data/dogecoin-1.14.2/src/script/script_error.cpp
Examining data/dogecoin-1.14.2/src/script/script_error.h
Examining data/dogecoin-1.14.2/src/script/sigcache.cpp
Examining data/dogecoin-1.14.2/src/script/sigcache.h
Examining data/dogecoin-1.14.2/src/script/sign.cpp
Examining data/dogecoin-1.14.2/src/script/sign.h
Examining data/dogecoin-1.14.2/src/script/standard.cpp
Examining data/dogecoin-1.14.2/src/script/standard.h
Examining data/dogecoin-1.14.2/src/script/dogecoinconsensus.cpp
Examining data/dogecoin-1.14.2/src/script/dogecoinconsensus.h
Examining data/dogecoin-1.14.2/src/secp256k1/contrib/lax_der_parsing.c
Examining data/dogecoin-1.14.2/src/secp256k1/contrib/lax_der_parsing.h
Examining data/dogecoin-1.14.2/src/secp256k1/contrib/lax_der_privatekey_parsing.c
Examining data/dogecoin-1.14.2/src/secp256k1/contrib/lax_der_privatekey_parsing.h
Examining data/dogecoin-1.14.2/src/secp256k1/include/secp256k1.h
Examining data/dogecoin-1.14.2/src/secp256k1/include/secp256k1_ecdh.h
Examining data/dogecoin-1.14.2/src/secp256k1/include/secp256k1_recovery.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/basic-config.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/bench.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/bench_ecdh.c
Examining data/dogecoin-1.14.2/src/secp256k1/src/bench_internal.c
Examining data/dogecoin-1.14.2/src/secp256k1/src/bench_recover.c
Examining data/dogecoin-1.14.2/src/secp256k1/src/bench_schnorr_verify.c
Examining data/dogecoin-1.14.2/src/secp256k1/src/bench_sign.c
Examining data/dogecoin-1.14.2/src/secp256k1/src/bench_verify.c
Examining data/dogecoin-1.14.2/src/secp256k1/src/ecdsa.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/ecdsa_impl.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/eckey.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/eckey_impl.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/ecmult.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/ecmult_const.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/ecmult_const_impl.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/ecmult_gen.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/ecmult_gen_impl.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/ecmult_impl.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/field.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/field_10x26.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/field_10x26_impl.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/field_5x52.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/field_5x52_asm_impl.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/field_5x52_impl.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/field_5x52_int128_impl.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/field_impl.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/gen_context.c
Examining data/dogecoin-1.14.2/src/secp256k1/src/group.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/group_impl.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/hash.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/hash_impl.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/java/org_bitcoin_NativeSecp256k1.c
Examining data/dogecoin-1.14.2/src/secp256k1/src/java/org_bitcoin_NativeSecp256k1.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/java/org_bitcoin_Secp256k1Context.c
Examining data/dogecoin-1.14.2/src/secp256k1/src/java/org_bitcoin_Secp256k1Context.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/modules/ecdh/main_impl.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/modules/ecdh/tests_impl.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/main_impl.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/tests_impl.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/num.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/num_gmp.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/num_gmp_impl.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/num_impl.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/scalar.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/scalar_4x64.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/scalar_4x64_impl.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/scalar_8x32.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/scalar_8x32_impl.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/scalar_impl.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/scalar_low.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/scalar_low_impl.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/secp256k1.c
Examining data/dogecoin-1.14.2/src/secp256k1/src/testrand.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/testrand_impl.h
Examining data/dogecoin-1.14.2/src/secp256k1/src/tests.c
Examining data/dogecoin-1.14.2/src/secp256k1/src/tests_exhaustive.c
Examining data/dogecoin-1.14.2/src/secp256k1/src/util.h
Examining data/dogecoin-1.14.2/src/serialize.h
Examining data/dogecoin-1.14.2/src/streams.h
Examining data/dogecoin-1.14.2/src/support/allocators/secure.h
Examining data/dogecoin-1.14.2/src/support/allocators/zeroafterfree.h
Examining data/dogecoin-1.14.2/src/support/cleanse.cpp
Examining data/dogecoin-1.14.2/src/support/cleanse.h
Examining data/dogecoin-1.14.2/src/support/events.h
Examining data/dogecoin-1.14.2/src/support/lockedpool.cpp
Examining data/dogecoin-1.14.2/src/support/lockedpool.h
Examining data/dogecoin-1.14.2/src/sync.cpp
Examining data/dogecoin-1.14.2/src/sync.h
Examining data/dogecoin-1.14.2/src/test/DoS_tests.cpp
Examining data/dogecoin-1.14.2/src/test/addrman_tests.cpp
Examining data/dogecoin-1.14.2/src/test/alert_tests.cpp
Examining data/dogecoin-1.14.2/src/test/allocator_tests.cpp
Examining data/dogecoin-1.14.2/src/test/amount_tests.cpp
Examining data/dogecoin-1.14.2/src/test/arith_uint256_tests.cpp
Examining data/dogecoin-1.14.2/src/test/auxpow_tests.cpp
Examining data/dogecoin-1.14.2/src/test/base32_tests.cpp
Examining data/dogecoin-1.14.2/src/test/base58_tests.cpp
Examining data/dogecoin-1.14.2/src/test/base64_tests.cpp
Examining data/dogecoin-1.14.2/src/test/bip32_tests.cpp
Examining data/dogecoin-1.14.2/src/test/blockencodings_tests.cpp
Examining data/dogecoin-1.14.2/src/test/bloom_tests.cpp
Examining data/dogecoin-1.14.2/src/test/bswap_tests.cpp
Examining data/dogecoin-1.14.2/src/test/checkqueue_tests.cpp
Examining data/dogecoin-1.14.2/src/test/coins_tests.cpp
Examining data/dogecoin-1.14.2/src/test/compress_tests.cpp
Examining data/dogecoin-1.14.2/src/test/crypto_tests.cpp
Examining data/dogecoin-1.14.2/src/test/cuckoocache_tests.cpp
Examining data/dogecoin-1.14.2/src/test/dbwrapper_tests.cpp
Examining data/dogecoin-1.14.2/src/test/dogecoin_tests.cpp
Examining data/dogecoin-1.14.2/src/test/getarg_tests.cpp
Examining data/dogecoin-1.14.2/src/test/hash_tests.cpp
Examining data/dogecoin-1.14.2/src/test/key_tests.cpp
Examining data/dogecoin-1.14.2/src/test/limitedmap_tests.cpp
Examining data/dogecoin-1.14.2/src/test/main_tests.cpp
Examining data/dogecoin-1.14.2/src/test/mempool_tests.cpp
Examining data/dogecoin-1.14.2/src/test/merkle_tests.cpp
Examining data/dogecoin-1.14.2/src/test/miner_tests.cpp
Examining data/dogecoin-1.14.2/src/test/multisig_tests.cpp
Examining data/dogecoin-1.14.2/src/test/net_tests.cpp
Examining data/dogecoin-1.14.2/src/test/netbase_tests.cpp
Examining data/dogecoin-1.14.2/src/test/pmt_tests.cpp
Examining data/dogecoin-1.14.2/src/test/policyestimator_tests.cpp
Examining data/dogecoin-1.14.2/src/test/pow_tests.cpp
Examining data/dogecoin-1.14.2/src/test/prevector_tests.cpp
Examining data/dogecoin-1.14.2/src/test/raii_event_tests.cpp
Examining data/dogecoin-1.14.2/src/test/reverselock_tests.cpp
Examining data/dogecoin-1.14.2/src/test/rpc_tests.cpp
Examining data/dogecoin-1.14.2/src/test/sanity_tests.cpp
Examining data/dogecoin-1.14.2/src/test/scheduler_tests.cpp
Examining data/dogecoin-1.14.2/src/test/script_P2SH_tests.cpp
Examining data/dogecoin-1.14.2/src/test/scriptnum10.h
Examining data/dogecoin-1.14.2/src/test/scriptnum_tests.cpp
Examining data/dogecoin-1.14.2/src/test/scrypt_tests.cpp
Examining data/dogecoin-1.14.2/src/test/serialize_tests.cpp
Examining data/dogecoin-1.14.2/src/test/sighash_tests.cpp
Examining data/dogecoin-1.14.2/src/test/sigopcount_tests.cpp
Examining data/dogecoin-1.14.2/src/test/skiplist_tests.cpp
Examining data/dogecoin-1.14.2/src/test/streams_tests.cpp
Examining data/dogecoin-1.14.2/src/test/test_bitcoin.cpp
Examining data/dogecoin-1.14.2/src/test/test_bitcoin.h
Examining data/dogecoin-1.14.2/src/test/test_bitcoin_fuzzy.cpp
Examining data/dogecoin-1.14.2/src/test/test_random.h
Examining data/dogecoin-1.14.2/src/test/testutil.cpp
Examining data/dogecoin-1.14.2/src/test/testutil.h
Examining data/dogecoin-1.14.2/src/test/timedata_tests.cpp
Examining data/dogecoin-1.14.2/src/test/transaction_tests.cpp
Examining data/dogecoin-1.14.2/src/test/txvalidationcache_tests.cpp
Examining data/dogecoin-1.14.2/src/test/uint256_tests.cpp
Examining data/dogecoin-1.14.2/src/test/univalue_tests.cpp
Examining data/dogecoin-1.14.2/src/test/util_tests.cpp
Examining data/dogecoin-1.14.2/src/test/versionbits_tests.cpp
Examining data/dogecoin-1.14.2/src/test/script_tests.cpp
Examining data/dogecoin-1.14.2/src/threadinterrupt.cpp
Examining data/dogecoin-1.14.2/src/threadinterrupt.h
Examining data/dogecoin-1.14.2/src/threadsafety.h
Examining data/dogecoin-1.14.2/src/timedata.cpp
Examining data/dogecoin-1.14.2/src/timedata.h
Examining data/dogecoin-1.14.2/src/tinyformat.h
Examining data/dogecoin-1.14.2/src/torcontrol.cpp
Examining data/dogecoin-1.14.2/src/torcontrol.h
Examining data/dogecoin-1.14.2/src/txdb.cpp
Examining data/dogecoin-1.14.2/src/txdb.h
Examining data/dogecoin-1.14.2/src/txmempool.cpp
Examining data/dogecoin-1.14.2/src/txmempool.h
Examining data/dogecoin-1.14.2/src/ui_interface.cpp
Examining data/dogecoin-1.14.2/src/ui_interface.h
Examining data/dogecoin-1.14.2/src/uint256.cpp
Examining data/dogecoin-1.14.2/src/uint256.h
Examining data/dogecoin-1.14.2/src/undo.h
Examining data/dogecoin-1.14.2/src/univalue/gen/gen.cpp
Examining data/dogecoin-1.14.2/src/univalue/include/univalue.h
Examining data/dogecoin-1.14.2/src/univalue/lib/univalue.cpp
Examining data/dogecoin-1.14.2/src/univalue/lib/univalue_escapes.h
Examining data/dogecoin-1.14.2/src/univalue/lib/univalue_read.cpp
Examining data/dogecoin-1.14.2/src/univalue/lib/univalue_utffilter.h
Examining data/dogecoin-1.14.2/src/univalue/lib/univalue_write.cpp
Examining data/dogecoin-1.14.2/src/univalue/test/unitester.cpp
Examining data/dogecoin-1.14.2/src/util.cpp
Examining data/dogecoin-1.14.2/src/util.h
Examining data/dogecoin-1.14.2/src/utilmoneystr.cpp
Examining data/dogecoin-1.14.2/src/utilmoneystr.h
Examining data/dogecoin-1.14.2/src/utilstrencodings.cpp
Examining data/dogecoin-1.14.2/src/utilstrencodings.h
Examining data/dogecoin-1.14.2/src/utiltime.cpp
Examining data/dogecoin-1.14.2/src/utiltime.h
Examining data/dogecoin-1.14.2/src/validation.cpp
Examining data/dogecoin-1.14.2/src/validation.h
Examining data/dogecoin-1.14.2/src/validationinterface.cpp
Examining data/dogecoin-1.14.2/src/validationinterface.h
Examining data/dogecoin-1.14.2/src/version.h
Examining data/dogecoin-1.14.2/src/versionbits.cpp
Examining data/dogecoin-1.14.2/src/versionbits.h
Examining data/dogecoin-1.14.2/src/wallet/coincontrol.h
Examining data/dogecoin-1.14.2/src/wallet/crypter.cpp
Examining data/dogecoin-1.14.2/src/wallet/crypter.h
Examining data/dogecoin-1.14.2/src/wallet/db.cpp
Examining data/dogecoin-1.14.2/src/wallet/db.h
Examining data/dogecoin-1.14.2/src/wallet/rpcdump.cpp
Examining data/dogecoin-1.14.2/src/wallet/rpcwallet.h
Examining data/dogecoin-1.14.2/src/wallet/test/accounting_tests.cpp
Examining data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp
Examining data/dogecoin-1.14.2/src/wallet/test/wallet_test_fixture.cpp
Examining data/dogecoin-1.14.2/src/wallet/test/wallet_test_fixture.h
Examining data/dogecoin-1.14.2/src/wallet/test/wallet_tests.cpp
Examining data/dogecoin-1.14.2/src/wallet/wallet.cpp
Examining data/dogecoin-1.14.2/src/wallet/wallet.h
Examining data/dogecoin-1.14.2/src/wallet/walletdb.cpp
Examining data/dogecoin-1.14.2/src/wallet/walletdb.h
Examining data/dogecoin-1.14.2/src/wallet/rpcwallet.cpp
Examining data/dogecoin-1.14.2/src/warnings.cpp
Examining data/dogecoin-1.14.2/src/warnings.h
Examining data/dogecoin-1.14.2/src/zmq/zmqabstractnotifier.cpp
Examining data/dogecoin-1.14.2/src/zmq/zmqabstractnotifier.h
Examining data/dogecoin-1.14.2/src/zmq/zmqconfig.h
Examining data/dogecoin-1.14.2/src/zmq/zmqnotificationinterface.cpp
Examining data/dogecoin-1.14.2/src/zmq/zmqnotificationinterface.h
Examining data/dogecoin-1.14.2/src/zmq/zmqpublishnotifier.cpp
Examining data/dogecoin-1.14.2/src/zmq/zmqpublishnotifier.h

FINAL RESULTS:

data/dogecoin-1.14.2/src/qt/guiutil.cpp:731:13:  [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.
        if (readlink("/proc/self/exe", pszExePath, sizeof(pszExePath)-1) == -1)
data/dogecoin-1.14.2/src/leveldb/port/port_win.h:35: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 _snprintf
data/dogecoin-1.14.2/src/leveldb/port/port_win.h:35:18:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/dogecoin-1.14.2/src/leveldb/util/env_posix.cc:368:12:  [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.
    return access(fname.c_str(), F_OK) == 0;
data/dogecoin-1.14.2/src/leveldb/util/env_win.cc:578:18:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
            p += vsnprintf(p, limit - p, format, backup_ap);
data/dogecoin-1.14.2/src/leveldb/util/posix_logger.h:67:14:  [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.
        p += vsnprintf(p, limit - p, format, backup_ap);
data/dogecoin-1.14.2/src/qt/bitcoin.cpp:105:39:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    QString lang_territory = QLocale::system().name();
data/dogecoin-1.14.2/src/tinyformat.h:965:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf(const char* fmt, const Args&... args)
data/dogecoin-1.14.2/src/tinyformat.h:991:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
inline void printf(const char* fmt)
data/dogecoin-1.14.2/src/tinyformat.h:1019:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void printf(const char* fmt, TINYFORMAT_VARARGS(n))                       \
data/dogecoin-1.14.2/src/util.cpp:776:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    int nErr = ::system(strCommand.c_str());
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:103:14:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    CCrypter crypt;
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:104:5:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    crypt.SetKeyFromPassphrase(passphrase, vchSalt, rounds, 0);
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:108:39:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    BOOST_CHECK_MESSAGE(memcmp(chKey, crypt.vchKey.data(), crypt.vchKey.size()) == 0, \
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:108:60:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    BOOST_CHECK_MESSAGE(memcmp(chKey, crypt.vchKey.data(), crypt.vchKey.size()) == 0, \
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:109:75:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
        HexStr(chKey, chKey+sizeof(chKey)) + std::string(" != ") + HexStr(crypt.vchKey));
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:110:38:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    BOOST_CHECK_MESSAGE(memcmp(chIV, crypt.vchIV.data(), crypt.vchIV.size()) == 0, \
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:110:58:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    BOOST_CHECK_MESSAGE(memcmp(chIV, crypt.vchIV.data(), crypt.vchIV.size()) == 0, \
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:111:72:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
        HexStr(chIV, chIV+sizeof(chIV)) + std::string(" != ") + HexStr(crypt.vchIV));
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:131:41:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
static void TestDecrypt(const CCrypter& crypt, const std::vector<unsigned char>& vchCiphertext, \
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:137:15:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    result1 = crypt.Decrypt(vchCiphertext, vchDecrypted1);
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:138:56:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    result2 = OldDecrypt(vchCiphertext, vchDecrypted2, crypt.vchKey.data(), crypt.vchIV.data());
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:138:77:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    result2 = OldDecrypt(vchCiphertext, vchDecrypted2, crypt.vchKey.data(), crypt.vchIV.data());
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:156:47:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
static void TestEncryptSingle(const CCrypter& crypt, const CKeyingMaterial& vchPlaintext,
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:161:19:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    int result1 = crypt.Encrypt(vchPlaintext, vchCiphertext1);
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:163:60:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    int result2 = OldEncrypt(vchPlaintext, vchCiphertext2, crypt.vchKey.data(), crypt.vchIV.data());
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:163:81:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    int result2 = OldEncrypt(vchPlaintext, vchCiphertext2, crypt.vchKey.data(), crypt.vchIV.data());
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:173:21:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
        TestDecrypt(crypt, vchCiphertext1, vchPlaintext2);
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:176:41:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
static void TestEncrypt(const CCrypter& crypt, const std::vector<unsigned char>& vchPlaintextIn, \
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:179:23:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    TestEncryptSingle(crypt, CKeyingMaterial(vchPlaintextIn.begin(), vchPlaintextIn.end()), vchCiphertextCorrect);
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:181:27:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
        TestEncryptSingle(crypt, CKeyingMaterial(i, vchPlaintextIn.end()));
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:205:14:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    CCrypter crypt;
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:206:5:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    crypt.SetKeyFromPassphrase("passphrase", vchSalt, 25000, 0);
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:207:30:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    TestCrypter::TestEncrypt(crypt, ParseHex("22bcade09ac03ff6386914359cfe885cfeb5f77ff0d670f102f619687453b29d"));
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:212:34:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
        TestCrypter::TestEncrypt(crypt, std::vector<unsigned char>(hash.begin(), hash.end()));
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:220:14:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    CCrypter crypt;
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:221:5:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    crypt.SetKeyFromPassphrase("passphrase", vchSalt, 25000, 0);
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:224:30:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    TestCrypter::TestDecrypt(crypt,ParseHex("795643ce39d736088367822cdc50535ec6f103715e3e48f4f3b1a60a08ef59ca"));
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:225:30:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    TestCrypter::TestDecrypt(crypt,ParseHex("de096f4a8f9bd97db012aa9d90d74de8cdea779c3ee8bc7633d8b5d6da703486"));
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:226:30:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    TestCrypter::TestDecrypt(crypt,ParseHex("32d0a8974e3afd9c6c3ebf4d66aa4e6419f8c173de25947f98cf8b7ace49449c"));
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:227:30:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    TestCrypter::TestDecrypt(crypt,ParseHex("e7c055cca2faa78cb9ac22c9357a90b4778ded9b2cc220a14cea49f931e596ea"));
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:228:30:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    TestCrypter::TestDecrypt(crypt,ParseHex("b88efddd668a6801d19516d6830da4ae9811988ccbaf40df8fbb72f3f4d335fd"));
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:229:30:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    TestCrypter::TestDecrypt(crypt,ParseHex("8cae76aa6a43694e961ebcb28c8ca8f8540b84153d72865e8561ddd93fa7bfa9"));
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:234:34:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
        TestCrypter::TestDecrypt(crypt, std::vector<unsigned char>(hash.begin(), hash.end()));
data/dogecoin-1.14.2/src/leveldb/db/c_test.c:23: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.
    const char* ret = getenv("TEST_TMPDIR");
data/dogecoin-1.14.2/src/leveldb/port/port_win.cc:43:5:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  ::InitializeCriticalSection(static_cast<CRITICAL_SECTION *>(cs_));
data/dogecoin-1.14.2/src/leveldb/port/port_win.cc:57:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  ::EnterCriticalSection(static_cast<CRITICAL_SECTION *>(cs_));
data/dogecoin-1.14.2/src/leveldb/util/env_posix.cc:469: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.
    const char* env = getenv("TEST_TMPDIR");
data/dogecoin-1.14.2/src/leveldb/util/testharness.cc:37:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char* matcher = getenv("LEVELDB_TESTS");
data/dogecoin-1.14.2/src/leveldb/util/testharness.cc:68:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char* env = getenv("TEST_RANDOM_SEED");
data/dogecoin-1.14.2/src/qt/guiutil.cpp:689:27:  [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* pszConfigHome = getenv("XDG_CONFIG_HOME");
data/dogecoin-1.14.2/src/qt/guiutil.cpp:691:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char* pszHome = getenv("HOME");
data/dogecoin-1.14.2/src/test/scheduler_tests.cpp:59:12:  [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.
    boost::random::mt19937 rng(42);
data/dogecoin-1.14.2/src/test/scheduler_tests.cpp:60:12:  [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.
    boost::random::uniform_int_distribution<> zeroToNine(0, 9);
data/dogecoin-1.14.2/src/test/scheduler_tests.cpp:61:12:  [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.
    boost::random::uniform_int_distribution<> randomMsec(-11, 1000);
data/dogecoin-1.14.2/src/test/scheduler_tests.cpp:62:12:  [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.
    boost::random::uniform_int_distribution<> randomDelta(-1000, 1000);
data/dogecoin-1.14.2/src/util.cpp:494:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char* pszHome = getenv("HOME");
data/dogecoin-1.14.2/src/addrdb.cpp:40: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 *file = fopen(pathTmp.string().c_str(), "wb");
data/dogecoin-1.14.2/src/addrdb.cpp:65: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 *file = fopen(pathBanlist.string().c_str(), "rb");
data/dogecoin-1.14.2/src/addrdb.cpp:97:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pchMsgTmp[4];
data/dogecoin-1.14.2/src/addrdb.cpp:137: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 *file = fopen(pathTmp.string().c_str(), "wb");
data/dogecoin-1.14.2/src/addrdb.cpp:162: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 *file = fopen(pathAddr.string().c_str(), "rb");
data/dogecoin-1.14.2/src/addrdb.cpp:199:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pchMsgTmp[4];
data/dogecoin-1.14.2/src/auxpow.cpp:144: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(&nSize, &pc[0], 4);
data/dogecoin-1.14.2/src/auxpow.cpp:151: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(&nNonce, &pc[4], 4);
data/dogecoin-1.14.2/src/base58.cpp:163: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(&vchData[0], pdata, nSize);
data/dogecoin-1.14.2/src/base58.cpp:183: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(&vchData[0], &vchTemp[nVersionBytes], vchData.size());
data/dogecoin-1.14.2/src/base58.cpp:265: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(&id, &vchData[0], 20);
data/dogecoin-1.14.2/src/base58.cpp:279: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(&id, &vchData[0], 20);
data/dogecoin-1.14.2/src/base58.h:142:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char vch[Size];
data/dogecoin-1.14.2/src/bench/base58.cpp:16:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buff[32] = {
data/dogecoin-1.14.2/src/bench/base58.cpp:30:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buff[32] = {
data/dogecoin-1.14.2/src/bench/verify_script.cpp:58:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const unsigned char vchKey[32] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1};
data/dogecoin-1.14.2/src/bitcoin-tx.cpp:150:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *f = fopen(filename.c_str(), "r");
data/dogecoin-1.14.2/src/bitcoin-tx.cpp:159: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[4096];
data/dogecoin-1.14.2/src/bitcoin-tx.cpp:225:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int vout = atoi(strVout);
data/dogecoin-1.14.2/src/bitcoin-tx.cpp:442:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int inIdx = atoi(strInIdx);
data/dogecoin-1.14.2/src/bitcoin-tx.cpp:455:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int outIdx = atoi(strOutIdx);
data/dogecoin-1.14.2/src/bitcoin-tx.cpp:571: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).
            int nOut = atoi(prevOut["vout"].getValStr());
data/dogecoin-1.14.2/src/bitcoin-tx.cpp:735: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[4096];
data/dogecoin-1.14.2/src/compat/glibc_compat.cpp:17:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
extern "C" void* memcpy(void* a, const void* b, size_t c)
data/dogecoin-1.14.2/src/compat/glibc_sanity.cpp:15:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
extern "C" void* memcpy(void* a, const void* b, size_t c);
data/dogecoin-1.14.2/src/compat/glibc_sanity.cpp:18:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    return memcpy(a, b, c);
data/dogecoin-1.14.2/src/compressor.cpp:17: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(&hash, &script[3], 20);
data/dogecoin-1.14.2/src/compressor.cpp:27: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(&hash, &script[2], 20);
data/dogecoin-1.14.2/src/compressor.cpp:54: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(&out[1], &keyID, 20);
data/dogecoin-1.14.2/src/compressor.cpp:61: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(&out[1], &scriptID, 20);
data/dogecoin-1.14.2/src/compressor.cpp:67: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(&out[1], &pubkey[1], 32);
data/dogecoin-1.14.2/src/compressor.cpp:96:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&script[3], &in[0], 20);
data/dogecoin-1.14.2/src/compressor.cpp:104: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(&script[2], &in[0], 20);
data/dogecoin-1.14.2/src/compressor.cpp:112: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(&script[2], &in[0], 32);
data/dogecoin-1.14.2/src/compressor.cpp:117:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char vch[33] = {};
data/dogecoin-1.14.2/src/compressor.cpp:119: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(&vch[1], &in[0], 32);
data/dogecoin-1.14.2/src/compressor.cpp:126: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(&script[1], pubkey.begin(), 65);
data/dogecoin-1.14.2/src/crypto/aes.cpp:15: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.
AES128Encrypt::AES128Encrypt(const unsigned char key[16])
data/dogecoin-1.14.2/src/crypto/aes.cpp:25:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void AES128Encrypt::Encrypt(unsigned char ciphertext[16], const unsigned char plaintext[16]) const
data/dogecoin-1.14.2/src/crypto/aes.cpp:25:74:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void AES128Encrypt::Encrypt(unsigned char ciphertext[16], const unsigned char plaintext[16]) const
data/dogecoin-1.14.2/src/crypto/aes.cpp:30: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.
AES128Decrypt::AES128Decrypt(const unsigned char key[16])
data/dogecoin-1.14.2/src/crypto/aes.cpp:40:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void AES128Decrypt::Decrypt(unsigned char plaintext[16], const unsigned char ciphertext[16]) const
data/dogecoin-1.14.2/src/crypto/aes.cpp:40:73:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void AES128Decrypt::Decrypt(unsigned char plaintext[16], const unsigned char ciphertext[16]) const
data/dogecoin-1.14.2/src/crypto/aes.cpp:45: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.
AES256Encrypt::AES256Encrypt(const unsigned char key[32])
data/dogecoin-1.14.2/src/crypto/aes.cpp:55:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void AES256Encrypt::Encrypt(unsigned char ciphertext[16], const unsigned char plaintext[16]) const
data/dogecoin-1.14.2/src/crypto/aes.cpp:55:74:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void AES256Encrypt::Encrypt(unsigned char ciphertext[16], const unsigned char plaintext[16]) const
data/dogecoin-1.14.2/src/crypto/aes.cpp:60: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.
AES256Decrypt::AES256Decrypt(const unsigned char key[32])
data/dogecoin-1.14.2/src/crypto/aes.cpp:70:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void AES256Decrypt::Decrypt(unsigned char plaintext[16], const unsigned char ciphertext[16]) const
data/dogecoin-1.14.2/src/crypto/aes.cpp:70:73:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void AES256Decrypt::Decrypt(unsigned char plaintext[16], const unsigned char ciphertext[16]) const
data/dogecoin-1.14.2/src/crypto/aes.cpp:77:52:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 int CBCEncrypt(const T& enc, const unsigned char iv[AES_BLOCKSIZE], const unsigned char* data, int size, bool pad, unsigned char* out)
data/dogecoin-1.14.2/src/crypto/aes.cpp:81:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char mixed[AES_BLOCKSIZE];
data/dogecoin-1.14.2/src/crypto/aes.cpp:89: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(mixed, iv, AES_BLOCKSIZE);
data/dogecoin-1.14.2/src/crypto/aes.cpp:96:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(mixed, out + written, AES_BLOCKSIZE);
data/dogecoin-1.14.2/src/crypto/aes.cpp:113:52:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 int CBCDecrypt(const T& dec, const unsigned char iv[AES_BLOCKSIZE], const unsigned char* data, int size, bool pad, unsigned char* out)
data/dogecoin-1.14.2/src/crypto/aes.cpp:154:51:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
AES256CBCEncrypt::AES256CBCEncrypt(const unsigned char key[AES256_KEYSIZE], const unsigned char ivIn[AES_BLOCKSIZE], bool padIn)
data/dogecoin-1.14.2/src/crypto/aes.cpp:154:92:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
AES256CBCEncrypt::AES256CBCEncrypt(const unsigned char key[AES256_KEYSIZE], const unsigned char ivIn[AES_BLOCKSIZE], bool padIn)
data/dogecoin-1.14.2/src/crypto/aes.cpp:157: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(iv, ivIn, AES_BLOCKSIZE);
data/dogecoin-1.14.2/src/crypto/aes.cpp:170:51:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
AES256CBCDecrypt::AES256CBCDecrypt(const unsigned char key[AES256_KEYSIZE], const unsigned char ivIn[AES_BLOCKSIZE], bool padIn)
data/dogecoin-1.14.2/src/crypto/aes.cpp:170:92:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
AES256CBCDecrypt::AES256CBCDecrypt(const unsigned char key[AES256_KEYSIZE], const unsigned char ivIn[AES_BLOCKSIZE], bool padIn)
data/dogecoin-1.14.2/src/crypto/aes.cpp:173: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(iv, ivIn, AES_BLOCKSIZE);
data/dogecoin-1.14.2/src/crypto/aes.cpp:187:51:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
AES128CBCEncrypt::AES128CBCEncrypt(const unsigned char key[AES128_KEYSIZE], const unsigned char ivIn[AES_BLOCKSIZE], bool padIn)
data/dogecoin-1.14.2/src/crypto/aes.cpp:187:92:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
AES128CBCEncrypt::AES128CBCEncrypt(const unsigned char key[AES128_KEYSIZE], const unsigned char ivIn[AES_BLOCKSIZE], bool padIn)
data/dogecoin-1.14.2/src/crypto/aes.cpp:190: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(iv, ivIn, AES_BLOCKSIZE);
data/dogecoin-1.14.2/src/crypto/aes.cpp:203:51:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
AES128CBCDecrypt::AES128CBCDecrypt(const unsigned char key[AES128_KEYSIZE], const unsigned char ivIn[AES_BLOCKSIZE], bool padIn)
data/dogecoin-1.14.2/src/crypto/aes.cpp:203:92:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
AES128CBCDecrypt::AES128CBCDecrypt(const unsigned char key[AES128_KEYSIZE], const unsigned char ivIn[AES_BLOCKSIZE], bool padIn)
data/dogecoin-1.14.2/src/crypto/aes.cpp:206: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(iv, ivIn, AES_BLOCKSIZE);
data/dogecoin-1.14.2/src/crypto/aes.h:25:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    AES128Encrypt(const unsigned char key[16]);
data/dogecoin-1.14.2/src/crypto/aes.h:27: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.
    void Encrypt(unsigned char ciphertext[16], const unsigned char plaintext[16]) const;
data/dogecoin-1.14.2/src/crypto/aes.h:27:63:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    void Encrypt(unsigned char ciphertext[16], const unsigned char plaintext[16]) const;
data/dogecoin-1.14.2/src/crypto/aes.h:37:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    AES128Decrypt(const unsigned char key[16]);
data/dogecoin-1.14.2/src/crypto/aes.h:39: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.
    void Decrypt(unsigned char plaintext[16], const unsigned char ciphertext[16]) const;
data/dogecoin-1.14.2/src/crypto/aes.h:39:62:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    void Decrypt(unsigned char plaintext[16], const unsigned char ciphertext[16]) const;
data/dogecoin-1.14.2/src/crypto/aes.h:49:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    AES256Encrypt(const unsigned char key[32]);
data/dogecoin-1.14.2/src/crypto/aes.h:51: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.
    void Encrypt(unsigned char ciphertext[16], const unsigned char plaintext[16]) const;
data/dogecoin-1.14.2/src/crypto/aes.h:51:63:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    void Encrypt(unsigned char ciphertext[16], const unsigned char plaintext[16]) const;
data/dogecoin-1.14.2/src/crypto/aes.h:61:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    AES256Decrypt(const unsigned char key[32]);
data/dogecoin-1.14.2/src/crypto/aes.h:63: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.
    void Decrypt(unsigned char plaintext[16], const unsigned char ciphertext[16]) const;
data/dogecoin-1.14.2/src/crypto/aes.h:63:62:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    void Decrypt(unsigned char plaintext[16], const unsigned char ciphertext[16]) const;
data/dogecoin-1.14.2/src/crypto/aes.h:69: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.
    AES256CBCEncrypt(const unsigned char key[AES256_KEYSIZE], const unsigned char ivIn[AES_BLOCKSIZE], bool padIn);
data/dogecoin-1.14.2/src/crypto/aes.h:69: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.
    AES256CBCEncrypt(const unsigned char key[AES256_KEYSIZE], const unsigned char ivIn[AES_BLOCKSIZE], bool padIn);
data/dogecoin-1.14.2/src/crypto/aes.h:76:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char iv[AES_BLOCKSIZE];
data/dogecoin-1.14.2/src/crypto/aes.h:82: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.
    AES256CBCDecrypt(const unsigned char key[AES256_KEYSIZE], const unsigned char ivIn[AES_BLOCKSIZE], bool padIn);
data/dogecoin-1.14.2/src/crypto/aes.h:82: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.
    AES256CBCDecrypt(const unsigned char key[AES256_KEYSIZE], const unsigned char ivIn[AES_BLOCKSIZE], bool padIn);
data/dogecoin-1.14.2/src/crypto/aes.h:89:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char iv[AES_BLOCKSIZE];
data/dogecoin-1.14.2/src/crypto/aes.h:95: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.
    AES128CBCEncrypt(const unsigned char key[AES128_KEYSIZE], const unsigned char ivIn[AES_BLOCKSIZE], bool padIn);
data/dogecoin-1.14.2/src/crypto/aes.h:95: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.
    AES128CBCEncrypt(const unsigned char key[AES128_KEYSIZE], const unsigned char ivIn[AES_BLOCKSIZE], bool padIn);
data/dogecoin-1.14.2/src/crypto/aes.h:102:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char iv[AES_BLOCKSIZE];
data/dogecoin-1.14.2/src/crypto/aes.h:108: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.
    AES128CBCDecrypt(const unsigned char key[AES128_KEYSIZE], const unsigned char ivIn[AES_BLOCKSIZE], bool padIn);
data/dogecoin-1.14.2/src/crypto/aes.h:108: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.
    AES128CBCDecrypt(const unsigned char key[AES128_KEYSIZE], const unsigned char ivIn[AES_BLOCKSIZE], bool padIn);
data/dogecoin-1.14.2/src/crypto/aes.h:115:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char iv[AES_BLOCKSIZE];
data/dogecoin-1.14.2/src/crypto/common.h:20: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((char*)&x, ptr, 2);
data/dogecoin-1.14.2/src/crypto/common.h:27: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((char*)&x, ptr, 4);
data/dogecoin-1.14.2/src/crypto/common.h:34: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((char*)&x, ptr, 8);
data/dogecoin-1.14.2/src/crypto/common.h:41:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ptr, (char*)&v, 2);
data/dogecoin-1.14.2/src/crypto/common.h:47:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ptr, (char*)&v, 4);
data/dogecoin-1.14.2/src/crypto/common.h:53:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ptr, (char*)&v, 8);
data/dogecoin-1.14.2/src/crypto/common.h:59: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((char*)&x, ptr, 4);
data/dogecoin-1.14.2/src/crypto/common.h:66: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((char*)&x, ptr, 8);
data/dogecoin-1.14.2/src/crypto/common.h:73:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ptr, (char*)&v, 4);
data/dogecoin-1.14.2/src/crypto/common.h:79:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ptr, (char*)&v, 8);
data/dogecoin-1.14.2/src/crypto/ctaes/bench.c:69: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.
    static const unsigned char key[16] = {0};
data/dogecoin-1.14.2/src/crypto/ctaes/bench.c:75:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char scratch[16] = {0};
data/dogecoin-1.14.2/src/crypto/ctaes/bench.c:84:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char scratch[16] = {0};
data/dogecoin-1.14.2/src/crypto/ctaes/bench.c:101: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.
    static const unsigned char key[16] = {0};
data/dogecoin-1.14.2/src/crypto/ctaes/bench.c:107:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char scratch[16] = {0};
data/dogecoin-1.14.2/src/crypto/ctaes/bench.c:116:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char scratch[16] = {0};
data/dogecoin-1.14.2/src/crypto/ctaes/bench.c:134: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.
    static const unsigned char key[16] = {0};
data/dogecoin-1.14.2/src/crypto/ctaes/bench.c:140:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char scratch[16] = {0};
data/dogecoin-1.14.2/src/crypto/ctaes/bench.c:149:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char scratch[16] = {0};
data/dogecoin-1.14.2/src/crypto/ctaes/test.c:64:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char key[32], plain[16], cipher[16], ciphered[16], deciphered[16];
data/dogecoin-1.14.2/src/crypto/hmac_sha256.cpp:11:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char rkey[64];
data/dogecoin-1.14.2/src/crypto/hmac_sha256.cpp:13: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(rkey, key, keylen);
data/dogecoin-1.14.2/src/crypto/hmac_sha256.cpp:29:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void CHMAC_SHA256::Finalize(unsigned char hash[OUTPUT_SIZE])
data/dogecoin-1.14.2/src/crypto/hmac_sha256.cpp:31:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char temp[32];
data/dogecoin-1.14.2/src/crypto/hmac_sha256.h:27: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(dest, this, sizeof(CHMAC_SHA256));
data/dogecoin-1.14.2/src/crypto/hmac_sha256.h:34:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    void Finalize(unsigned char hash[OUTPUT_SIZE]);
data/dogecoin-1.14.2/src/crypto/hmac_sha512.cpp:11:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char rkey[128];
data/dogecoin-1.14.2/src/crypto/hmac_sha512.cpp:13: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(rkey, key, keylen);
data/dogecoin-1.14.2/src/crypto/hmac_sha512.cpp:29:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void CHMAC_SHA512::Finalize(unsigned char hash[OUTPUT_SIZE])
data/dogecoin-1.14.2/src/crypto/hmac_sha512.cpp:31:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char temp[64];
data/dogecoin-1.14.2/src/crypto/hmac_sha512.h:29:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    void Finalize(unsigned char hash[OUTPUT_SIZE]);
data/dogecoin-1.14.2/src/crypto/ripemd160.cpp:253: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 + bufsize, data, 64 - bufsize);
data/dogecoin-1.14.2/src/crypto/ripemd160.cpp:267: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 + bufsize, data, end - data);
data/dogecoin-1.14.2/src/crypto/ripemd160.cpp:273:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void CRIPEMD160::Finalize(unsigned char hash[OUTPUT_SIZE])
data/dogecoin-1.14.2/src/crypto/ripemd160.cpp:275: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.
    static const unsigned char pad[64] = {0x80};
data/dogecoin-1.14.2/src/crypto/ripemd160.cpp:276:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sizedesc[8];
data/dogecoin-1.14.2/src/crypto/ripemd160.h:16:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[64];
data/dogecoin-1.14.2/src/crypto/ripemd160.h:24:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    void Finalize(unsigned char hash[OUTPUT_SIZE]);
data/dogecoin-1.14.2/src/crypto/scrypt.cpp:97: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(T, U, CHMAC_SHA256::OUTPUT_SIZE);
data/dogecoin-1.14.2/src/crypto/scrypt.cpp:114: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(&buf[i * CHMAC_SHA256::OUTPUT_SIZE], T, clen);
data/dogecoin-1.14.2/src/crypto/scrypt.cpp: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(&V[i * 32], X, 128);
data/dogecoin-1.14.2/src/crypto/scrypt.cpp:257: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 scratchpad[SCRYPT_SCRATCHPAD_SIZE];
data/dogecoin-1.14.2/src/crypto/sha1.cpp:160: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 + bufsize, data, 64 - bufsize);
data/dogecoin-1.14.2/src/crypto/sha1.cpp:174: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 + bufsize, data, end - data);
data/dogecoin-1.14.2/src/crypto/sha1.cpp:180: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.
void CSHA1::Finalize(unsigned char hash[OUTPUT_SIZE])
data/dogecoin-1.14.2/src/crypto/sha1.cpp:182: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.
    static const unsigned char pad[64] = {0x80};
data/dogecoin-1.14.2/src/crypto/sha1.cpp:183:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sizedesc[8];
data/dogecoin-1.14.2/src/crypto/sha1.h:16:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[64];
data/dogecoin-1.14.2/src/crypto/sha1.h:24:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    void Finalize(unsigned char hash[OUTPUT_SIZE]);
data/dogecoin-1.14.2/src/crypto/sha256.cpp:147: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 + bufsize, data, 64 - bufsize);
data/dogecoin-1.14.2/src/crypto/sha256.cpp:161: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 + bufsize, data, end - data);
data/dogecoin-1.14.2/src/crypto/sha256.cpp:167:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void CSHA256::Finalize(unsigned char hash[OUTPUT_SIZE])
data/dogecoin-1.14.2/src/crypto/sha256.cpp:169: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.
    static const unsigned char pad[64] = {0x80};
data/dogecoin-1.14.2/src/crypto/sha256.cpp:170:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sizedesc[8];
data/dogecoin-1.14.2/src/crypto/sha256.h:16:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[64];
data/dogecoin-1.14.2/src/crypto/sha256.h:24:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    void Finalize(unsigned char hash[OUTPUT_SIZE]);
data/dogecoin-1.14.2/src/crypto/sha512.cpp:165: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 + bufsize, data, 128 - bufsize);
data/dogecoin-1.14.2/src/crypto/sha512.cpp:179: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 + bufsize, data, end - data);
data/dogecoin-1.14.2/src/crypto/sha512.cpp:185:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void CSHA512::Finalize(unsigned char hash[OUTPUT_SIZE])
data/dogecoin-1.14.2/src/crypto/sha512.cpp:187: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.
    static const unsigned char pad[128] = {0x80};
data/dogecoin-1.14.2/src/crypto/sha512.cpp:188:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sizedesc[16] = {0x00};
data/dogecoin-1.14.2/src/crypto/sha512.h:16:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[128];
data/dogecoin-1.14.2/src/crypto/sha512.h:24:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    void Finalize(unsigned char hash[OUTPUT_SIZE]);
data/dogecoin-1.14.2/src/dbwrapper.cpp:112:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buff[OBFUSCATE_KEY_NUM_BYTES];
data/dogecoin-1.14.2/src/hash.cpp:75:74:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void BIP32Hash(const ChainCode &chainCode, unsigned int nChild, unsigned char header, const unsigned char data[32], unsigned char output[64])
data/dogecoin-1.14.2/src/hash.cpp:75:102:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void BIP32Hash(const ChainCode &chainCode, unsigned int nChild, unsigned char header, const unsigned char data[32], unsigned char output[64])
data/dogecoin-1.14.2/src/hash.cpp:75:126:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void BIP32Hash(const ChainCode &chainCode, unsigned int nChild, unsigned char header, const unsigned char data[32], unsigned char output[64])
data/dogecoin-1.14.2/src/hash.cpp:77:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char num[4];
data/dogecoin-1.14.2/src/hash.h:27:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    void Finalize(unsigned char hash[OUTPUT_SIZE]) {
data/dogecoin-1.14.2/src/hash.h:28:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char buf[CSHA256::OUTPUT_SIZE];
data/dogecoin-1.14.2/src/hash.h:51:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    void Finalize(unsigned char hash[OUTPUT_SIZE]) {
data/dogecoin-1.14.2/src/hash.h:52:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char buf[CSHA256::OUTPUT_SIZE];
data/dogecoin-1.14.2/src/hash.h:72: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.
    static const unsigned char pblank[1] = {};
data/dogecoin-1.14.2/src/hash.h:83: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.
    static const unsigned char pblank[1] = {};
data/dogecoin-1.14.2/src/hash.h:96: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.
    static const unsigned char pblank[1] = {};
data/dogecoin-1.14.2/src/hash.h:109:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static unsigned char pblank[1] = {};
data/dogecoin-1.14.2/src/hash.h:174:74:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void BIP32Hash(const ChainCode &chainCode, unsigned int nChild, unsigned char header, const unsigned char data[32], unsigned char output[64]);
data/dogecoin-1.14.2/src/hash.h:174:102:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void BIP32Hash(const ChainCode &chainCode, unsigned int nChild, unsigned char header, const unsigned char data[32], unsigned char output[64]);
data/dogecoin-1.14.2/src/hash.h:174:126:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void BIP32Hash(const ChainCode &chainCode, unsigned int nChild, unsigned char header, const unsigned char data[32], unsigned char output[64]);
data/dogecoin-1.14.2/src/httprpc.cpp:116:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 out[KEY_SIZE];
data/dogecoin-1.14.2/src/init.cpp:221:31:  [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).
        CAutoFile est_fileout(fopen(est_path.string().c_str(), "wb"), SER_DISK, CLIENT_VERSION);
data/dogecoin-1.14.2/src/init.cpp:606: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).
        if (atoi(item.first) == nContigCounter) {
data/dogecoin-1.14.2/src/init.cpp:646: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 *file = fopen(pathBootstrap.string().c_str(), "rb");
data/dogecoin-1.14.2/src/init.cpp:659: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 *file = fopen(path.string().c_str(), "rb");
data/dogecoin-1.14.2/src/init.cpp:1123: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* file = fopen(pathLockFile.string().c_str(), "a"); // empty lock file; created if it doesn't exist.
data/dogecoin-1.14.2/src/init.cpp:1554: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).
    CAutoFile est_filein(fopen(est_path.string().c_str(), "rb"), SER_DISK, CLIENT_VERSION);
data/dogecoin-1.14.2/src/key.cpp:55: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(out32 + 32 - privkey[1], privkey + 2, privkey[1]);
data/dogecoin-1.14.2/src/key.cpp:86: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(ptr, begin, sizeof(begin)); ptr += sizeof(begin);
data/dogecoin-1.14.2/src/key.cpp:87: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(ptr, key32, 32); ptr += 32;
data/dogecoin-1.14.2/src/key.cpp:88: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(ptr, middle, sizeof(middle)); ptr += sizeof(middle);
data/dogecoin-1.14.2/src/key.cpp:111: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(ptr, begin, sizeof(begin)); ptr += sizeof(begin);
data/dogecoin-1.14.2/src/key.cpp:112: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(ptr, key32, 32); ptr += 32;
data/dogecoin-1.14.2/src/key.cpp:113: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(ptr, middle, sizeof(middle)); ptr += sizeof(middle);
data/dogecoin-1.14.2/src/key.cpp:173:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char extra_entropy[32] = {0};
data/dogecoin-1.14.2/src/key.cpp:187:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char rnd[8];
data/dogecoin-1.14.2/src/key.cpp:236: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(ccChild.begin(), vout.data()+32, 32);
data/dogecoin-1.14.2/src/key.cpp:237: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((unsigned char*)keyChild.begin(), begin(), 32);
data/dogecoin-1.14.2/src/key.cpp:247: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(&out.vchFingerprint[0], &id, 4);
data/dogecoin-1.14.2/src/key.cpp:257: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(chaincode.begin(), &vout[32], 32);
data/dogecoin-1.14.2/src/key.cpp:266:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&ret.vchFingerprint[0], &vchFingerprint[0], 4);
data/dogecoin-1.14.2/src/key.cpp:273: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.
void CExtKey::Encode(unsigned char code[BIP32_EXTKEY_SIZE]) const {
data/dogecoin-1.14.2/src/key.cpp:275: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(code+1, vchFingerprint, 4);
data/dogecoin-1.14.2/src/key.cpp:278: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(code+9, chaincode.begin(), 32);
data/dogecoin-1.14.2/src/key.cpp:281: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(code+42, key.begin(), 32);
data/dogecoin-1.14.2/src/key.cpp:284: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.
void CExtKey::Decode(const unsigned char code[BIP32_EXTKEY_SIZE]) {
data/dogecoin-1.14.2/src/key.cpp:286: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(vchFingerprint, code+1, 4);
data/dogecoin-1.14.2/src/key.cpp:288: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(chaincode.begin(), code+9, 32);
data/dogecoin-1.14.2/src/key.h: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.
            memcpy(keydata.data(), (unsigned char*)&pbegin[0], keydata.size());
data/dogecoin-1.14.2/src/key.h:145:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char vchFingerprint[4];
data/dogecoin-1.14.2/src/key.h:159:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    void Encode(unsigned char code[BIP32_EXTKEY_SIZE]) const;
data/dogecoin-1.14.2/src/key.h:160:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    void Decode(const unsigned char code[BIP32_EXTKEY_SIZE]);
data/dogecoin-1.14.2/src/key.h:169:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char code[BIP32_EXTKEY_SIZE];
data/dogecoin-1.14.2/src/key.h:177:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char code[BIP32_EXTKEY_SIZE];
data/dogecoin-1.14.2/src/leveldb/db/autocompact_test.cc:37: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[100];
data/dogecoin-1.14.2/src/leveldb/db/c.cc:148: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(result, str.data(), sizeof(char) * str.size());
data/dogecoin-1.14.2/src/leveldb/db/c_test.c:15: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 dbname[200];
data/dogecoin-1.14.2/src/leveldb/db/c_test.c:145: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(result, "fake", 4);
data/dogecoin-1.14.2/src/leveldb/db/c_test.c:280: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 keybuf[100];
data/dogecoin-1.14.2/src/leveldb/db/c_test.c:281: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 valbuf[100];
data/dogecoin-1.14.2/src/leveldb/db/corruption_test.cc:189: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[100];
data/dogecoin-1.14.2/src/leveldb/db/db_bench.cc:255: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 rate[100];
data/dogecoin-1.14.2/src/leveldb/db/db_bench.cc:367: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* cpuinfo = fopen("/proc/cpuinfo", "r");
data/dogecoin-1.14.2/src/leveldb/db/db_bench.cc:369: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 line[1000];
data/dogecoin-1.14.2/src/leveldb/db/db_bench.cc:670: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[100];
data/dogecoin-1.14.2/src/leveldb/db/db_bench.cc:734: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 msg[100];
data/dogecoin-1.14.2/src/leveldb/db/db_bench.cc:747: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 key[100];
data/dogecoin-1.14.2/src/leveldb/db/db_bench.cc:793: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 key[100];
data/dogecoin-1.14.2/src/leveldb/db/db_bench.cc:801: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 msg[100];
data/dogecoin-1.14.2/src/leveldb/db/db_bench.cc:810: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 key[100];
data/dogecoin-1.14.2/src/leveldb/db/db_bench.cc:823: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 key[100];
data/dogecoin-1.14.2/src/leveldb/db/db_bench.cc:836: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 key[100];
data/dogecoin-1.14.2/src/leveldb/db/db_bench.cc:844: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 msg[100];
data/dogecoin-1.14.2/src/leveldb/db/db_bench.cc:857: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 key[100];
data/dogecoin-1.14.2/src/leveldb/db/db_bench.cc:894: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 key[100];
data/dogecoin-1.14.2/src/leveldb/db/db_bench.cc:925: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 fname[100];
data/dogecoin-1.14.2/src/leveldb/db/db_impl.cc:336: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[50];
data/dogecoin-1.14.2/src/leveldb/db/db_impl.cc:1396: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[100];
data/dogecoin-1.14.2/src/leveldb/db/db_impl.cc:1403: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[200];
data/dogecoin-1.14.2/src/leveldb/db/db_impl.cc:1437: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[50];
data/dogecoin-1.14.2/src/leveldb/db/db_test.cc:388:12:  [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).
    return atoi(property.c_str());
data/dogecoin-1.14.2/src/leveldb/db/db_test.cc:405: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[100];
data/dogecoin-1.14.2/src/leveldb/db/db_test.cc:571: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).
    int mem_usage = atoi(val.c_str());
data/dogecoin-1.14.2/src/leveldb/db/db_test.cc:925: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[100];
data/dogecoin-1.14.2/src/leveldb/db/db_test.cc:1041: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 key[100];
data/dogecoin-1.14.2/src/leveldb/db/db_test.cc:1467: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[100];
data/dogecoin-1.14.2/src/leveldb/db/db_test.cc:1785: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 valbuf[1500];
data/dogecoin-1.14.2/src/leveldb/db/db_test.cc:1790: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 keybuf[20];
data/dogecoin-1.14.2/src/leveldb/db/db_test.cc:2089: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[30];
data/dogecoin-1.14.2/src/leveldb/db/db_test.cc:2139: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[16];
data/dogecoin-1.14.2/src/leveldb/db/dbformat.cc:24: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[50];
data/dogecoin-1.14.2/src/leveldb/db/dbformat.cc:133: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(dst, user_key.data(), usize);
data/dogecoin-1.14.2/src/leveldb/db/dbformat.h:217: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 space_[200];      // Avoid allocation for short keys
data/dogecoin-1.14.2/src/leveldb/db/fault_injection_test.cc:438: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[100];
data/dogecoin-1.14.2/src/leveldb/db/filename.cc:20: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[100];
data/dogecoin-1.14.2/src/leveldb/db/filename.cc:44: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[100];
data/dogecoin-1.14.2/src/leveldb/db/log_reader.cc:170: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[40];
data/dogecoin-1.14.2/src/leveldb/db/log_test.cc:29: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[50];
data/dogecoin-1.14.2/src/leveldb/db/log_writer.cc:89: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[kHeaderSize];
data/dogecoin-1.14.2/src/leveldb/db/memtable.cc:98:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p, key.data(), key_size);
data/dogecoin-1.14.2/src/leveldb/db/memtable.cc:103:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p, value.data(), val_size);
data/dogecoin-1.14.2/src/leveldb/db/recovery_test.cc:249: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[100];
data/dogecoin-1.14.2/src/leveldb/db/recovery_test.cc:268: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[100];
data/dogecoin-1.14.2/src/leveldb/db/table_cache.cc:48: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[sizeof(file_number)];
data/dogecoin-1.14.2/src/leveldb/db/table_cache.cc:122: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[sizeof(file_number)];
data/dogecoin-1.14.2/src/leveldb/db/version_set.cc:201:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  mutable char value_buf_[16];
data/dogecoin-1.14.2/src/leveldb/db/version_set.h:267:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[100];
data/dogecoin-1.14.2/src/leveldb/doc/bench/db_bench_sqlite3.cc:213: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* cpuinfo = fopen("/proc/cpuinfo", "r");
data/dogecoin-1.14.2/src/leveldb/doc/bench/db_bench_sqlite3.cc:215: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 line[1000];
data/dogecoin-1.14.2/src/leveldb/doc/bench/db_bench_sqlite3.cc:284: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 rate[100];
data/dogecoin-1.14.2/src/leveldb/doc/bench/db_bench_sqlite3.cc:421:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char file_name[100];
data/dogecoin-1.14.2/src/leveldb/doc/bench/db_bench_sqlite3.cc:439: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 cache_size[100];
data/dogecoin-1.14.2/src/leveldb/doc/bench/db_bench_sqlite3.cc:447: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 page_size[100];
data/dogecoin-1.14.2/src/leveldb/doc/bench/db_bench_sqlite3.cc:493: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 msg[100];
data/dogecoin-1.14.2/src/leveldb/doc/bench/db_bench_sqlite3.cc:540: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 key[100];
data/dogecoin-1.14.2/src/leveldb/doc/bench/db_bench_sqlite3.cc:612: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 key[100];
data/dogecoin-1.14.2/src/leveldb/doc/bench/db_bench_tree_db.cc:189: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* cpuinfo = fopen("/proc/cpuinfo", "r");
data/dogecoin-1.14.2/src/leveldb/doc/bench/db_bench_tree_db.cc:191: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 line[1000];
data/dogecoin-1.14.2/src/leveldb/doc/bench/db_bench_tree_db.cc:260: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 rate[100];
data/dogecoin-1.14.2/src/leveldb/doc/bench/db_bench_tree_db.cc:394: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 file_name[100];
data/dogecoin-1.14.2/src/leveldb/doc/bench/db_bench_tree_db.cc:419:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!db_->open(file_name, open_options)) {
data/dogecoin-1.14.2/src/leveldb/doc/bench/db_bench_tree_db.cc:439: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 msg[100];
data/dogecoin-1.14.2/src/leveldb/doc/bench/db_bench_tree_db.cc:448: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 key[100];
data/dogecoin-1.14.2/src/leveldb/doc/bench/db_bench_tree_db.cc:473: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 key[100];
data/dogecoin-1.14.2/src/leveldb/helpers/memenv/memenv.cc:83: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(dst, blocks_[block] + block_offset, avail);
data/dogecoin-1.14.2/src/leveldb/helpers/memenv/memenv.cc:115: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(blocks_.back() + offset, src, avail);
data/dogecoin-1.14.2/src/leveldb/helpers/memenv/memenv_test.cc:101: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 scratch[100];
data/dogecoin-1.14.2/src/leveldb/issues/issue178_test.cc:19: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[100];
data/dogecoin-1.14.2/src/leveldb/table/table.cc:47: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 footer_space[Footer::kEncodedLength];
data/dogecoin-1.14.2/src/leveldb/table/table.cc:181: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 cache_key_buffer[16];
data/dogecoin-1.14.2/src/leveldb/table/table_builder.cc:183: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 trailer[kBlockTrailerSize];
data/dogecoin-1.14.2/src/leveldb/table/table_test.cc:128: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(scratch, &contents_[offset], n);
data/dogecoin-1.14.2/src/leveldb/table/table_test.cc:660: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 data[sizeof(uint32_t)];
data/dogecoin-1.14.2/src/leveldb/table/table_test.cc:752:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[100];
data/dogecoin-1.14.2/src/leveldb/table/table_test.cc:755:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    files += atoi(value.c_str());
data/dogecoin-1.14.2/src/leveldb/util/bloom_test.cc:78:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[sizeof(int)];
data/dogecoin-1.14.2/src/leveldb/util/bloom_test.cc:117: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 buffer[sizeof(int)];
data/dogecoin-1.14.2/src/leveldb/util/cache.cc:53: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 key_data[1];   // Beginning of key
data/dogecoin-1.14.2/src/leveldb/util/cache.cc:283: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(e->key_data, key.data(), key.size());
data/dogecoin-1.14.2/src/leveldb/util/coding.cc:11:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buf, &value, sizeof(value));
data/dogecoin-1.14.2/src/leveldb/util/coding.cc:22:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buf, &value, sizeof(value));
data/dogecoin-1.14.2/src/leveldb/util/coding.cc:36: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[sizeof(value)];
data/dogecoin-1.14.2/src/leveldb/util/coding.cc:42: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[sizeof(value)];
data/dogecoin-1.14.2/src/leveldb/util/coding.cc:76: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[5];
data/dogecoin-1.14.2/src/leveldb/util/coding.cc:93: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[10];
data/dogecoin-1.14.2/src/leveldb/util/crc32c_test.cc:15: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[32];
data/dogecoin-1.14.2/src/leveldb/util/crc32c_test.cc:33: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 data[48] = {
data/dogecoin-1.14.2/src/leveldb/util/env_posix.cc:230:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      int fd = open(dir.c_str(), O_RDONLY);
data/dogecoin-1.14.2/src/leveldb/util/env_posix.cc:303:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE* f = fopen(fname.c_str(), "r");
data/dogecoin-1.14.2/src/leveldb/util/env_posix.cc:317: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).
    int fd = open(fname.c_str(), O_RDONLY);
data/dogecoin-1.14.2/src/leveldb/util/env_posix.cc:344:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE* f = fopen(fname.c_str(), "w");
data/dogecoin-1.14.2/src/leveldb/util/env_posix.cc:357:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE* f = fopen(fname.c_str(), "a");
data/dogecoin-1.14.2/src/leveldb/util/env_posix.cc:433: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).
    int fd = open(fname.c_str(), O_RDWR | O_CREAT, 0644);
data/dogecoin-1.14.2/src/leveldb/util/env_posix.cc:473: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[100];
data/dogecoin-1.14.2/src/leveldb/util/env_posix.cc:490:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE* f = fopen(fname.c_str(), "w");
data/dogecoin-1.14.2/src/leveldb/util/env_win.cc:202:2:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	wchar_t buffer[MAX_PATH];
data/dogecoin-1.14.2/src/leveldb/util/env_win.cc:203:2:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
	MultiByteToWideChar(CP_ACP, 0, value.c_str(), -1, buffer, MAX_PATH);
data/dogecoin-1.14.2/src/leveldb/util/env_win.cc:208:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[MAX_PATH];
data/dogecoin-1.14.2/src/leveldb/util/env_win.cc:547:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[500];
data/dogecoin-1.14.2/src/leveldb/util/hash_test.cc:13: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.
  const unsigned char data1[1] = {0x62};
data/dogecoin-1.14.2/src/leveldb/util/hash_test.cc:14: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.
  const unsigned char data2[2] = {0xc3, 0x97};
data/dogecoin-1.14.2/src/leveldb/util/hash_test.cc:15: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.
  const unsigned char data3[3] = {0xe2, 0x99, 0xa5};
data/dogecoin-1.14.2/src/leveldb/util/hash_test.cc:16: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.
  const unsigned char data4[4] = {0xe1, 0x80, 0xb9, 0x32};
data/dogecoin-1.14.2/src/leveldb/util/hash_test.cc:17: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.
  const unsigned char data5[48] = {
data/dogecoin-1.14.2/src/leveldb/util/histogram.cc:107: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[200];
data/dogecoin-1.14.2/src/leveldb/util/logging.cc:17: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[30];
data/dogecoin-1.14.2/src/leveldb/util/logging.cc:28: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[10];
data/dogecoin-1.14.2/src/leveldb/util/posix_logger.h:33:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[500];
data/dogecoin-1.14.2/src/leveldb/util/status.cc:15: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(result, state, size + 5);
data/dogecoin-1.14.2/src/leveldb/util/status.cc:25: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(result, &size, sizeof(size));
data/dogecoin-1.14.2/src/leveldb/util/status.cc:27: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(result + 5, msg.data(), len1);
data/dogecoin-1.14.2/src/leveldb/util/status.cc:31:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(result + 7 + len1, msg2.data(), len2);
data/dogecoin-1.14.2/src/leveldb/util/status.cc:40: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[30];
data/dogecoin-1.14.2/src/leveldb/util/testharness.cc:69: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).
  int result = (env != NULL ? atoi(env) : 301);
data/dogecoin-1.14.2/src/net.cpp:769: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(&hdrbuf[nHdrPos], pch, nCopy);
data/dogecoin-1.14.2/src/net.cpp:805: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(&vRecv[nDataPos], pch, nCopy);
data/dogecoin-1.14.2/src/net.cpp:1302:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char pchBuf[0x10000];
data/dogecoin-1.14.2/src/net.cpp:1429: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 lanaddr[64];
data/dogecoin-1.14.2/src/net.cpp:1452: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 externalIPAddress[40];
data/dogecoin-1.14.2/src/net.cpp:2129: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 pszHostName[256] = "";
data/dogecoin-1.14.2/src/net.cpp:2775: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(hdr.pchChecksum, hash.begin(), CMessageHeader::CHECKSUM_SIZE);
data/dogecoin-1.14.2/src/netaddress.cpp:15: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.
static const unsigned char pchIPv4[12] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xff, 0xff };
data/dogecoin-1.14.2/src/netaddress.cpp:34: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(ip, pchIPv4, 12);
data/dogecoin-1.14.2/src/netaddress.cpp:35: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(ip+12, ip_in, 4);
data/dogecoin-1.14.2/src/netaddress.cpp:38: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(ip, ip_in, 16);
data/dogecoin-1.14.2/src/netaddress.cpp:51: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(ip, pchOnionCat, sizeof(pchOnionCat));
data/dogecoin-1.14.2/src/netaddress.cpp:175:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   static const unsigned char pchLocal[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1};
data/dogecoin-1.14.2/src/netaddress.cpp:200:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ipNone6[16] = {};
data/dogecoin-1.14.2/src/netaddress.cpp:251: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 name[1025] = "";
data/dogecoin-1.14.2/src/netaddress.cpp:289: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(pipv4Addr, ip+12, 4);
data/dogecoin-1.14.2/src/netaddress.cpp:295: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(pipv6Addr, ip, 16);
data/dogecoin-1.14.2/src/netaddress.cpp:548:6:  [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(&vKey[0], ip, 16);
data/dogecoin-1.14.2/src/netaddress.h:33:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char ip[16]; // in network byte order
data/dogecoin-1.14.2/src/netbase.cpp:296: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 pchRet1[2];
data/dogecoin-1.14.2/src/netbase.cpp:322: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 pchRetA[2];
data/dogecoin-1.14.2/src/netbase.cpp:351: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 pchRet2[4];
data/dogecoin-1.14.2/src/netbase.cpp:370: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 pchRet3[256];
data/dogecoin-1.14.2/src/netbase.cpp:642:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[256];
data/dogecoin-1.14.2/src/netbase.cpp:658: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/dogecoin-1.14.2/src/prevector.h:149: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 direct[sizeof(T) * N];
data/dogecoin-1.14.2/src/prevector.h:168:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dst, src, size() * sizeof(T));
data/dogecoin-1.14.2/src/prevector.h:185:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(dst, src, size() * sizeof(T));
data/dogecoin-1.14.2/src/protocol.cpp:81: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(pchMessageStart, pchMessageStartIn, MESSAGE_START_SIZE);
data/dogecoin-1.14.2/src/protocol.cpp:89: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(pchMessageStart, pchMessageStartIn, MESSAGE_START_SIZE);
data/dogecoin-1.14.2/src/protocol.h:40:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    typedef unsigned char MessageStartChars[MESSAGE_START_SIZE];
data/dogecoin-1.14.2/src/protocol.h:59: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 pchMessageStart[MESSAGE_START_SIZE];
data/dogecoin-1.14.2/src/protocol.h:60: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 pchCommand[COMMAND_SIZE];
data/dogecoin-1.14.2/src/pubkey.cpp:30:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char tmpsig[64] = {0};
data/dogecoin-1.14.2/src/pubkey.cpp:140: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(tmpsig + 32 - rlen, input + rpos, rlen);
data/dogecoin-1.14.2/src/pubkey.cpp:152: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(tmpsig + 64 - slen, input + spos, slen);
data/dogecoin-1.14.2/src/pubkey.cpp:200:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pub[65];
data/dogecoin-1.14.2/src/pubkey.cpp:220:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pub[33];
data/dogecoin-1.14.2/src/pubkey.cpp:234:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pub[65];
data/dogecoin-1.14.2/src/pubkey.cpp:245:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char out[64];
data/dogecoin-1.14.2/src/pubkey.cpp:247: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(ccChild.begin(), out+32, 32);
data/dogecoin-1.14.2/src/pubkey.cpp:255:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pub[33];
data/dogecoin-1.14.2/src/pubkey.cpp:262:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void CExtPubKey::Encode(unsigned char code[BIP32_EXTKEY_SIZE]) const {
data/dogecoin-1.14.2/src/pubkey.cpp:264: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(code+1, vchFingerprint, 4);
data/dogecoin-1.14.2/src/pubkey.cpp:267: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(code+9, chaincode.begin(), 32);
data/dogecoin-1.14.2/src/pubkey.cpp:269: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(code+41, pubkey.begin(), 33);
data/dogecoin-1.14.2/src/pubkey.cpp:272:40:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void CExtPubKey::Decode(const unsigned char code[BIP32_EXTKEY_SIZE]) {
data/dogecoin-1.14.2/src/pubkey.cpp:274: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(vchFingerprint, code+1, 4);
data/dogecoin-1.14.2/src/pubkey.cpp:276: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(chaincode.begin(), code+9, 32);
data/dogecoin-1.14.2/src/pubkey.cpp:283: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(&out.vchFingerprint[0], &id, 4);
data/dogecoin-1.14.2/src/pubkey.h:47:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char vch[65];
data/dogecoin-1.14.2/src/pubkey.h: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.
            memcpy(vch, (unsigned char*)&pbegin[0], len);
data/dogecoin-1.14.2/src/pubkey.h:198:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char vchFingerprint[4];
data/dogecoin-1.14.2/src/pubkey.h:212:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    void Encode(unsigned char code[BIP32_EXTKEY_SIZE]) const;
data/dogecoin-1.14.2/src/pubkey.h:213:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    void Decode(const unsigned char code[BIP32_EXTKEY_SIZE]);
data/dogecoin-1.14.2/src/pubkey.h:226:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char code[BIP32_EXTKEY_SIZE];
data/dogecoin-1.14.2/src/pubkey.h:234:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char code[BIP32_EXTKEY_SIZE];
data/dogecoin-1.14.2/src/qt/csvmodelwriter.cpp:52:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(!file.open(QIODevice::WriteOnly | QIODevice::Text))
data/dogecoin-1.14.2/src/qt/guiutil.cpp:630:13:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            TCHAR pszExePath[MAX_PATH];
data/dogecoin-1.14.2/src/qt/guiutil.cpp:665:17:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
                MultiByteToWideChar(CP_ACP, 0, StartupShortcutPath().string().c_str(), -1, pwsz, MAX_PATH);
data/dogecoin-1.14.2/src/qt/guiutil.cpp:729: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 pszExePath[MAX_PATH+1];
data/dogecoin-1.14.2/src/qt/notificator.cpp:277:66:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!notificationIconPixmap.isNull() && notificationIconFile.open()) {
data/dogecoin-1.14.2/src/qt/paymentserver.cpp:504: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).
    if (!f.open(QIODevice::ReadOnly)) {
data/dogecoin-1.14.2/src/qt/rpcconsole.cpp:229:61:  [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).
                                    subelement = lastResult[atoi(curarg.c_str())];
data/dogecoin-1.14.2/src/qt/test/paymentservertests.cpp:45: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();
data/dogecoin-1.14.2/src/qt/test/paymentservertests.cpp:183:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char randData[BIP70_MAX_PAYMENTREQUEST_SIZE + 1];
data/dogecoin-1.14.2/src/qt/test/paymentservertests.cpp:187: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).
    tempFile.open();
data/dogecoin-1.14.2/src/random.cpp:109:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int f = open("/dev/urandom", O_RDONLY);
data/dogecoin-1.14.2/src/random.cpp:136:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[64];
data/dogecoin-1.14.2/src/random.cpp:149: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(out, buf, num);
data/dogecoin-1.14.2/src/rpc/protocol.cpp:81:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char rand_pwd[COOKIE_SIZE];
data/dogecoin-1.14.2/src/rpc/protocol.cpp:90:10:  [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).
    file.open(filepath.string().c_str());
data/dogecoin-1.14.2/src/rpc/protocol.cpp:109:10:  [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).
    file.open(filepath.string().c_str());
data/dogecoin-1.14.2/src/script/dogecoinconsensus.cpp:37: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(pch, m_data, nSize);
data/dogecoin-1.14.2/src/script/sigcache.cpp:35:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        std::memcpy(&u, key.begin()+4*hash_select, 4);
data/dogecoin-1.14.2/src/script/standard.cpp:312:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 h160[20];
data/dogecoin-1.14.2/src/secp256k1/contrib/lax_der_parsing.c:16:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char tmpsig[64] = {0};
data/dogecoin-1.14.2/src/secp256k1/contrib/lax_der_parsing.c:126: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(tmpsig + 32 - rlen, input + rpos, rlen);
data/dogecoin-1.14.2/src/secp256k1/contrib/lax_der_parsing.c:138: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(tmpsig + 64 - slen, input + spos, slen);
data/dogecoin-1.14.2/src/secp256k1/contrib/lax_der_privatekey_parsing.c:48: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(out32 + 32 - privkey[1], privkey + 2, privkey[1]);
data/dogecoin-1.14.2/src/secp256k1/contrib/lax_der_privatekey_parsing.c:79: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(ptr, begin, sizeof(begin)); ptr += sizeof(begin);
data/dogecoin-1.14.2/src/secp256k1/contrib/lax_der_privatekey_parsing.c:80: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(ptr, key32, 32); ptr += 32;
data/dogecoin-1.14.2/src/secp256k1/contrib/lax_der_privatekey_parsing.c:81: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(ptr, middle, sizeof(middle)); ptr += sizeof(middle);
data/dogecoin-1.14.2/src/secp256k1/contrib/lax_der_privatekey_parsing.c:104: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(ptr, begin, sizeof(begin)); ptr += sizeof(begin);
data/dogecoin-1.14.2/src/secp256k1/contrib/lax_der_privatekey_parsing.c:105: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(ptr, key32, 32); ptr += 32;
data/dogecoin-1.14.2/src/secp256k1/contrib/lax_der_privatekey_parsing.c:106: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(ptr, middle, sizeof(middle)); ptr += sizeof(middle);
data/dogecoin-1.14.2/src/secp256k1/include/secp256k1.h:54:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char data[64];
data/dogecoin-1.14.2/src/secp256k1/include/secp256k1.h:67:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char data[64];
data/dogecoin-1.14.2/src/secp256k1/include/secp256k1_recovery.h:25:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char data[65];
data/dogecoin-1.14.2/src/secp256k1/src/bench_ecdh.c:17:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char scalar[32];
data/dogecoin-1.14.2/src/secp256k1/src/bench_ecdh.c:41:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char res[32];
data/dogecoin-1.14.2/src/secp256k1/src/bench_internal.c:26:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char data[64];
data/dogecoin-1.14.2/src/secp256k1/src/bench_internal.c:33: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.
    static const unsigned char init_x[32] = {
data/dogecoin-1.14.2/src/secp256k1/src/bench_internal.c:40: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.
    static const unsigned char init_y[32] = {
data/dogecoin-1.14.2/src/secp256k1/src/bench_internal.c:55: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(data->data, init_x, 32);
data/dogecoin-1.14.2/src/secp256k1/src/bench_internal.c:56: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(data->data + 32, init_y, 32);
data/dogecoin-1.14.2/src/secp256k1/src/bench_recover.c:14:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char msg[32];
data/dogecoin-1.14.2/src/secp256k1/src/bench_recover.c:15:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sig[64];
data/dogecoin-1.14.2/src/secp256k1/src/bench_recover.c:22:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pubkeyc[33];
data/dogecoin-1.14.2/src/secp256k1/src/bench_schnorr_verify.c:16:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char key[32];
data/dogecoin-1.14.2/src/secp256k1/src/bench_schnorr_verify.c:17:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sig[64];
data/dogecoin-1.14.2/src/secp256k1/src/bench_schnorr_verify.c:18:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pubkey[33];
data/dogecoin-1.14.2/src/secp256k1/src/bench_schnorr_verify.c:24:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char msg[32];
data/dogecoin-1.14.2/src/secp256k1/src/bench_sign.c:13:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char msg[32];
data/dogecoin-1.14.2/src/secp256k1/src/bench_sign.c:14:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char key[32];
data/dogecoin-1.14.2/src/secp256k1/src/bench_sign.c:33:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sig[74];
data/dogecoin-1.14.2/src/secp256k1/src/bench_verify.c:22:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char msg[32];
data/dogecoin-1.14.2/src/secp256k1/src/bench_verify.c:23:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char key[32];
data/dogecoin-1.14.2/src/secp256k1/src/bench_verify.c:24:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sig[72];
data/dogecoin-1.14.2/src/secp256k1/src/bench_verify.c:26:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pubkey[33];
data/dogecoin-1.14.2/src/secp256k1/src/ecdsa_impl.h:103:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ra[32] = {0};
data/dogecoin-1.14.2/src/secp256k1/src/ecdsa_impl.h:137: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(ra + 32 - rlen, *sig, rlen);
data/dogecoin-1.14.2/src/secp256k1/src/ecdsa_impl.h:180:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char r[33] = {0}, s[33] = {0};
data/dogecoin-1.14.2/src/secp256k1/src/ecdsa_impl.h:196: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(sig+4, rp, lenR);
data/dogecoin-1.14.2/src/secp256k1/src/ecdsa_impl.h:199: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(sig+lenR+6, sp, lenS);
data/dogecoin-1.14.2/src/secp256k1/src/ecdsa_impl.h:204:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char c[32];
data/dogecoin-1.14.2/src/secp256k1/src/ecdsa_impl.h:276:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b[32];
data/dogecoin-1.14.2/src/secp256k1/src/ecmult_gen_impl.h:40: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.
        static const unsigned char nums_b32[33] = "The scalar for this x is unknown";
data/dogecoin-1.14.2/src/secp256k1/src/ecmult_gen_impl.h:105:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst->prec, src->prec, sizeof(*dst->prec));
data/dogecoin-1.14.2/src/secp256k1/src/ecmult_gen_impl.h:163:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char nonce32[32];
data/dogecoin-1.14.2/src/secp256k1/src/ecmult_gen_impl.h:166:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char keydata[64] = {0};
data/dogecoin-1.14.2/src/secp256k1/src/ecmult_gen_impl.h:179: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(keydata, nonce32, 32);
data/dogecoin-1.14.2/src/secp256k1/src/ecmult_gen_impl.h:181: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(keydata + 32, seed32, 32);
data/dogecoin-1.14.2/src/secp256k1/src/ecmult_impl.h:203:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst->pre_g, src->pre_g, size);
data/dogecoin-1.14.2/src/secp256k1/src/ecmult_impl.h:211:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(dst->pre_g_128, src->pre_g_128, size);
data/dogecoin-1.14.2/src/secp256k1/src/field_impl.h:236: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.
    static const unsigned char prime[32] = {
data/dogecoin-1.14.2/src/secp256k1/src/field_impl.h:242:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b[32];
data/dogecoin-1.14.2/src/secp256k1/src/field_impl.h:292:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b[32];
data/dogecoin-1.14.2/src/secp256k1/src/field_impl.h:296: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.
    static const unsigned char prime[32] = {
data/dogecoin-1.14.2/src/secp256k1/src/gen_context.c:36:10:  [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("src/ecmult_static_context.h","w");
data/dogecoin-1.14.2/src/secp256k1/src/hash.h:32:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char v[32];
data/dogecoin-1.14.2/src/secp256k1/src/hash.h:33:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char k[32];
data/dogecoin-1.14.2/src/secp256k1/src/hash_impl.h:136: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(((unsigned char*)hash->buf) + bufsize, data, 64 - bufsize);
data/dogecoin-1.14.2/src/secp256k1/src/hash_impl.h:144: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(((unsigned char*)hash->buf) + bufsize, data, len);
data/dogecoin-1.14.2/src/secp256k1/src/hash_impl.h:149: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.
    static const unsigned char pad[64] = {0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
data/dogecoin-1.14.2/src/secp256k1/src/hash_impl.h:161: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(out32, (const unsigned char*)out, 32);
data/dogecoin-1.14.2/src/secp256k1/src/hash_impl.h:166:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char rkey[64];
data/dogecoin-1.14.2/src/secp256k1/src/hash_impl.h:168: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(rkey, key, keylen);
data/dogecoin-1.14.2/src/secp256k1/src/hash_impl.h:197:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char temp[32];
data/dogecoin-1.14.2/src/secp256k1/src/hash_impl.h:207: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.
    static const unsigned char zero[1] = {0x00};
data/dogecoin-1.14.2/src/secp256k1/src/hash_impl.h:208: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.
    static const unsigned char one[1] = {0x01};
data/dogecoin-1.14.2/src/secp256k1/src/hash_impl.h:237: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.
    static const unsigned char zero[1] = {0x00};
data/dogecoin-1.14.2/src/secp256k1/src/hash_impl.h:258: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(out, rng->v, now);
data/dogecoin-1.14.2/src/secp256k1/src/java/org_bitcoin_NativeSecp256k1.c:82: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 intsarray[2];
data/dogecoin-1.14.2/src/secp256k1/src/java/org_bitcoin_NativeSecp256k1.c:88: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 outputSer[72];
data/dogecoin-1.14.2/src/secp256k1/src/java/org_bitcoin_NativeSecp256k1.c:136: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 intsarray[2];
data/dogecoin-1.14.2/src/secp256k1/src/java/org_bitcoin_NativeSecp256k1.c:140: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 outputSer[65];
data/dogecoin-1.14.2/src/secp256k1/src/java/org_bitcoin_NativeSecp256k1.c:177: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 intsarray[2];
data/dogecoin-1.14.2/src/secp256k1/src/java/org_bitcoin_NativeSecp256k1.c:212: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 intsarray[2];
data/dogecoin-1.14.2/src/secp256k1/src/java/org_bitcoin_NativeSecp256k1.c:248: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 intsarray[2];
data/dogecoin-1.14.2/src/secp256k1/src/java/org_bitcoin_NativeSecp256k1.c:249: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 outputSer[65];
data/dogecoin-1.14.2/src/secp256k1/src/java/org_bitcoin_NativeSecp256k1.c:292: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 intsarray[2];
data/dogecoin-1.14.2/src/secp256k1/src/java/org_bitcoin_NativeSecp256k1.c:293: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 outputSer[65];
data/dogecoin-1.14.2/src/secp256k1/src/java/org_bitcoin_NativeSecp256k1.c:344: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 intsarray[1];
data/dogecoin-1.14.2/src/secp256k1/src/java/org_bitcoin_NativeSecp256k1.c:346: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 nonce_res[32];
data/dogecoin-1.14.2/src/secp256k1/src/modules/ecdh/main_impl.h:29:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char x[32];
data/dogecoin-1.14.2/src/secp256k1/src/modules/ecdh/main_impl.h:30:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char y[1];
data/dogecoin-1.14.2/src/secp256k1/src/modules/ecdh/tests_impl.h:11:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char s_one[32] = { 0 };
data/dogecoin-1.14.2/src/secp256k1/src/modules/ecdh/tests_impl.h:19:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char s_b32[32];
data/dogecoin-1.14.2/src/secp256k1/src/modules/ecdh/tests_impl.h:20:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char output_ecdh[32];
data/dogecoin-1.14.2/src/secp256k1/src/modules/ecdh/tests_impl.h:21:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char output_ser[32];
data/dogecoin-1.14.2/src/secp256k1/src/modules/ecdh/tests_impl.h:22:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char point_ser[33];
data/dogecoin-1.14.2/src/secp256k1/src/modules/ecdh/tests_impl.h:45:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char s_zero[32] = { 0 };
data/dogecoin-1.14.2/src/secp256k1/src/modules/ecdh/tests_impl.h:46:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char s_overflow[32] = {
data/dogecoin-1.14.2/src/secp256k1/src/modules/ecdh/tests_impl.h:52:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char s_rand[32] = { 0 };
data/dogecoin-1.14.2/src/secp256k1/src/modules/ecdh/tests_impl.h:53:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char output[32];
data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/main_impl.h:18: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(r, &sig->data[0], 32);
data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/main_impl.h:19: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(s, &sig->data[32], 32);
data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/main_impl.h:29: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(&sig->data[0], r, 32);
data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/main_impl.h:30: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(&sig->data[32], s, 32);
data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/main_impl.h:88:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char brx[32];
data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/main_impl.h:141:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char nonce32[32];
data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/tests_impl.h:11:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char extra[32] = {0x00};
data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/tests_impl.h:12:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char privkey[32];
data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/tests_impl.h:13:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char message[32];
data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/tests_impl.h:16:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sig[74];
data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/tests_impl.h:70:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const unsigned char msg32[32] = {
data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/tests_impl.h:76:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const unsigned char sig64[64] = {
data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/tests_impl.h:90:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const unsigned char sigb64[64] = {
data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/tests_impl.h:118:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char sigbder[8] = {0x30, 0x06, 0x02, 0x01, 0x04, 0x02, 0x01, 0x04};
data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/tests_impl.h:119:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char sigcder_zr[7] = {0x30, 0x05, 0x02, 0x00, 0x02, 0x01, 0x01};
data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/tests_impl.h:120:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char sigcder_zs[7] = {0x30, 0x05, 0x02, 0x01, 0x01, 0x02, 0x00};
data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/tests_impl.h:121:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char sigbderalt1[39] = {
data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/tests_impl.h:128:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char sigbderalt2[39] = {
data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/tests_impl.h:135:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char sigbderalt3[40] = {
data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/tests_impl.h:142:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char sigbderalt4[40] = {
data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/tests_impl.h:150:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char sigbderlong[40] = {
data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/tests_impl.h:209:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char sigcder[8] = {0x30, 0x06, 0x02, 0x01, 0x01, 0x02, 0x01, 0x01};
data/dogecoin-1.14.2/src/secp256k1/src/modules/recovery/tests_impl.h:210:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char sigc64[64] = {
data/dogecoin-1.14.2/src/secp256k1/src/num_gmp_impl.h:30:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char tmp[65];
data/dogecoin-1.14.2/src/secp256k1/src/num_gmp_impl.h:40: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(r + rlen - len + shift, tmp + shift, len - shift);
data/dogecoin-1.14.2/src/secp256k1/src/scalar_impl.h:29:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char c[32];
data/dogecoin-1.14.2/src/secp256k1/src/scalar_impl.h:37: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.
    static const unsigned char order[32] = {
data/dogecoin-1.14.2/src/secp256k1/src/scalar_impl.h:44: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.
    static const unsigned char order[32] = {
data/dogecoin-1.14.2/src/secp256k1/src/scalar_impl.h:266:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b[32];
data/dogecoin-1.14.2/src/secp256k1/src/secp256k1.c:123: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(&s, &pubkey->data[0], 64);
data/dogecoin-1.14.2/src/secp256k1/src/secp256k1.c:140: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(&pubkey->data[0], &s, 64);
data/dogecoin-1.14.2/src/secp256k1/src/secp256k1.c:194: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(r, &sig->data[0], 32);
data/dogecoin-1.14.2/src/secp256k1/src/secp256k1.c:195: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(s, &sig->data[32], 32);
data/dogecoin-1.14.2/src/secp256k1/src/secp256k1.c:204: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(&sig->data[0], r, 32);
data/dogecoin-1.14.2/src/secp256k1/src/secp256k1.c:205: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(&sig->data[32], s, 32);
data/dogecoin-1.14.2/src/secp256k1/src/secp256k1.c:311: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.
   unsigned char keydata[112];
data/dogecoin-1.14.2/src/secp256k1/src/secp256k1.c:323: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(keydata, key32, 32);
data/dogecoin-1.14.2/src/secp256k1/src/secp256k1.c:324: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(keydata + 32, msg32, 32);
data/dogecoin-1.14.2/src/secp256k1/src/secp256k1.c:326: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(keydata + 64, data, 32);
data/dogecoin-1.14.2/src/secp256k1/src/secp256k1.c:330: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(keydata + keylen, algo16, 16);
data/dogecoin-1.14.2/src/secp256k1/src/secp256k1.c:362:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char nonce32[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:62:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char b32[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:112:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char b32[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:125:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char b32[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:139:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ctmp[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:242:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char *inputs[8] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:248: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.
    static const unsigned char outputs[8][32] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:260:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char out[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:278:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char *keys[6] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:286:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char *inputs[6] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:294: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.
    static const unsigned char outputs[6][32] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:305:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char out[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:322: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.
    static const unsigned char key1[65] = {0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x00, 0x4b, 0xf5, 0x12, 0x2f, 0x34, 0x45, 0x54, 0xc5, 0x3b, 0xde, 0x2e, 0xbb, 0x8c, 0xd2, 0xb7, 0xe3, 0xd1, 0x60, 0x0a, 0xd6, 0x31, 0xc3, 0x85, 0xa5, 0xd7, 0xcc, 0xe2, 0x3c, 0x77, 0x85, 0x45, 0x9a, 0};
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:323: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.
    static const unsigned char out1[3][32] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:329: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.
    static const unsigned char key2[64] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe3, 0xb0, 0xc4, 0x42, 0x98, 0xfc, 0x1c, 0x14, 0x9a, 0xfb, 0xf4, 0xc8, 0x99, 0x6f, 0xb9, 0x24, 0x27, 0xae, 0x41, 0xe4, 0x64, 0x9b, 0x93, 0x4c, 0xa4, 0x95, 0x99, 0x1b, 0x78, 0x52, 0xb8, 0x55};
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:330: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.
    static const unsigned char out2[3][32] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:337:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char out[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:630:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char c[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:753:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char cone[1] = {0x01};
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:934:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char bin[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:970:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char chal[33][2][32] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:1236:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char res[33][2][32] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:1542:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char bin[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:1552:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char bin[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:1598: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.
    static const unsigned char b32[32] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:1613:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char b322[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:2326:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pub[65];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:2631:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char seed32[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:2675:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const unsigned char zero[32] = {0};
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:2676:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char tmp[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:2701:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pubkeyc[65];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:2711: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(&pubkeyc[1], input, 64);
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:2728:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 pubkeyo[65];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:2777:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const unsigned char valid[SECP256K1_EC_PARSE_TEST_NVALID][64] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:2864:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const unsigned char onlyxvalid[SECP256K1_EC_PARSE_TEST_NXVALID][64] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:2895:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const unsigned char invalid[SECP256K1_EC_PARSE_TEST_NINVALID][64] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:2946:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const unsigned char pubkeyc[66] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:2954:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sout[65];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:2955:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char shortkey[2];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3103:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const unsigned char orderc[32] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3109:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const unsigned char zeros[sizeof(secp256k1_pubkey)] = {0x00};
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3110:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ctmp[33];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3111:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char ctmp2[33];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3151: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(ctmp, orderc, 32);
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3172: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(&pubkey2, &pubkey, sizeof(pubkey));
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3182: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(ctmp, orderc, 32);
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3186: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(ctmp, orderc, 32);
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3190: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(ctmp, orderc, 32);
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3380: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(nonce32, data, 32);
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3408: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(nonce32, order, 32);
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3423: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.
    static const unsigned char res[sizeof(secp256k1_ecdsa_signature)] = {0};
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3428:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char extra[32] = {0x00};
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3429:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char privkey[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3430:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char message[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3431:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char privkey2[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3434:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char sig[74];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3436:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char pubkeyc[65];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3439:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char seckey[300];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3469:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char rnd[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3486:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char rnd[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3553:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char in[65];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3574:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char out[65];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3625: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.
    static const unsigned char zeroes[32] = {0};
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3627: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.
    static const unsigned char max_scalar[32] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3638:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char roundtrip_der[2048];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3639:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char compact_der[64];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3644:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char roundtrip_der_lax[2048];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3645:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char compact_der_lax[64];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3652:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char roundtrip_openssl[2048];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3704:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 tmp[32] = {0};
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3709:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 tmp[32] = {0};
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3924:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char buffer[2048];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3975: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 unsigned char pubkey_mods_zero[33] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:3994: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 unsigned char pubkey[33] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4013: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 unsigned char pubkey[33] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4020: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 unsigned char pubkey2[33] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4048: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 unsigned char pubkey[33] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4055: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 unsigned char pubkey2[33] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4062: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 unsigned char csr[32] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4090: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 unsigned char pubkey[33] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4097: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 unsigned char csr[32] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4124:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char signature[72];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4125: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.
        static const unsigned char nonce[32] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4131: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.
        static const unsigned char nonce2[32] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4137: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 unsigned char key[32] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4143:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char msg[32] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4219: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.
        static const unsigned char zero[32] = {0x00};
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4221:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char key[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4222:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char msg[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4280: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 unsigned char zeros[32] = {0};
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4281:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char nonce[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4282:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char nonce2[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4283:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char nonce3[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4284:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char nonce4[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4308:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char privkey[300];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4309:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char seckey[32] = {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4328:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char privkey[300];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4349:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char message[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4350:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char signature[80];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4351:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char key32[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4395:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char seed16[16] = {0};
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4396:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char run32[32] = {0};
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:4417: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 *frand = fopen("/dev/urandom", "r");
data/dogecoin-1.14.2/src/secp256k1/src/tests_exhaustive.c:57:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char bin[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests_exhaustive.c:182:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char x_bin[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests_exhaustive.c:202:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 msg32[32];
data/dogecoin-1.14.2/src/secp256k1/src/tests_exhaustive.c:249:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 sk32[32], msg32[32];
data/dogecoin-1.14.2/src/serialize.h:319:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char tmp[(sizeof(n)*8+6)/7];
data/dogecoin-1.14.2/src/streams.h:106: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(vchData.data() + nPos, reinterpret_cast<const unsigned char*>(pch), nOverwrite);
data/dogecoin-1.14.2/src/streams.h:257: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(&vch[nReadPos], &first[0], last - first);
data/dogecoin-1.14.2/src/streams.h:271: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(&vch[nReadPos], &first[0], last - first);
data/dogecoin-1.14.2/src/streams.h:354: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(pch, &vch[nReadPos], nSize);
data/dogecoin-1.14.2/src/streams.h:359: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(pch, &vch[nReadPos], nSize);
data/dogecoin-1.14.2/src/streams.h:520:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char data[4096];
data/dogecoin-1.14.2/src/streams.h:643: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(pch, &vchBuf[pos], nNow);
data/dogecoin-1.14.2/src/test/arith_uint256_tests.cpp:157:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char TmpArray[32];
data/dogecoin-1.14.2/src/test/arith_uint256_tests.cpp:210:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char TmpArray[32];
data/dogecoin-1.14.2/src/test/arith_uint256_tests.cpp:232:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char TmpArray[32];
data/dogecoin-1.14.2/src/test/arith_uint256_tests.cpp:558:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char TmpArray[32];
data/dogecoin-1.14.2/src/test/bip32_tests.cpp:88:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char data[74];
data/dogecoin-1.14.2/src/test/bloom_tests.cpp:158: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(&data[0], prevOutPoint.hash.begin(), 32);
data/dogecoin-1.14.2/src/test/bloom_tests.cpp:159: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(&data[32], &prevOutPoint.n, sizeof(unsigned int));
data/dogecoin-1.14.2/src/test/cuckoocache_tests.cpp:49:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        std::memcpy(&u, key.begin() + 4 * hash_select, 4);
data/dogecoin-1.14.2/src/test/dbwrapper_tests.cpp:274: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[10];
data/dogecoin-1.14.2/src/test/dbwrapper_tests.cpp:280:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(buf, "%d", x);
data/dogecoin-1.14.2/src/test/dbwrapper_tests.cpp:296:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "%d", seek_start);
data/dogecoin-1.14.2/src/test/dbwrapper_tests.cpp:301:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(buf, "%d", x);
data/dogecoin-1.14.2/src/test/hash_tests.cpp:84: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.
    static const unsigned char t0[1] = {0};
data/dogecoin-1.14.2/src/test/hash_tests.cpp:87: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.
    static const unsigned char t1[7] = {1,2,3,4,5,6,7};
data/dogecoin-1.14.2/src/test/hash_tests.cpp:92: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.
    static const unsigned char t2[2] = {16,17};
data/dogecoin-1.14.2/src/test/hash_tests.cpp:95: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.
    static const unsigned char t3[9] = {18,19,20,21,22,23,24,25,26};
data/dogecoin-1.14.2/src/test/hash_tests.cpp:98: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.
    static const unsigned char t4[5] = {27,28,29,30,31};
data/dogecoin-1.14.2/src/test/key_tests.cpp:36: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(&secret[0], &privkey, 32);
data/dogecoin-1.14.2/src/test/key_tests.cpp:39: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(&sec[0], &secret[0], 32);
data/dogecoin-1.14.2/src/test/net_tests.cpp:99:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char pchMsgTmp[4];
data/dogecoin-1.14.2/src/test/net_tests.cpp:131:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char pchMsgTmp[4];
data/dogecoin-1.14.2/src/test/script_tests.cpp:192: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.
    static const unsigned char order[33] = {
data/dogecoin-1.14.2/src/test/script_tests.cpp:227: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.
const unsigned char vchKey0[32] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1};
data/dogecoin-1.14.2/src/test/script_tests.cpp:228: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.
const unsigned char vchKey1[32] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0};
data/dogecoin-1.14.2/src/test/script_tests.cpp:229: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.
const unsigned char vchKey2[32] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0};
data/dogecoin-1.14.2/src/test/script_tests.cpp:947: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* file = fopen("script_tests.json.gen", "w");
data/dogecoin-1.14.2/src/test/scrypt_tests.cpp:21: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 scratchpad[SCRYPT_SCRATCHPAD_SIZE];
data/dogecoin-1.14.2/src/test/test_bitcoin_fuzzy.cpp:52:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[1024];
data/dogecoin-1.14.2/src/test/test_bitcoin_fuzzy.cpp:71: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(&test_id, &buffer[0], sizeof(uint32_t));
data/dogecoin-1.14.2/src/test/testutil.cpp:20: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 pszPath[MAX_PATH] = "";
data/dogecoin-1.14.2/src/test/util_tests.cpp:44: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.
static const unsigned char ParseHex_expected[65] = {
data/dogecoin-1.14.2/src/tinyformat.h:176: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.
        struct fail { char dummy[2]; };
data/dogecoin-1.14.2/src/torcontrol.cpp:151:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        self->message.code = atoi(s.substr(0,3));
data/dogecoin-1.14.2/src/torcontrol.cpp:318:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *f = fopen(filename.c_str(), "rb");
data/dogecoin-1.14.2/src/torcontrol.cpp:322:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[128];
data/dogecoin-1.14.2/src/torcontrol.cpp:338:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *f = fopen(filename.c_str(), "wb");
data/dogecoin-1.14.2/src/uint256.cpp:23: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 psz[sizeof(data) * 2 + 1];
data/dogecoin-1.14.2/src/uint256.cpp:25:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(psz + i * 2, "%02x", data[sizeof(data) - i - 1]);
data/dogecoin-1.14.2/src/univalue/gen/gen.cpp:24: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 tmpbuf[20];
data/dogecoin-1.14.2/src/univalue/lib/univalue_escapes.h:4: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 *escapes[256] = {
data/dogecoin-1.14.2/src/univalue/test/unitester.cpp:61: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(filename.c_str(), "r");
data/dogecoin-1.14.2/src/univalue/test/unitester.cpp:66: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[4096];
data/dogecoin-1.14.2/src/util.cpp:220: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).
    fileout = fopen(pathDebug.string().c_str(), "a");
data/dogecoin-1.14.2/src/util.cpp:340: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).
    return (atoi(strValue) != 0);
data/dogecoin-1.14.2/src/util.cpp:462: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 pszModule[MAX_PATH] = "";
data/dogecoin-1.14.2/src/util.cpp:596: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* file = fopen(path.string().c_str(), "w");
data/dogecoin-1.14.2/src/util.cpp:717:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char buf[65536] = {};
data/dogecoin-1.14.2/src/util.cpp:735: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* file = fopen(pathLog.string().c_str(), "r");
data/dogecoin-1.14.2/src/util.cpp:746: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 = fopen(pathLog.string().c_str(), "w");
data/dogecoin-1.14.2/src/util.cpp:762: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 pszPath[MAX_PATH] = "";
data/dogecoin-1.14.2/src/utilstrencodings.cpp:36: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.
const signed char p_util_hexdigit[256] =
data/dogecoin-1.14.2/src/utilstrencodings.cpp:581:5:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
int atoi(const std::string& str)
data/dogecoin-1.14.2/src/utilstrencodings.cpp:583:12:  [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).
    return atoi(str.c_str());
data/dogecoin-1.14.2/src/utilstrencodings.h:57:5:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
int atoi(const std::string& str);
data/dogecoin-1.14.2/src/utilstrencodings.h:98:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char hexmap[16] = { '0', '1', '2', '3', '4', '5', '6', '7',
data/dogecoin-1.14.2/src/validation.cpp:2991: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(&out.scriptPubKey[6], witnessroot.begin(), 32);
data/dogecoin-1.14.2/src/validation.cpp:3503: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* file = fopen(path.string().c_str(), "rb+");
data/dogecoin-1.14.2/src/validation.cpp:3505: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 = fopen(path.string().c_str(), "wb+");
data/dogecoin-1.14.2/src/validation.cpp:3945:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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[CMessageHeader::MESSAGE_START_SIZE];
data/dogecoin-1.14.2/src/validation.cpp:4254: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* filestr = fopen((GetDataDir() / "mempool.dat").string().c_str(), "rb");
data/dogecoin-1.14.2/src/validation.cpp:4335:25:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        FILE* filestr = fopen((GetDataDir() / "mempool.dat.new").string().c_str(), "wb");
data/dogecoin-1.14.2/src/wallet/crypter.cpp:27:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[CSHA512::OUTPUT_SIZE];
data/dogecoin-1.14.2/src/wallet/crypter.cpp:38: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(key, buf, WALLET_CRYPTO_KEY_SIZE);
data/dogecoin-1.14.2/src/wallet/crypter.cpp:39: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(iv, buf + WALLET_CRYPTO_KEY_SIZE, WALLET_CRYPTO_IV_SIZE);
data/dogecoin-1.14.2/src/wallet/crypter.cpp:69: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(vchKey.data(), chNewKey.data(), chNewKey.size());
data/dogecoin-1.14.2/src/wallet/crypter.cpp:70: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(vchIV.data(), chNewIV.data(), chNewIV.size());
data/dogecoin-1.14.2/src/wallet/crypter.cpp:117: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(&chIV[0], &nIV, WALLET_CRYPTO_IV_SIZE);
data/dogecoin-1.14.2/src/wallet/crypter.cpp:127: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(&chIV[0], &nIV, WALLET_CRYPTO_IV_SIZE);
data/dogecoin-1.14.2/src/wallet/db.cpp:94: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).
    dbenv->set_errfile(fopen(pathErrorFile.string().c_str(), "a")); /// debug
data/dogecoin-1.14.2/src/wallet/db.cpp:98:22:  [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 ret = dbenv->open(strPath.c_str(),
data/dogecoin-1.14.2/src/wallet/db.cpp:132:22:  [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 ret = dbenv->open(NULL,
data/dogecoin-1.14.2/src/wallet/db.cpp:272:24:  [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).
            ret = pdb->open(NULL,                               // Txn pointer
data/dogecoin-1.14.2/src/wallet/db.cpp:371:40:  [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 ret = pdbCopy->open(NULL,               // Txn pointer
data/dogecoin-1.14.2/src/wallet/rpcdump.cpp:439:10:  [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).
    file.open(request.params[0].get_str().c_str(), std::ios::in | std::ios::ate);
data/dogecoin-1.14.2/src/wallet/rpcdump.cpp:573:10:  [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).
    file.open(request.params[0].get_str().c_str());
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:37:112:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
bool OldEncrypt(const CKeyingMaterial& vchPlaintext, std::vector<unsigned char> &vchCiphertext, const unsigned char chKey[32], const unsigned char chIV[16])
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:37:143:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
bool OldEncrypt(const CKeyingMaterial& vchPlaintext, std::vector<unsigned char> &vchCiphertext, const unsigned char chKey[32], const unsigned char chIV[16])
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:65:112:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
bool OldDecrypt(const std::vector<unsigned char>& vchCiphertext, CKeyingMaterial& vchPlaintext, const unsigned char chKey[32], const unsigned char chIV[16])
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:65:143:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
bool OldDecrypt(const std::vector<unsigned char>& vchCiphertext, CKeyingMaterial& vchPlaintext, const unsigned char chKey[32], const unsigned char chIV[16])
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:100:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char chKey[WALLET_CRYPTO_KEY_SIZE];
data/dogecoin-1.14.2/src/wallet/test/crypto_tests.cpp:101:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char chIV[WALLET_CRYPTO_IV_SIZE];
data/dogecoin-1.14.2/src/wallet/walletdb.cpp:882:24:  [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 ret = pdbCopy->open(NULL,               // Txn pointer
data/dogecoin-1.14.2/src/zmq/zmqpublishnotifier.cpp:37: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, data, size);
data/dogecoin-1.14.2/src/zmq/zmqpublishnotifier.cpp:133:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char msgseq[sizeof(uint32_t)];
data/dogecoin-1.14.2/src/zmq/zmqpublishnotifier.cpp:149: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 data[32];
data/dogecoin-1.14.2/src/zmq/zmqpublishnotifier.cpp:159: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 data[32];
data/dogecoin-1.14.2/src/addrdb.cpp:82:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        filein.read((char *)&vchData[0], dataSize);
data/dogecoin-1.14.2/src/addrdb.cpp:179:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        filein.read((char *)&vchData[0], dataSize);
data/dogecoin-1.14.2/src/base58.cpp:34: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).
    int size = strlen(psz) * 733 /1000 + 1; // log(58) / log(256), rounded up.
data/dogecoin-1.14.2/src/bench/perf.cpp:41:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (fd == -1 || read(fd, &result, sizeof(result)) < (ssize_t)sizeof(result)) {
data/dogecoin-1.14.2/src/bitcoin-cli.cpp:255:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!valReply.read(response.body))
data/dogecoin-1.14.2/src/bitcoin-tx.cpp:115:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!val.read(rawJson)) {
data/dogecoin-1.14.2/src/chainparams.cpp:25:173:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    txNew.vin[0].scriptSig = CScript() << 486604799 << CScriptNum(4) << std::vector<unsigned char>((const unsigned char*)pszTimestamp, (const unsigned char*)pszTimestamp + strlen(pszTimestamp));
data/dogecoin-1.14.2/src/httprpc.cpp:182:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (!valRequest.read(req->ReadBody()))
data/dogecoin-1.14.2/src/init.cpp:852:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        umask(077);
data/dogecoin-1.14.2/src/key.h:178:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        s.read((char *)&code[0], len);
data/dogecoin-1.14.2/src/leveldb/db/autocompact_test.cc:81:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT_LT(read, 100) << "Taking too long to compact";
data/dogecoin-1.14.2/src/leveldb/db/c_test.c:44: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).
  } else if (expected != NULL && v != NULL && n == strlen(expected) &&
data/dogecoin-1.14.2/src/leveldb/db/c_test.c:72:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  val = leveldb_get(db, options, key, strlen(key), &val_len, &err);
data/dogecoin-1.14.2/src/leveldb/db/c_test.c:291: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).
      leveldb_put(db, woptions, keybuf, strlen(keybuf), valbuf, strlen(valbuf),
data/dogecoin-1.14.2/src/leveldb/db/c_test.c:291:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      leveldb_put(db, woptions, keybuf, strlen(keybuf), valbuf, strlen(valbuf),
data/dogecoin-1.14.2/src/leveldb/db/corruption_test.cc:191: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).
    storage->assign(buf, strlen(buf));
data/dogecoin-1.14.2/src/leveldb/db/db_bench.cc:750: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).
        bytes += value_size_ + strlen(key);
data/dogecoin-1.14.2/src/leveldb/db/db_bench.cc:954:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      FLAGS_benchmarks = argv[i] + strlen("--benchmarks=");
data/dogecoin-1.14.2/src/leveldb/db/db_impl.cc:1390: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).
    in.remove_prefix(strlen("num-files-at-level"));
data/dogecoin-1.14.2/src/leveldb/db/fault_injection_test.cc:440: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).
    storage->assign(buf, strlen(buf));
data/dogecoin-1.14.2/src/leveldb/db/filename.cc:94: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).
    rest.remove_prefix(strlen("MANIFEST-"));
data/dogecoin-1.14.2/src/leveldb/doc/bench/db_bench_sqlite3.cc:551: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).
        bytes_ += value_size + strlen(key);
data/dogecoin-1.14.2/src/leveldb/doc/bench/db_bench_sqlite3.cc:676:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      FLAGS_benchmarks = argv[i] + strlen("--benchmarks=");
data/dogecoin-1.14.2/src/leveldb/doc/bench/db_bench_tree_db.cc:450: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).
      bytes_ += value_size + strlen(key);
data/dogecoin-1.14.2/src/leveldb/doc/bench/db_bench_tree_db.cc:491:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      FLAGS_benchmarks = argv[i] + strlen("--benchmarks=");
data/dogecoin-1.14.2/src/leveldb/helpers/memenv/memenv_test.cc:184:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while (read < kWriteSize) {
data/dogecoin-1.14.2/src/leveldb/helpers/memenv/memenv_test.cc:185:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT_OK(seq_file->Read(kWriteSize - read, &result, scratch));
data/dogecoin-1.14.2/src/leveldb/include/leveldb/slice.h:37: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).
  Slice(const char* s) : data_(s), size_(strlen(s)) { }
data/dogecoin-1.14.2/src/leveldb/util/env_posix.cc:507:5:  [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.
    usleep(micros);
data/dogecoin-1.14.2/src/protocol.cpp:91:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(pchCommand, pszCommand, COMMAND_SIZE);
data/dogecoin-1.14.2/src/pubkey.h:131:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            s.read((char*)vch, len);
data/dogecoin-1.14.2/src/pubkey.h:136:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                s.read(&dummy, 1);
data/dogecoin-1.14.2/src/pubkey.h:237:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        s.read((char *)&code[0], len);
data/dogecoin-1.14.2/src/random.cpp:115:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ssize_t n = read(f, ent32 + have, 32 - have);
data/dogecoin-1.14.2/src/rest.cpp:97:13:  [1] (buffer) strlen:
  Does not handle 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(rf_names[i].name) > 0) {
data/dogecoin-1.14.2/src/rpc/client.cpp:172:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!jVal.read(std::string("[")+strVal+std::string("]")) ||
data/dogecoin-1.14.2/src/script/dogecoinconsensus.cpp:26:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(char* pch, size_t nSize)
data/dogecoin-1.14.2/src/script/script.h:581:72:  [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.
            while (static_cast<size_t>(end() - pc) >= b.size() && std::equal(b.begin(), b.end(), pc))
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:263:76:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        secp256k1_sha256_write(&hasher, (const unsigned char*)(inputs[i]), strlen(inputs[i]));
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:266:13:  [1] (buffer) strlen:
  Does not handle 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(inputs[i]) > 0) {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:267: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).
            int split = secp256k1_rand_int(strlen(inputs[i]));
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:270:88:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            secp256k1_sha256_write(&hasher, (const unsigned char*)(inputs[i] + split), strlen(inputs[i]) - split);
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:306:84:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        secp256k1_hmac_sha256_initialize(&hasher, (const unsigned char*)(keys[i]), strlen(keys[i]));
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:307:81:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        secp256k1_hmac_sha256_write(&hasher, (const unsigned char*)(inputs[i]), strlen(inputs[i]));
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:310:13:  [1] (buffer) strlen:
  Does not handle 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(inputs[i]) > 0) {
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:311: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).
            int split = secp256k1_rand_int(strlen(inputs[i]));
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:312:88:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            secp256k1_hmac_sha256_initialize(&hasher, (const unsigned char*)(keys[i]), strlen(keys[i]));
data/dogecoin-1.14.2/src/secp256k1/src/tests.c:314:93:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            secp256k1_hmac_sha256_write(&hasher, (const unsigned char*)(inputs[i] + split), strlen(inputs[i]) - split);
data/dogecoin-1.14.2/src/serialize.h:88:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    s.read((char*)&obj, 1);
data/dogecoin-1.14.2/src/serialize.h:94:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    s.read((char*)&obj, 2);
data/dogecoin-1.14.2/src/serialize.h:100:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    s.read((char*)&obj, 4);
data/dogecoin-1.14.2/src/serialize.h:106:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    s.read((char*)&obj, 8);
data/dogecoin-1.14.2/src/serialize.h:388:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        s.read(pbegin, pend - pbegin);
data/dogecoin-1.14.2/src/serialize.h:446:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            s.read((char*)&string[0], size);
data/dogecoin-1.14.2/src/serialize.h:561:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        is.read((char*)&str[0], nSize * sizeof(str[0]));
data/dogecoin-1.14.2/src/serialize.h:603:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        is.read((char*)&v[i], blk * sizeof(T));
data/dogecoin-1.14.2/src/serialize.h:671:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        is.read((char*)&v[i], blk * sizeof(T));
data/dogecoin-1.14.2/src/streams.h:57:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(char* pch, size_t nSize)
data/dogecoin-1.14.2/src/streams.h:59:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        stream->read(pch, nSize);
data/dogecoin-1.14.2/src/streams.h:342:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(char* pch, size_t nSize)
data/dogecoin-1.14.2/src/streams.h:508:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(char* pch, size_t nSize)
data/dogecoin-1.14.2/src/streams.h:595:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            nSrcPos += read;
data/dogecoin-1.14.2/src/streams.h:629:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(char *pch, size_t nSize) {
data/dogecoin-1.14.2/src/sync.cpp:78:72:  [1] (buffer) mismatch:
  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.
static void potential_deadlock_detected(const std::pair<void*, void*>& mismatch, const LockStack& s1, const LockStack& s2)
data/dogecoin-1.14.2/src/sync.cpp:83:24:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if (i.first == mismatch.first) {
data/dogecoin-1.14.2/src/sync.cpp:86:24:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if (i.first == mismatch.second) {
data/dogecoin-1.14.2/src/sync.cpp:93:24:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if (i.first == mismatch.first) {
data/dogecoin-1.14.2/src/sync.cpp:96:24:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if (i.first == mismatch.second) {
data/dogecoin-1.14.2/src/test/base58_tests.cpp:64:70:  [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.
        BOOST_CHECK_MESSAGE(result.size() == expected.size() && std::equal(result.begin(), result.end(), expected.begin()), strTest);
data/dogecoin-1.14.2/src/test/base58_tests.cpp:154: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.
            BOOST_CHECK_MESSAGE(privkey.size() == exp_payload.size() && std::equal(privkey.begin(), privkey.end(), exp_payload.begin()), "key mismatch:" + strTest);
data/dogecoin-1.14.2/src/test/script_tests.cpp:45:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!v.read(jsondata) || !v.isArray())
data/dogecoin-1.14.2/src/test/test_bitcoin_fuzzy.cpp:54:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while((length = read(STDIN_FILENO, buffer, 1024)) > 0) {
data/dogecoin-1.14.2/src/test/univalue_tests.cpp:97:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    BOOST_CHECK(v5.read("[true, 10]"));
data/dogecoin-1.14.2/src/test/univalue_tests.cpp:293:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    BOOST_CHECK(v.read(json1));
data/dogecoin-1.14.2/src/test/univalue_tests.cpp:296:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    BOOST_CHECK(v.read(strJson1));
data/dogecoin-1.14.2/src/test/univalue_tests.cpp:321:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    BOOST_CHECK(v.read("  {}\n  "));
data/dogecoin-1.14.2/src/test/univalue_tests.cpp:323:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    BOOST_CHECK(v.read("  []\n  "));
data/dogecoin-1.14.2/src/test/univalue_tests.cpp:326:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    BOOST_CHECK(!v.read("@{}"));
data/dogecoin-1.14.2/src/test/univalue_tests.cpp:327:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    BOOST_CHECK(!v.read("{} garbage"));
data/dogecoin-1.14.2/src/test/univalue_tests.cpp:328:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    BOOST_CHECK(!v.read("[]{}"));
data/dogecoin-1.14.2/src/test/univalue_tests.cpp:329:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    BOOST_CHECK(!v.read("{}[]"));
data/dogecoin-1.14.2/src/test/univalue_tests.cpp:330:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    BOOST_CHECK(!v.read("{} 42"));
data/dogecoin-1.14.2/src/uint256.h:103:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        s.read((char*)data, sizeof(data));
data/dogecoin-1.14.2/src/univalue/include/univalue.h:127:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bool read(const char *raw);
data/dogecoin-1.14.2/src/univalue/include/univalue.h:128:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bool read(const std::string& rawStr) {
data/dogecoin-1.14.2/src/univalue/include/univalue.h:129:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        return read(rawStr.c_str());
data/dogecoin-1.14.2/src/univalue/lib/univalue.cpp:25:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (str.size() != strlen(str.c_str())) // No embedded NUL characters allowed
data/dogecoin-1.14.2/src/univalue/lib/univalue_read.cpp:249:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool UniValue::read(const char *raw)
data/dogecoin-1.14.2/src/univalue/test/unitester.cpp:43:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool testResult = val.read(jdata);
data/dogecoin-1.14.2/src/univalue/test/unitester.cpp:136:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    testResult = val.read("[\"\\u0022\"]");
data/dogecoin-1.14.2/src/univalue/test/unitester.cpp:140:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    testResult = val.read("[\"\\u0191\"]");
data/dogecoin-1.14.2/src/univalue/test/unitester.cpp:144:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    testResult = val.read("[\"\\u2191\"]");
data/dogecoin-1.14.2/src/univalue/test/unitester.cpp:148:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    testResult = val.read("[\"\\ud834\\udd61\"]");
data/dogecoin-1.14.2/src/util.cpp:495: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).
    if (pszHome == NULL || strlen(pszHome) == 0)
data/dogecoin-1.14.2/src/utilstrencodings.cpp:169: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).
    vchRet.reserve(strlen(p)*3/4);
data/dogecoin-1.14.2/src/utilstrencodings.cpp:322: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).
    vchRet.reserve((strlen(p))*5/8);
data/dogecoin-1.14.2/src/utilstrencodings.cpp:428:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (str.size() != strlen(str.c_str())) // No embedded NUL characters allowed
data/dogecoin-1.14.2/src/validation.cpp:3079:19:  [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.
            !std::equal(expect.begin(), expect.end(), block.vtx[0]->vin[0].scriptSig.begin())) {
data/dogecoin-1.14.2/src/wallet/db.cpp:397:87:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                strncmp(ssKey.data(), pszSkip, std::min(ssKey.size(), strlen(pszSkip))) == 0)
data/dogecoin-1.14.2/src/wallet/test/wallet_tests.cpp:75:54:  [1] (buffer) mismatch:
  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.
    pair<CoinSet::iterator, CoinSet::iterator> ret = mismatch(a.begin(), a.end(), b.begin());
data/dogecoin-1.14.2/src/zmq/zmqpublishnotifier.cpp:135:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int rc = zmq_send_multipart(psocket, command, strlen(command), data, size, msgseq, (size_t)sizeof(uint32_t), (void*)0);

ANALYSIS SUMMARY:

Hits = 888
Lines analyzed = 161781 in approximately 4.39 seconds (36876 lines/second)
Physical Source Lines of Code (SLOC) = 119966
Hits@level = [0] 326 [1] 101 [2] 730 [3]  13 [4]  43 [5]   1
Hits@level+ = [0+] 1214 [1+] 888 [2+] 787 [3+]  57 [4+]  44 [5+]   1
Hits/KSLOC@level+ = [0+] 10.1195 [1+] 7.4021 [2+] 6.56019 [3+] 0.475135 [4+] 0.366771 [5+] 0.0083357
Dot directories skipped = 3 (--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.