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/groestlcoin-2.17.2~dfsg/src/addrdb.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/addrdb.h
Examining data/groestlcoin-2.17.2~dfsg/src/addrman.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/addrman.h
Examining data/groestlcoin-2.17.2~dfsg/src/amount.h
Examining data/groestlcoin-2.17.2~dfsg/src/arith_uint256.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/arith_uint256.h
Examining data/groestlcoin-2.17.2~dfsg/src/base58.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/base58.h
Examining data/groestlcoin-2.17.2~dfsg/src/bech32.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/bech32.h
Examining data/groestlcoin-2.17.2~dfsg/src/bench/base58.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/bench/bech32.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/bench/bench.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/bench/bench.h
Examining data/groestlcoin-2.17.2~dfsg/src/bench/bench_bitcoin.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/bench/block_assemble.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/bench/ccoins_caching.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/bench/checkblock.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/bench/checkqueue.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/bench/coin_selection.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/bench/crypto_hash.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/bench/examples.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/bench/lockedpool.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/bench/mempool_eviction.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/bench/merkle_root.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/bench/prevector.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/bench/rollingbloom.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/bench/verify_script.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/bignum.h
Examining data/groestlcoin-2.17.2~dfsg/src/blockencodings.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/blockencodings.h
Examining data/groestlcoin-2.17.2~dfsg/src/bloom.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/bloom.h
Examining data/groestlcoin-2.17.2~dfsg/src/chain.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/chain.h
Examining data/groestlcoin-2.17.2~dfsg/src/chainparams.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/chainparams.h
Examining data/groestlcoin-2.17.2~dfsg/src/chainparamsbase.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/chainparamsbase.h
Examining data/groestlcoin-2.17.2~dfsg/src/chainparamsseeds.h
Examining data/groestlcoin-2.17.2~dfsg/src/checkpoints.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/checkpoints.h
Examining data/groestlcoin-2.17.2~dfsg/src/checkqueue.h
Examining data/groestlcoin-2.17.2~dfsg/src/clientversion.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/clientversion.h
Examining data/groestlcoin-2.17.2~dfsg/src/coins.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/coins.h
Examining data/groestlcoin-2.17.2~dfsg/src/compat.h
Examining data/groestlcoin-2.17.2~dfsg/src/compat/byteswap.h
Examining data/groestlcoin-2.17.2~dfsg/src/compat/endian.h
Examining data/groestlcoin-2.17.2~dfsg/src/compat/glibc_compat.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/compat/glibc_sanity.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/compat/glibcxx_sanity.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/compat/sanity.h
Examining data/groestlcoin-2.17.2~dfsg/src/compat/strnlen.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/compat/vc_compat.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/compressor.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/compressor.h
Examining data/groestlcoin-2.17.2~dfsg/src/consensus/consensus.h
Examining data/groestlcoin-2.17.2~dfsg/src/consensus/merkle.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/consensus/merkle.h
Examining data/groestlcoin-2.17.2~dfsg/src/consensus/params.h
Examining data/groestlcoin-2.17.2~dfsg/src/consensus/tx_verify.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/consensus/tx_verify.h
Examining data/groestlcoin-2.17.2~dfsg/src/consensus/validation.h
Examining data/groestlcoin-2.17.2~dfsg/src/core_io.h
Examining data/groestlcoin-2.17.2~dfsg/src/core_memusage.h
Examining data/groestlcoin-2.17.2~dfsg/src/core_read.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/core_write.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/aes.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/aes.h
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/chacha20.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/chacha20.h
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/common.h
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/ctaes/bench.c
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/ctaes/ctaes.c
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/ctaes/ctaes.h
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/ctaes/test.c
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/hmac_sha256.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/hmac_sha256.h
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/hmac_sha512.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/hmac_sha512.h
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/ripemd160.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/ripemd160.h
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/sha1.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/sha1.h
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/sha256.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/sha256.h
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/sha256_avx2.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/sha256_shani.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/sha256_sse4.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/sha256_sse41.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/sha512.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/crypto/sha512.h
Examining data/groestlcoin-2.17.2~dfsg/src/cuckoocache.h
Examining data/groestlcoin-2.17.2~dfsg/src/dbwrapper.h
Examining data/groestlcoin-2.17.2~dfsg/src/fs.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/fs.h
Examining data/groestlcoin-2.17.2~dfsg/src/groestlcoin-cli.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/groestlcoin-dll.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/groestlcoin-hash.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/groestlcoin-tx.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/groestlcoin.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/groestlcoin.h
Examining data/groestlcoin-2.17.2~dfsg/src/groestlcoind.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/grs-config.h
Examining data/groestlcoin-2.17.2~dfsg/src/hash.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/hash.h
Examining data/groestlcoin-2.17.2~dfsg/src/httprpc.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/httprpc.h
Examining data/groestlcoin-2.17.2~dfsg/src/httpserver.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/httpserver.h
Examining data/groestlcoin-2.17.2~dfsg/src/index/base.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/index/base.h
Examining data/groestlcoin-2.17.2~dfsg/src/index/txindex.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/index/txindex.h
Examining data/groestlcoin-2.17.2~dfsg/src/indirectmap.h
Examining data/groestlcoin-2.17.2~dfsg/src/init.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/init.h
Examining data/groestlcoin-2.17.2~dfsg/src/interfaces/handler.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/interfaces/handler.h
Examining data/groestlcoin-2.17.2~dfsg/src/interfaces/node.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/interfaces/node.h
Examining data/groestlcoin-2.17.2~dfsg/src/interfaces/wallet.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/interfaces/wallet.h
Examining data/groestlcoin-2.17.2~dfsg/src/key.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/key.h
Examining data/groestlcoin-2.17.2~dfsg/src/key_io.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/key_io.h
Examining data/groestlcoin-2.17.2~dfsg/src/keystore.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/keystore.h
Examining data/groestlcoin-2.17.2~dfsg/src/limitedmap.h
Examining data/groestlcoin-2.17.2~dfsg/src/logging.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/logging.h
Examining data/groestlcoin-2.17.2~dfsg/src/memusage.h
Examining data/groestlcoin-2.17.2~dfsg/src/merkleblock.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/merkleblock.h
Examining data/groestlcoin-2.17.2~dfsg/src/miner.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/miner.h
Examining data/groestlcoin-2.17.2~dfsg/src/net.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/net.h
Examining data/groestlcoin-2.17.2~dfsg/src/net_processing.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/net_processing.h
Examining data/groestlcoin-2.17.2~dfsg/src/netaddress.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/netaddress.h
Examining data/groestlcoin-2.17.2~dfsg/src/netbase.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/netbase.h
Examining data/groestlcoin-2.17.2~dfsg/src/netmessagemaker.h
Examining data/groestlcoin-2.17.2~dfsg/src/noui.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/noui.h
Examining data/groestlcoin-2.17.2~dfsg/src/outputtype.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/outputtype.h
Examining data/groestlcoin-2.17.2~dfsg/src/policy/feerate.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/policy/feerate.h
Examining data/groestlcoin-2.17.2~dfsg/src/policy/fees.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/policy/fees.h
Examining data/groestlcoin-2.17.2~dfsg/src/policy/policy.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/policy/policy.h
Examining data/groestlcoin-2.17.2~dfsg/src/policy/rbf.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/policy/rbf.h
Examining data/groestlcoin-2.17.2~dfsg/src/pow.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/pow.h
Examining data/groestlcoin-2.17.2~dfsg/src/prevector.h
Examining data/groestlcoin-2.17.2~dfsg/src/primitives/block.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/primitives/block.h
Examining data/groestlcoin-2.17.2~dfsg/src/primitives/transaction.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/primitives/transaction.h
Examining data/groestlcoin-2.17.2~dfsg/src/protocol.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/protocol.h
Examining data/groestlcoin-2.17.2~dfsg/src/pubkey.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/pubkey.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/addressbookpage.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/addressbookpage.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/addresstablemodel.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/addresstablemodel.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/askpassphrasedialog.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/askpassphrasedialog.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/bantablemodel.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/bantablemodel.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/bitcoin.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/bitcoinaddressvalidator.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/bitcoinaddressvalidator.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/bitcoinamountfield.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/bitcoinamountfield.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/bitcoingui.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/bitcoingui.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/bitcoinstrings.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/bitcoinunits.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/bitcoinunits.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/callback.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/clientmodel.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/clientmodel.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/coincontroldialog.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/coincontroldialog.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/coincontroltreewidget.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/coincontroltreewidget.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/csvmodelwriter.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/csvmodelwriter.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/editaddressdialog.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/editaddressdialog.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/guiconstants.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/guiutil.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/guiutil.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/intro.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/intro.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/macdockiconhandler.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/macnotificationhandler.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/modaloverlay.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/modaloverlay.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/networkstyle.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/networkstyle.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/notificator.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/notificator.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/openuridialog.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/openuridialog.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/optionsdialog.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/optionsdialog.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/optionsmodel.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/optionsmodel.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/overviewpage.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/overviewpage.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/paymentrequestplus.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/paymentrequestplus.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/paymentserver.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/paymentserver.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/peertablemodel.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/peertablemodel.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/platformstyle.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/platformstyle.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/qvalidatedlineedit.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/qvalidatedlineedit.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/qvaluecombobox.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/qvaluecombobox.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/receivecoinsdialog.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/receivecoinsdialog.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/receiverequestdialog.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/receiverequestdialog.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/recentrequeststablemodel.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/recentrequeststablemodel.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/rpcconsole.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/rpcconsole.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/sendcoinsdialog.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/sendcoinsdialog.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/sendcoinsentry.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/sendcoinsentry.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/signverifymessagedialog.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/signverifymessagedialog.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/splashscreen.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/splashscreen.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/stdafx.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/stdafx.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/test/addressbooktests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/test/addressbooktests.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/test/compattests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/test/compattests.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/test/paymentrequestdata.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/test/paymentservertests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/test/paymentservertests.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/test/rpcnestedtests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/test/rpcnestedtests.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/test/uritests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/test/uritests.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/test/util.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/test/util.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/test/wallettests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/test/wallettests.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/test/test_main.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/trafficgraphwidget.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/trafficgraphwidget.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/transactiondesc.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/transactiondesc.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/transactiondescdialog.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/transactiondescdialog.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/transactionfilterproxy.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/transactionfilterproxy.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/transactionrecord.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/transactionrecord.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/transactiontablemodel.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/transactiontablemodel.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/transactionview.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/transactionview.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/utilitydialog.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/utilitydialog.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/walletframe.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/walletframe.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/walletmodel.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/walletmodel.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/walletmodeltransaction.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/walletmodeltransaction.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/walletview.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/walletview.h
Examining data/groestlcoin-2.17.2~dfsg/src/qt/winshutdownmonitor.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/qt/winshutdownmonitor.h
Examining data/groestlcoin-2.17.2~dfsg/src/random.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/random.h
Examining data/groestlcoin-2.17.2~dfsg/src/rest.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/reverse_iterator.h
Examining data/groestlcoin-2.17.2~dfsg/src/reverselock.h
Examining data/groestlcoin-2.17.2~dfsg/src/rpc/blockchain.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/rpc/blockchain.h
Examining data/groestlcoin-2.17.2~dfsg/src/rpc/client.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/rpc/client.h
Examining data/groestlcoin-2.17.2~dfsg/src/rpc/mining.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/rpc/mining.h
Examining data/groestlcoin-2.17.2~dfsg/src/rpc/misc.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/rpc/net.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/rpc/protocol.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/rpc/protocol.h
Examining data/groestlcoin-2.17.2~dfsg/src/rpc/rawtransaction.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/rpc/rawtransaction.h
Examining data/groestlcoin-2.17.2~dfsg/src/rpc/register.h
Examining data/groestlcoin-2.17.2~dfsg/src/rpc/server.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/rpc/server.h
Examining data/groestlcoin-2.17.2~dfsg/src/rpc/util.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/rpc/util.h
Examining data/groestlcoin-2.17.2~dfsg/src/scheduler.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/scheduler.h
Examining data/groestlcoin-2.17.2~dfsg/src/script/descriptor.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/script/descriptor.h
Examining data/groestlcoin-2.17.2~dfsg/src/script/groestlcoinconsensus.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/script/groestlcoinconsensus.h
Examining data/groestlcoin-2.17.2~dfsg/src/script/interpreter.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/script/interpreter.h
Examining data/groestlcoin-2.17.2~dfsg/src/script/ismine.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/script/ismine.h
Examining data/groestlcoin-2.17.2~dfsg/src/script/script.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/script/script.h
Examining data/groestlcoin-2.17.2~dfsg/src/script/script_error.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/script/script_error.h
Examining data/groestlcoin-2.17.2~dfsg/src/script/sigcache.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/script/sigcache.h
Examining data/groestlcoin-2.17.2~dfsg/src/script/sign.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/script/sign.h
Examining data/groestlcoin-2.17.2~dfsg/src/script/standard.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/script/standard.h
Examining data/groestlcoin-2.17.2~dfsg/src/serialize.h
Examining data/groestlcoin-2.17.2~dfsg/src/shutdown.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/shutdown.h
Examining data/groestlcoin-2.17.2~dfsg/src/span.h
Examining data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_groestl.h
Examining data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h
Examining data/groestlcoin-2.17.2~dfsg/src/stdafx.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/stdafx.h
Examining data/groestlcoin-2.17.2~dfsg/src/streams.h
Examining data/groestlcoin-2.17.2~dfsg/src/support/allocators/secure.h
Examining data/groestlcoin-2.17.2~dfsg/src/support/allocators/zeroafterfree.h
Examining data/groestlcoin-2.17.2~dfsg/src/support/cleanse.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/support/cleanse.h
Examining data/groestlcoin-2.17.2~dfsg/src/support/events.h
Examining data/groestlcoin-2.17.2~dfsg/src/support/lockedpool.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/support/lockedpool.h
Examining data/groestlcoin-2.17.2~dfsg/src/sync.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/sync.h
Examining data/groestlcoin-2.17.2~dfsg/src/test/addrman_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/allocator_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/amount_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/arith_uint256_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/base32_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/base58_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/base64_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/bech32_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/bip32_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/blockchain_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/blockencodings_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/bloom_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/bswap_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/checkqueue_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/coins_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/compress_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/crypto_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/cuckoocache_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/dbwrapper_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/denialofservice_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/descriptor_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/getarg_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/hash_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/key_io_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/key_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/limitedmap_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/main_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/mempool_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/merkle_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/merkleblock_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/miner_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/multisig_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/net_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/netbase_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/pmt_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/policyestimator_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/pow_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/prevector_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/raii_event_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/random_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/reverselock_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/rpc_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/sanity_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/scheduler_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/script_p2sh_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/script_standard_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/script_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/scriptnum10.h
Examining data/groestlcoin-2.17.2~dfsg/src/test/scriptnum_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/serialize_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/sighash_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/sigopcount_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/skiplist_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/streams_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/test_bitcoin.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/test_bitcoin.h
Examining data/groestlcoin-2.17.2~dfsg/src/test/test_bitcoin_fuzzy.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/test_bitcoin_main.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/timedata_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/torcontrol_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/transaction_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/txindex_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/txvalidation_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/txvalidationcache_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/uint256_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/util_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/validation_block_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/test/versionbits_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/threadinterrupt.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/threadinterrupt.h
Examining data/groestlcoin-2.17.2~dfsg/src/threadsafety.h
Examining data/groestlcoin-2.17.2~dfsg/src/timedata.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/timedata.h
Examining data/groestlcoin-2.17.2~dfsg/src/tinyformat.h
Examining data/groestlcoin-2.17.2~dfsg/src/torcontrol.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/torcontrol.h
Examining data/groestlcoin-2.17.2~dfsg/src/txdb.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/txdb.h
Examining data/groestlcoin-2.17.2~dfsg/src/txmempool.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/txmempool.h
Examining data/groestlcoin-2.17.2~dfsg/src/ui_interface.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/ui_interface.h
Examining data/groestlcoin-2.17.2~dfsg/src/uint256.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/uint256.h
Examining data/groestlcoin-2.17.2~dfsg/src/undo.h
Examining data/groestlcoin-2.17.2~dfsg/src/util.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/util.h
Examining data/groestlcoin-2.17.2~dfsg/src/utilmemory.h
Examining data/groestlcoin-2.17.2~dfsg/src/utilmoneystr.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/utilmoneystr.h
Examining data/groestlcoin-2.17.2~dfsg/src/utilstrencodings.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/utilstrencodings.h
Examining data/groestlcoin-2.17.2~dfsg/src/utiltime.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/utiltime.h
Examining data/groestlcoin-2.17.2~dfsg/src/validation.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/validation.h
Examining data/groestlcoin-2.17.2~dfsg/src/validationinterface.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/validationinterface.h
Examining data/groestlcoin-2.17.2~dfsg/src/vc-inc.h
Examining data/groestlcoin-2.17.2~dfsg/src/version.h
Examining data/groestlcoin-2.17.2~dfsg/src/versionbits.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/versionbits.h
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/coincontrol.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/coincontrol.h
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/coinselection.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/coinselection.h
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/crypter.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/crypter.h
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/db.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/db.h
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/feebumper.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/feebumper.h
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/fees.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/fees.h
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/init.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/rpcdump.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/rpcwallet.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/rpcwallet.h
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/test/accounting_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/test/coinselector_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/test/psbt_wallet_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_test_fixture.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_test_fixture.h
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_tests.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/wallet.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/wallet.h
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/walletdb.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/walletdb.h
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/walletutil.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/wallet/walletutil.h
Examining data/groestlcoin-2.17.2~dfsg/src/walletinitinterface.h
Examining data/groestlcoin-2.17.2~dfsg/src/warnings.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/warnings.h
Examining data/groestlcoin-2.17.2~dfsg/src/win-libs.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/zmq/zmqabstractnotifier.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/zmq/zmqabstractnotifier.h
Examining data/groestlcoin-2.17.2~dfsg/src/zmq/zmqconfig.h
Examining data/groestlcoin-2.17.2~dfsg/src/zmq/zmqnotificationinterface.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/zmq/zmqnotificationinterface.h
Examining data/groestlcoin-2.17.2~dfsg/src/zmq/zmqpublishnotifier.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/zmq/zmqpublishnotifier.h
Examining data/groestlcoin-2.17.2~dfsg/src/zmq/zmqrpc.cpp
Examining data/groestlcoin-2.17.2~dfsg/src/zmq/zmqrpc.h
Examining data/groestlcoin-2.17.2~dfsg/src/dbwrapper.cpp

FINAL RESULTS:

data/groestlcoin-2.17.2~dfsg/src/qt/guiutil.cpp:686:21:  [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.
        ssize_t r = readlink("/proc/self/exe", pszExePath, sizeof(pszExePath) - 1);
data/groestlcoin-2.17.2~dfsg/src/dbwrapper.cpp:49:26:  [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/groestlcoin-2.17.2~dfsg/src/qt/bitcoin.cpp:162: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/groestlcoin-2.17.2~dfsg/src/tinyformat.h:984: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/groestlcoin-2.17.2~dfsg/src/tinyformat.h:1010: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/groestlcoin-2.17.2~dfsg/src/tinyformat.h:1038: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/groestlcoin-2.17.2~dfsg/src/util.cpp:1153: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/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:22: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/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:23: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/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:26:36:  [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(crypt.vchKey.data(), correctKey.data(), crypt.vchKey.size()) == 0, \
data/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:26:76:  [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(crypt.vchKey.data(), correctKey.data(), crypt.vchKey.size()) == 0, \
data/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:27:20:  [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(crypt.vchKey.begin(), crypt.vchKey.end()) + std::string(" != ") + HexStr(correctKey.begin(), correctKey.end()));
data/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:27:42:  [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(crypt.vchKey.begin(), crypt.vchKey.end()) + std::string(" != ") + HexStr(correctKey.begin(), correctKey.end()));
data/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:29:36:  [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(crypt.vchIV.data(), correctIV.data(), crypt.vchIV.size()) == 0,
data/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:29:74:  [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(crypt.vchIV.data(), correctIV.data(), crypt.vchIV.size()) == 0,
data/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:30:20:  [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(crypt.vchIV.begin(), crypt.vchIV.end()) + std::string(" != ") + HexStr(correctIV.begin(), correctIV.end()));
data/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:30: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.
            HexStr(crypt.vchIV.begin(), crypt.vchIV.end()) + std::string(" != ") + HexStr(correctIV.begin(), correctIV.end()));
data/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:42: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/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:46: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.Decrypt(vchCiphertext, vchDecrypted);
data/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:51: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/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:55: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.Encrypt(vchPlaintext, vchCiphertext);
data/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:61:17:  [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, vchCiphertext, vchPlaintext2);
data/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:64: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/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:67: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/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:69: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/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:93: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/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:94: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/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:95: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/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:100: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/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:108: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/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:109: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/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:112: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/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:113: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/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:114: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/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:115: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/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:116: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/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:117: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/groestlcoin-2.17.2~dfsg/src/wallet/test/wallet_crypto_tests.cpp:122: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/groestlcoin-2.17.2~dfsg/src/qt/guiutil.cpp:645: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/groestlcoin-2.17.2~dfsg/src/qt/guiutil.cpp:647: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/groestlcoin-2.17.2~dfsg/src/util.cpp:716: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/groestlcoin-2.17.2~dfsg/src/addrdb.cpp:45:28:  [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 = fsbridge::fopen(pathTmp, "wb");
data/groestlcoin-2.17.2~dfsg/src/addrdb.cpp:69: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/groestlcoin-2.17.2~dfsg/src/addrdb.cpp:98:28:  [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 = fsbridge::fopen(path, "rb");
data/groestlcoin-2.17.2~dfsg/src/bignum.h:130: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 pch[sizeof(sn) + 6];
data/groestlcoin-2.17.2~dfsg/src/bignum.h:175: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 pch[sizeof(n) + 6];
data/groestlcoin-2.17.2~dfsg/src/bignum.h:202: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 pch[sizeof(n) + 6];
data/groestlcoin-2.17.2~dfsg/src/bignum.h:353:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static const signed char phexdigit[256] = { 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,1,2,3,4,5,6,7,8,9,0,0,0,0,0,0, 0,0xa,0xb,0xc,0xd,0xe,0xf,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,0xa,0xb,0xc,0xd,0xe,0xf,0,0,0,0,0,0,0,0,0 };
data/groestlcoin-2.17.2~dfsg/src/compat/glibc_compat.cpp:18: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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/src/compressor.cpp:25: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/groestlcoin-2.17.2~dfsg/src/compressor.cpp:35: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/groestlcoin-2.17.2~dfsg/src/compressor.cpp:62: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/groestlcoin-2.17.2~dfsg/src/compressor.cpp:69: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/groestlcoin-2.17.2~dfsg/src/compressor.cpp:75: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/groestlcoin-2.17.2~dfsg/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[3], in.data(), 20);
data/groestlcoin-2.17.2~dfsg/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.data(), 20);
data/groestlcoin-2.17.2~dfsg/src/compressor.cpp:120: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.data(), 32);
data/groestlcoin-2.17.2~dfsg/src/compressor.cpp: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 vch[33] = {};
data/groestlcoin-2.17.2~dfsg/src/compressor.cpp:127: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.data(), 32);
data/groestlcoin-2.17.2~dfsg/src/compressor.cpp:134: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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/src/crypto/aes.cpp:153: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/groestlcoin-2.17.2~dfsg/src/crypto/aes.cpp:153: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/groestlcoin-2.17.2~dfsg/src/crypto/aes.cpp:156: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/groestlcoin-2.17.2~dfsg/src/crypto/aes.cpp:169: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/groestlcoin-2.17.2~dfsg/src/crypto/aes.cpp:169: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/groestlcoin-2.17.2~dfsg/src/crypto/aes.cpp:172: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/groestlcoin-2.17.2~dfsg/src/crypto/aes.cpp:186: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/groestlcoin-2.17.2~dfsg/src/crypto/aes.cpp:186: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/groestlcoin-2.17.2~dfsg/src/crypto/aes.cpp:189: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/groestlcoin-2.17.2~dfsg/src/crypto/aes.cpp:202: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/groestlcoin-2.17.2~dfsg/src/crypto/aes.cpp:202: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/groestlcoin-2.17.2~dfsg/src/crypto/aes.cpp:205: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/groestlcoin-2.17.2~dfsg/src/crypto/aes.h:25:43:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    explicit AES128Encrypt(const unsigned char key[16]);
data/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/src/crypto/aes.h:37:43:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    explicit AES128Decrypt(const unsigned char key[16]);
data/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/src/crypto/aes.h:49:43:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    explicit AES256Encrypt(const unsigned char key[32]);
data/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/src/crypto/aes.h:61:43:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    explicit AES256Decrypt(const unsigned char key[32]);
data/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/src/crypto/chacha20.cpp:79: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[64];
data/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/src/crypto/hmac_sha256.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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/src/crypto/sha256.cpp:424: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 padding1[64] = {
data/groestlcoin-2.17.2~dfsg/src/crypto/sha256.cpp:430: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 buffer2[64] = {
data/groestlcoin-2.17.2~dfsg/src/crypto/sha256.cpp:471: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 data[641] = "-" // Intentionally not aligned
data/groestlcoin-2.17.2~dfsg/src/crypto/sha256.cpp:493: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 result_d64[256] = {
data/groestlcoin-2.17.2~dfsg/src/crypto/sha256.cpp:522: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/groestlcoin-2.17.2~dfsg/src/crypto/sha256.cpp:528: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[64];
data/groestlcoin-2.17.2~dfsg/src/crypto/sha256.cpp:535: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[128];
data/groestlcoin-2.17.2~dfsg/src/crypto/sha256.cpp:542: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[256];
data/groestlcoin-2.17.2~dfsg/src/crypto/sha256.cpp:654: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/groestlcoin-2.17.2~dfsg/src/crypto/sha256.cpp:668: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/groestlcoin-2.17.2~dfsg/src/crypto/sha256.cpp:674: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/groestlcoin-2.17.2~dfsg/src/crypto/sha256.cpp:676: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/groestlcoin-2.17.2~dfsg/src/crypto/sha256.cpp:677: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/groestlcoin-2.17.2~dfsg/src/crypto/sha256.h: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 buf[64];
data/groestlcoin-2.17.2~dfsg/src/crypto/sha256.h:25: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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/src/dbwrapper.cpp:29:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char buffer[500];
data/groestlcoin-2.17.2~dfsg/src/dbwrapper.cpp:227: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/groestlcoin-2.17.2~dfsg/src/fs.cpp:5:7:  [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(const fs::path& p, const char *mode)
data/groestlcoin-2.17.2~dfsg/src/fs.cpp:7:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    return ::fopen(p.string().c_str(), mode);
data/groestlcoin-2.17.2~dfsg/src/fs.h:20:11:  [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(const fs::path& p, const char *mode);
data/groestlcoin-2.17.2~dfsg/src/groestlcoin-hash.cpp:26: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/groestlcoin-2.17.2~dfsg/src/groestlcoin-hash.cpp:56:39:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 GroestlHasher::Finalize(unsigned char h[32]) {
data/groestlcoin-2.17.2~dfsg/src/groestlcoin-hash.cpp:65:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(h, static_cast<void*>(&hash[2]), 32);
data/groestlcoin-2.17.2~dfsg/src/groestlcoin-tx.cpp:156: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/groestlcoin-2.17.2~dfsg/src/groestlcoin-tx.cpp:165: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/groestlcoin-2.17.2~dfsg/src/groestlcoin-tx.cpp:757: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/groestlcoin-2.17.2~dfsg/src/groestlcoin.h:56: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.
	void Finalize(unsigned char hash[32]);
data/groestlcoin-2.17.2~dfsg/src/hash.cpp:71: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/groestlcoin-2.17.2~dfsg/src/hash.cpp:71: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/groestlcoin-2.17.2~dfsg/src/hash.cpp:71: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/groestlcoin-2.17.2~dfsg/src/hash.cpp:73: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/groestlcoin-2.17.2~dfsg/src/hash.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/groestlcoin-2.17.2~dfsg/src/hash.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 buf[CSHA256::OUTPUT_SIZE];
data/groestlcoin-2.17.2~dfsg/src/hash.h:53: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/groestlcoin-2.17.2~dfsg/src/hash.h:54: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/groestlcoin-2.17.2~dfsg/src/hash.h:74: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/groestlcoin-2.17.2~dfsg/src/hash.h:85: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/groestlcoin-2.17.2~dfsg/src/hash.h:97: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/groestlcoin-2.17.2~dfsg/src/hash.h:169: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 data[1024];
data/groestlcoin-2.17.2~dfsg/src/hash.h:197: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/groestlcoin-2.17.2~dfsg/src/hash.h:197: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/groestlcoin-2.17.2~dfsg/src/hash.h:197: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/groestlcoin-2.17.2~dfsg/src/httprpc.cpp:114: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[KEY_SIZE];
data/groestlcoin-2.17.2~dfsg/src/init.cpp:235:41:  [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(fsbridge::fopen(est_path, "wb"), SER_DISK, CLIENT_VERSION);
data/groestlcoin-2.17.2~dfsg/src/init.cpp:625: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/groestlcoin-2.17.2~dfsg/src/init.cpp:666:32:  [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 = fsbridge::fopen(pathBootstrap, "rb");
data/groestlcoin-2.17.2~dfsg/src/init.cpp:679:32:  [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 = fsbridge::fopen(path, "rb");
data/groestlcoin-2.17.2~dfsg/src/init.cpp:1619:36:  [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(fsbridge::fopen(est_path, "rb"), SER_DISK, CLIENT_VERSION);
data/groestlcoin-2.17.2~dfsg/src/key.cpp:74: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 - oslen), privkey, oslen);
data/groestlcoin-2.17.2~dfsg/src/key.cpp:116: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/groestlcoin-2.17.2~dfsg/src/key.cpp:117: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/groestlcoin-2.17.2~dfsg/src/key.cpp:118: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/groestlcoin-2.17.2~dfsg/src/key.cpp:142: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/groestlcoin-2.17.2~dfsg/src/key.cpp:143: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/groestlcoin-2.17.2~dfsg/src/key.cpp: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(ptr, middle, sizeof(middle)); ptr += sizeof(middle);
data/groestlcoin-2.17.2~dfsg/src/key.cpp:195: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_sig[64];
data/groestlcoin-2.17.2~dfsg/src/key.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 extra_entropy[32] = {0};
data/groestlcoin-2.17.2~dfsg/src/key.cpp:231: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/groestlcoin-2.17.2~dfsg/src/key.cpp:280: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/groestlcoin-2.17.2~dfsg/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((unsigned char*)keyChild.begin(), begin(), 32);
data/groestlcoin-2.17.2~dfsg/src/key.cpp:291: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/groestlcoin-2.17.2~dfsg/src/key.cpp:301: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.data() + 32, 32);
data/groestlcoin-2.17.2~dfsg/src/key.cpp:310: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/groestlcoin-2.17.2~dfsg/src/key.cpp:317: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/groestlcoin-2.17.2~dfsg/src/key.cpp:319: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/groestlcoin-2.17.2~dfsg/src/key.cpp:322: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/groestlcoin-2.17.2~dfsg/src/key.cpp:325: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/groestlcoin-2.17.2~dfsg/src/key.cpp:328: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/groestlcoin-2.17.2~dfsg/src/key.cpp:330: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/groestlcoin-2.17.2~dfsg/src/key.cpp:332: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/groestlcoin-2.17.2~dfsg/src/key.h:79: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/groestlcoin-2.17.2~dfsg/src/key.h:143: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/groestlcoin-2.17.2~dfsg/src/key.h:157: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/groestlcoin-2.17.2~dfsg/src/key.h:158: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/groestlcoin-2.17.2~dfsg/src/key.h:167: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/groestlcoin-2.17.2~dfsg/src/key.h:175: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/groestlcoin-2.17.2~dfsg/src/logging.cpp:40:27:  [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).
    m_fileout = fsbridge::fopen(m_file_path, "a");
data/groestlcoin-2.17.2~dfsg/src/logging.cpp:242:28:  [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 = fsbridge::fopen(m_file_path, "r");
data/groestlcoin-2.17.2~dfsg/src/logging.cpp:264:26:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        file = fsbridge::fopen(m_file_path, "w");
data/groestlcoin-2.17.2~dfsg/src/net.cpp:840: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/groestlcoin-2.17.2~dfsg/src/net.cpp:876: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/groestlcoin-2.17.2~dfsg/src/net.cpp:1371:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char pchBuf[0x10000];
data/groestlcoin-2.17.2~dfsg/src/net.cpp:1499: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/groestlcoin-2.17.2~dfsg/src/net.cpp:1524: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/groestlcoin-2.17.2~dfsg/src/net.cpp:2172: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/groestlcoin-2.17.2~dfsg/src/net.cpp:2846: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/groestlcoin-2.17.2~dfsg/src/netaddress.cpp:11: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/groestlcoin-2.17.2~dfsg/src/netaddress.cpp:32: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/groestlcoin-2.17.2~dfsg/src/netaddress.cpp:33: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/groestlcoin-2.17.2~dfsg/src/netaddress.cpp:36: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/groestlcoin-2.17.2~dfsg/src/netaddress.cpp:48: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 hash[32] = {};
data/groestlcoin-2.17.2~dfsg/src/netaddress.cpp:50: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(ip, g_internal_prefix, sizeof(g_internal_prefix));
data/groestlcoin-2.17.2~dfsg/src/netaddress.cpp:51: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(ip + sizeof(g_internal_prefix), hash, sizeof(ip) - sizeof(g_internal_prefix));
data/groestlcoin-2.17.2~dfsg/src/netaddress.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(ip, pchOnionCat, sizeof(pchOnionCat));
data/groestlcoin-2.17.2~dfsg/src/netaddress.cpp:180: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/groestlcoin-2.17.2~dfsg/src/netaddress.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 ipNone6[16] = {};
data/groestlcoin-2.17.2~dfsg/src/netaddress.cpp:263: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/groestlcoin-2.17.2~dfsg/src/netaddress.cpp:296: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/groestlcoin-2.17.2~dfsg/src/netaddress.cpp:305: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/groestlcoin-2.17.2~dfsg/src/netaddress.cpp:553: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.data(), ip, 16);
data/groestlcoin-2.17.2~dfsg/src/netaddress.h:35: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/groestlcoin-2.17.2~dfsg/src/netbase.cpp:654: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/groestlcoin-2.17.2~dfsg/src/netbase.cpp:670: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/groestlcoin-2.17.2~dfsg/src/prevector.h:153: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/groestlcoin-2.17.2~dfsg/src/prevector.h:172: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/groestlcoin-2.17.2~dfsg/src/prevector.h:189: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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/src/protocol.h:38: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/groestlcoin-2.17.2~dfsg/src/protocol.h:57: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/groestlcoin-2.17.2~dfsg/src/protocol.h:58:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char pchCommand[COMMAND_SIZE];
data/groestlcoin-2.17.2~dfsg/src/pubkey.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 tmpsig[64] = {0};
data/groestlcoin-2.17.2~dfsg/src/pubkey.cpp:142: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/groestlcoin-2.17.2~dfsg/src/pubkey.cpp:154: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/groestlcoin-2.17.2~dfsg/src/pubkey.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 pub[PUBLIC_KEY_SIZE];
data/groestlcoin-2.17.2~dfsg/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[PUBLIC_KEY_SIZE];
data/groestlcoin-2.17.2~dfsg/src/pubkey.cpp:231: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/groestlcoin-2.17.2~dfsg/src/pubkey.cpp:233: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/groestlcoin-2.17.2~dfsg/src/pubkey.cpp:241: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[COMPRESSED_PUBLIC_KEY_SIZE];
data/groestlcoin-2.17.2~dfsg/src/pubkey.cpp:248: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/groestlcoin-2.17.2~dfsg/src/pubkey.cpp:250: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/groestlcoin-2.17.2~dfsg/src/pubkey.cpp:253: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/groestlcoin-2.17.2~dfsg/src/pubkey.cpp:255: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(), CPubKey::COMPRESSED_PUBLIC_KEY_SIZE);
data/groestlcoin-2.17.2~dfsg/src/pubkey.cpp:258: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/groestlcoin-2.17.2~dfsg/src/pubkey.cpp:260: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/groestlcoin-2.17.2~dfsg/src/pubkey.cpp:262: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/groestlcoin-2.17.2~dfsg/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(&out.vchFingerprint[0], &id, 4);
data/groestlcoin-2.17.2~dfsg/src/pubkey.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 vch[PUBLIC_KEY_SIZE];
data/groestlcoin-2.17.2~dfsg/src/pubkey.h:90: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/groestlcoin-2.17.2~dfsg/src/pubkey.h:209: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/groestlcoin-2.17.2~dfsg/src/pubkey.h:223: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/groestlcoin-2.17.2~dfsg/src/pubkey.h:224: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/groestlcoin-2.17.2~dfsg/src/pubkey.h:237: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/groestlcoin-2.17.2~dfsg/src/pubkey.h:245: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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/src/qt/guiutil.cpp:588: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/groestlcoin-2.17.2~dfsg/src/qt/guiutil.cpp:623: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/groestlcoin-2.17.2~dfsg/src/qt/guiutil.cpp:685: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/groestlcoin-2.17.2~dfsg/src/qt/paymentserver.cpp:494: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/groestlcoin-2.17.2~dfsg/src/qt/rpcconsole.cpp:233: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/groestlcoin-2.17.2~dfsg/src/qt/test/paymentservertests.cpp:47: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/groestlcoin-2.17.2~dfsg/src/qt/test/paymentservertests.cpp:184: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/groestlcoin-2.17.2~dfsg/src/qt/test/paymentservertests.cpp:188: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/groestlcoin-2.17.2~dfsg/src/random.cpp:186: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/groestlcoin-2.17.2~dfsg/src/random.cpp:300:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char rng_state[32] = {0};
data/groestlcoin-2.17.2~dfsg/src/random.cpp:307: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/groestlcoin-2.17.2~dfsg/src/random.cpp:314: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(rng_state, buf + 32, 32);
data/groestlcoin-2.17.2~dfsg/src/random.cpp:323: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/groestlcoin-2.17.2~dfsg/src/random.cpp:346: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(rng_state, buf + 32, 32);
data/groestlcoin-2.17.2~dfsg/src/random.cpp:350: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/groestlcoin-2.17.2~dfsg/src/random.cpp:394: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.begin(), bytebuf + 64 - bytebuf_size, 32);
data/groestlcoin-2.17.2~dfsg/src/random.h:50: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 bytebuf[64];
data/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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_tmp.string().c_str());
data/groestlcoin-2.17.2~dfsg/src/rpc/protocol.cpp:115: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/groestlcoin-2.17.2~dfsg/src/script/groestlcoinconsensus.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/groestlcoin-2.17.2~dfsg/src/script/interpreter.cpp:899: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(&vchHash[0], v256.begin(), 32);
data/groestlcoin-2.17.2~dfsg/src/script/sigcache.h:38: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/groestlcoin-2.17.2~dfsg/src/script/standard.h:96: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 program[40];
data/groestlcoin-2.17.2~dfsg/src/serialize.h:375: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/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:1222: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(H, (sc)->state.wide, sizeof H); \
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:1226: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((sc)->state.wide, H, sizeof H); \
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:1367: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(x, H, sizeof x); \
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:1377: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(H, (sc)->state.wide, sizeof H); \
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:1381: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((sc)->state.wide, H, sizeof H); \
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:1447: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(a, t, sizeof t); \
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:1483: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(a, t, sizeof t); \
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:1658: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(x, H, sizeof x); \
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:2206: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(H, (sc)->state.narrow, sizeof H); \
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:2210: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((sc)->state.narrow, H, sizeof H); \
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:2261: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(a, t, sizeof t); \
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:2290: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(a, t, sizeof t); \
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:2343: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(x, H, sizeof x); \
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:2353: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(H, (sc)->state.narrow, sizeof H); \
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:2357: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((sc)->state.narrow, H, sizeof H); \
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:2471: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(a, t, sizeof t); \
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:2531: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(a, t, sizeof t); \
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:2602: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(a, t, sizeof t); \
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:2671: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(a, t, sizeof t); \
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:2726: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(x, H, sizeof x); \
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:2777: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 + ptr, data, len);
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:2790: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 + ptr, data, clen);
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:2813:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char pad[72];
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:2864:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(dst, pad + 32 - out_len, out_len);
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:2911: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 + ptr, data, len);
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:2924: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 + ptr, data, clen);
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:2947:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char pad[136];
data/groestlcoin-2.17.2~dfsg/src/sphlib/groestl.cpp:2998:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(dst, pad + 64 - out_len, out_len);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_groestl.h:73:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[64];    /* first field, for alignment */
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_groestl.h:113:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[128];    /* first field, for alignment */
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1335: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 *)dst)[0] = (val >> 8);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1336: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 *)dst)[1] = val;
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1342: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.
	return ((unsigned)(((const unsigned char *)src)[0]) << 8)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1343: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.
		| (unsigned)(((const unsigned char *)src)[1]);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1349: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 *)dst)[0] = val;
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1350: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 *)dst)[1] = val >> 8;
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1356: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.
	return (unsigned)(((const unsigned char *)src)[0])
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1357: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.
		| ((unsigned)(((const unsigned char *)src)[1]) << 8);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1382: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 *)dst)[0] = (val >> 24);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1383: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 *)dst)[1] = (val >> 16);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1384: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 *)dst)[2] = (val >> 8);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1385: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 *)dst)[3] = val;
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1389: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 *)dst)[0] = (val >> 24);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1390: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 *)dst)[1] = (val >> 16);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1391: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 *)dst)[2] = (val >> 8);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1392: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 *)dst)[3] = val;
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1411: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 *)dst)[0] = (val >> 24);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1412: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 *)dst)[1] = (val >> 16);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1413: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 *)dst)[2] = (val >> 8);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1414: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 *)dst)[3] = val;
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1442: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.
		return ((sph_u32)(((const unsigned char *)src)[0]) << 24)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1443: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.
			| ((sph_u32)(((const unsigned char *)src)[1]) << 16)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1444: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.
			| ((sph_u32)(((const unsigned char *)src)[2]) << 8)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1445: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.
			| (sph_u32)(((const unsigned char *)src)[3]);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1449: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.
	return ((sph_u32)(((const unsigned char *)src)[0]) << 24)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1450: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.
		| ((sph_u32)(((const unsigned char *)src)[1]) << 16)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1451: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.
		| ((sph_u32)(((const unsigned char *)src)[2]) << 8)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1452: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.
		| (sph_u32)(((const unsigned char *)src)[3]);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1471: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.
	return ((sph_u32)(((const unsigned char *)src)[0]) << 24)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1472: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.
		| ((sph_u32)(((const unsigned char *)src)[1]) << 16)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1473: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.
		| ((sph_u32)(((const unsigned char *)src)[2]) << 8)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1474: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.
		| (sph_u32)(((const unsigned char *)src)[3]);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1500: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 *)dst)[0] = val;
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1501: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 *)dst)[1] = (val >> 8);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1502: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 *)dst)[2] = (val >> 16);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1503: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 *)dst)[3] = (val >> 24);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1507: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 *)dst)[0] = val;
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1508: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 *)dst)[1] = (val >> 8);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1509: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 *)dst)[2] = (val >> 16);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1510: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 *)dst)[3] = (val >> 24);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1529: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 *)dst)[0] = val;
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1530: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 *)dst)[1] = (val >> 8);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1531: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 *)dst)[2] = (val >> 16);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1532: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 *)dst)[3] = (val >> 24);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1593: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.
		return (sph_u32)(((const unsigned char *)src)[0])
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1594: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.
			| ((sph_u32)(((const unsigned char *)src)[1]) << 8)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1595: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.
			| ((sph_u32)(((const unsigned char *)src)[2]) << 16)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1596: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.
			| ((sph_u32)(((const unsigned char *)src)[3]) << 24);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1600: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.
	return (sph_u32)(((const unsigned char *)src)[0])
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1601: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.
		| ((sph_u32)(((const unsigned char *)src)[1]) << 8)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1602: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.
		| ((sph_u32)(((const unsigned char *)src)[2]) << 16)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1603: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.
		| ((sph_u32)(((const unsigned char *)src)[3]) << 24);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1638: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.
	return (sph_u32)(((const unsigned char *)src)[0])
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1639: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.
		| ((sph_u32)(((const unsigned char *)src)[1]) << 8)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1640: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.
		| ((sph_u32)(((const unsigned char *)src)[2]) << 16)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1641: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.
		| ((sph_u32)(((const unsigned char *)src)[3]) << 24);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1669: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 *)dst)[0] = (val >> 56);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1670: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 *)dst)[1] = (val >> 48);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1671: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 *)dst)[2] = (val >> 40);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1672: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 *)dst)[3] = (val >> 32);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1673: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 *)dst)[4] = (val >> 24);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1674: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 *)dst)[5] = (val >> 16);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1675: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 *)dst)[6] = (val >> 8);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1676: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 *)dst)[7] = val;
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1680: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 *)dst)[0] = (val >> 56);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1681: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 *)dst)[1] = (val >> 48);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1682: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 *)dst)[2] = (val >> 40);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1683: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 *)dst)[3] = (val >> 32);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1684: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 *)dst)[4] = (val >> 24);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1685: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 *)dst)[5] = (val >> 16);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1686: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 *)dst)[6] = (val >> 8);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1687: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 *)dst)[7] = val;
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1706: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 *)dst)[0] = (val >> 56);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1707: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 *)dst)[1] = (val >> 48);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1708: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 *)dst)[2] = (val >> 40);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1709: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 *)dst)[3] = (val >> 32);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1710: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 *)dst)[4] = (val >> 24);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1711: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 *)dst)[5] = (val >> 16);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1712: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 *)dst)[6] = (val >> 8);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1713: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 *)dst)[7] = val;
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1741: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.
		return ((sph_u64)(((const unsigned char *)src)[0]) << 56)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1742: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.
			| ((sph_u64)(((const unsigned char *)src)[1]) << 48)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1743: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.
			| ((sph_u64)(((const unsigned char *)src)[2]) << 40)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1744: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.
			| ((sph_u64)(((const unsigned char *)src)[3]) << 32)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1745: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.
			| ((sph_u64)(((const unsigned char *)src)[4]) << 24)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1746: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.
			| ((sph_u64)(((const unsigned char *)src)[5]) << 16)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1747: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.
			| ((sph_u64)(((const unsigned char *)src)[6]) << 8)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1748: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.
			| (sph_u64)(((const unsigned char *)src)[7]);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1752: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.
	return ((sph_u64)(((const unsigned char *)src)[0]) << 56)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1753: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.
		| ((sph_u64)(((const unsigned char *)src)[1]) << 48)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1754: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.
		| ((sph_u64)(((const unsigned char *)src)[2]) << 40)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1755: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.
		| ((sph_u64)(((const unsigned char *)src)[3]) << 32)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1756: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.
		| ((sph_u64)(((const unsigned char *)src)[4]) << 24)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1757: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.
		| ((sph_u64)(((const unsigned char *)src)[5]) << 16)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1758: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.
		| ((sph_u64)(((const unsigned char *)src)[6]) << 8)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1759: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.
		| (sph_u64)(((const unsigned char *)src)[7]);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1778: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.
	return ((sph_u64)(((const unsigned char *)src)[0]) << 56)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1779: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.
		| ((sph_u64)(((const unsigned char *)src)[1]) << 48)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1780: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.
		| ((sph_u64)(((const unsigned char *)src)[2]) << 40)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1781: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.
		| ((sph_u64)(((const unsigned char *)src)[3]) << 32)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1782: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.
		| ((sph_u64)(((const unsigned char *)src)[4]) << 24)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1783: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.
		| ((sph_u64)(((const unsigned char *)src)[5]) << 16)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1784: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.
		| ((sph_u64)(((const unsigned char *)src)[6]) << 8)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1785: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.
		| (sph_u64)(((const unsigned char *)src)[7]);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1811: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 *)dst)[0] = val;
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1812: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 *)dst)[1] = (val >> 8);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1813: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 *)dst)[2] = (val >> 16);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1814: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 *)dst)[3] = (val >> 24);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1815: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 *)dst)[4] = (val >> 32);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1816: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 *)dst)[5] = (val >> 40);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1817: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 *)dst)[6] = (val >> 48);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1818: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 *)dst)[7] = (val >> 56);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1822: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 *)dst)[0] = val;
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1823: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 *)dst)[1] = (val >> 8);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1824: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 *)dst)[2] = (val >> 16);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1825: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 *)dst)[3] = (val >> 24);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1826: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 *)dst)[4] = (val >> 32);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1827: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 *)dst)[5] = (val >> 40);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1828: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 *)dst)[6] = (val >> 48);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1829: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 *)dst)[7] = (val >> 56);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1848: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 *)dst)[0] = val;
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1849: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 *)dst)[1] = (val >> 8);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1850: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 *)dst)[2] = (val >> 16);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1851: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 *)dst)[3] = (val >> 24);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1852: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 *)dst)[4] = (val >> 32);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1853: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 *)dst)[5] = (val >> 40);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1854: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 *)dst)[6] = (val >> 48);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1855: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 *)dst)[7] = (val >> 56);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1905: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.
		return (sph_u64)(((const unsigned char *)src)[0])
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1906: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.
			| ((sph_u64)(((const unsigned char *)src)[1]) << 8)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1907: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.
			| ((sph_u64)(((const unsigned char *)src)[2]) << 16)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1908: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.
			| ((sph_u64)(((const unsigned char *)src)[3]) << 24)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1909: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.
			| ((sph_u64)(((const unsigned char *)src)[4]) << 32)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1910: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.
			| ((sph_u64)(((const unsigned char *)src)[5]) << 40)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1911: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.
			| ((sph_u64)(((const unsigned char *)src)[6]) << 48)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1912: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.
			| ((sph_u64)(((const unsigned char *)src)[7]) << 56);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1916: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.
	return (sph_u64)(((const unsigned char *)src)[0])
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1917: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.
		| ((sph_u64)(((const unsigned char *)src)[1]) << 8)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1918: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.
		| ((sph_u64)(((const unsigned char *)src)[2]) << 16)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1919: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.
		| ((sph_u64)(((const unsigned char *)src)[3]) << 24)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1920: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.
		| ((sph_u64)(((const unsigned char *)src)[4]) << 32)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1921: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.
		| ((sph_u64)(((const unsigned char *)src)[5]) << 40)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1922: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.
		| ((sph_u64)(((const unsigned char *)src)[6]) << 48)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1923: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.
		| ((sph_u64)(((const unsigned char *)src)[7]) << 56);
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1961: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.
	return (sph_u64)(((const unsigned char *)src)[0])
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1962: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.
		| ((sph_u64)(((const unsigned char *)src)[1]) << 8)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1963: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.
		| ((sph_u64)(((const unsigned char *)src)[2]) << 16)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1964: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.
		| ((sph_u64)(((const unsigned char *)src)[3]) << 24)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1965: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.
		| ((sph_u64)(((const unsigned char *)src)[4]) << 32)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1966: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.
		| ((sph_u64)(((const unsigned char *)src)[5]) << 40)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1967: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.
		| ((sph_u64)(((const unsigned char *)src)[6]) << 48)
data/groestlcoin-2.17.2~dfsg/src/sphlib/sph_types.h:1968: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.
		| ((sph_u64)(((const unsigned char *)src)[7]) << 56);
data/groestlcoin-2.17.2~dfsg/src/streams.h:107: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/groestlcoin-2.17.2~dfsg/src/streams.h:258: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/groestlcoin-2.17.2~dfsg/src/streams.h:272: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/groestlcoin-2.17.2~dfsg/src/streams.h:352: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/groestlcoin-2.17.2~dfsg/src/streams.h:519: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/groestlcoin-2.17.2~dfsg/src/streams.h:642: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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/src/test/arith_uint256_tests.cpp:203: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/groestlcoin-2.17.2~dfsg/src/test/arith_uint256_tests.cpp:225: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/groestlcoin-2.17.2~dfsg/src/test/arith_uint256_tests.cpp:551: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/groestlcoin-2.17.2~dfsg/src/test/bip32_tests.cpp:97: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/groestlcoin-2.17.2~dfsg/src/test/bloom_tests.cpp:155: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.data(), prevOutPoint.hash.begin(), 32);
data/groestlcoin-2.17.2~dfsg/src/test/bloom_tests.cpp:156: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.data()+32, &prevOutPoint.n, sizeof(unsigned int));
data/groestlcoin-2.17.2~dfsg/src/test/crypto_tests.cpp:552: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 in[64 * 32];
data/groestlcoin-2.17.2~dfsg/src/test/crypto_tests.cpp:553: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 out1[32 * 32], out2[32 * 32];
data/groestlcoin-2.17.2~dfsg/src/test/dbwrapper_tests.cpp:278: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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/src/test/net_tests.cpp:115: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/groestlcoin-2.17.2~dfsg/src/test/net_tests.cpp:148: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/groestlcoin-2.17.2~dfsg/src/test/script_tests.cpp:204: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/groestlcoin-2.17.2~dfsg/src/test/script_tests.cpp:239: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/groestlcoin-2.17.2~dfsg/src/test/script_tests.cpp:240: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/groestlcoin-2.17.2~dfsg/src/test/script_tests.cpp:241: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/groestlcoin-2.17.2~dfsg/src/test/script_tests.cpp:954: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/groestlcoin-2.17.2~dfsg/src/test/serialize_tests.cpp:22: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 charstrval[16];
data/groestlcoin-2.17.2~dfsg/src/test/serialize_tests.cpp:351:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char charstrval[16] = "testing charstr";
data/groestlcoin-2.17.2~dfsg/src/test/test_bitcoin_fuzzy.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(&test_id, buffer.data(), sizeof(uint32_t));
data/groestlcoin-2.17.2~dfsg/src/test/util_tests.cpp:46: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/groestlcoin-2.17.2~dfsg/src/tinyformat.h:183: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/groestlcoin-2.17.2~dfsg/src/torcontrol.cpp:149: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/groestlcoin-2.17.2~dfsg/src/torcontrol.cpp:368: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 *f = fsbridge::fopen(filename, "rb");
data/groestlcoin-2.17.2~dfsg/src/torcontrol.cpp:372: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/groestlcoin-2.17.2~dfsg/src/torcontrol.cpp:394: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 *f = fsbridge::fopen(filename, "wb");
data/groestlcoin-2.17.2~dfsg/src/util.cpp:159:28:  [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 = fsbridge::fopen(pathLockFile, "a");
data/groestlcoin-2.17.2~dfsg/src/util.cpp:187:28:  [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 = fsbridge::fopen(tmpFile, "a");
data/groestlcoin-2.17.2~dfsg/src/util.cpp:217: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/groestlcoin-2.17.2~dfsg/src/util.cpp:685: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/groestlcoin-2.17.2~dfsg/src/util.cpp:984:28:  [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 = fsbridge::fopen(path, "w");
data/groestlcoin-2.17.2~dfsg/src/util.cpp:1121: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/groestlcoin-2.17.2~dfsg/src/util.cpp:1138: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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/src/utilstrencodings.cpp:424: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/groestlcoin-2.17.2~dfsg/src/utilstrencodings.cpp:426: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/groestlcoin-2.17.2~dfsg/src/utilstrencodings.h:63: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/groestlcoin-2.17.2~dfsg/src/utilstrencodings.h:114: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/groestlcoin-2.17.2~dfsg/src/validation.cpp:3215: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/groestlcoin-2.17.2~dfsg/src/validation.cpp:3792:28:  [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 = fsbridge::fopen(path, fReadOnly ? "rb": "rb+");
data/groestlcoin-2.17.2~dfsg/src/validation.cpp:3794:26:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        file = fsbridge::fopen(path, "wb+");
data/groestlcoin-2.17.2~dfsg/src/validation.cpp:4393: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/groestlcoin-2.17.2~dfsg/src/validation.cpp:4715: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).
    FILE* filestr = fsbridge::fopen(GetDataDir() / "mempool.dat", "rb");
data/groestlcoin-2.17.2~dfsg/src/validation.cpp:4806:35:  [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 = fsbridge::fopen(GetDataDir() / "mempool.dat.new", "wb");
data/groestlcoin-2.17.2~dfsg/src/wallet/crypter.cpp: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 buf[CSHA512::OUTPUT_SIZE];
data/groestlcoin-2.17.2~dfsg/src/wallet/crypter.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(key, buf, WALLET_CRYPTO_KEY_SIZE);
data/groestlcoin-2.17.2~dfsg/src/wallet/crypter.cpp:37: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/groestlcoin-2.17.2~dfsg/src/wallet/crypter.cpp:67: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/groestlcoin-2.17.2~dfsg/src/wallet/crypter.cpp:68: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/groestlcoin-2.17.2~dfsg/src/wallet/crypter.cpp:115: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.data(), &nIV, WALLET_CRYPTO_IV_SIZE);
data/groestlcoin-2.17.2~dfsg/src/wallet/crypter.cpp:125: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.data(), &nIV, WALLET_CRYPTO_IV_SIZE);
data/groestlcoin-2.17.2~dfsg/src/wallet/db.cpp:156:34:  [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(fsbridge::fopen(pathErrorFile, "a")); /// debug
data/groestlcoin-2.17.2~dfsg/src/wallet/db.cpp:160: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/groestlcoin-2.17.2~dfsg/src/wallet/db.cpp:217: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(nullptr,
data/groestlcoin-2.17.2~dfsg/src/wallet/db.cpp:285: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(nullptr,               // Txn pointer
data/groestlcoin-2.17.2~dfsg/src/wallet/db.cpp:480:29:  [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_temp->open(nullptr,                             // Txn pointer
data/groestlcoin-2.17.2~dfsg/src/wallet/db.cpp:598: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(nullptr,               // Txn pointer
data/groestlcoin-2.17.2~dfsg/src/wallet/rpcdump.cpp:545: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).
        file.open(request.params[0].get_str().c_str(), std::ios::in | std::ios::ate);
data/groestlcoin-2.17.2~dfsg/src/wallet/rpcdump.cpp:722: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/groestlcoin-2.17.2~dfsg/src/zmq/zmqpublishnotifier.cpp:39: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/groestlcoin-2.17.2~dfsg/src/zmq/zmqpublishnotifier.cpp:137: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/groestlcoin-2.17.2~dfsg/src/zmq/zmqpublishnotifier.cpp:153: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/groestlcoin-2.17.2~dfsg/src/zmq/zmqpublishnotifier.cpp:163: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/groestlcoin-2.17.2~dfsg/src/base58.cpp:47: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/groestlcoin-2.17.2~dfsg/src/chainparams.cpp:24: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/groestlcoin-2.17.2~dfsg/src/crypto/sha256.cpp:518: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.
        if (!std::equal(state, state + 8, result[i])) return false;
data/groestlcoin-2.17.2~dfsg/src/crypto/sha256.cpp:524:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!std::equal(out, out + 32, result_d64)) return false;
data/groestlcoin-2.17.2~dfsg/src/crypto/sha256.cpp:530: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.
        if (!std::equal(out, out + 64, result_d64)) return false;
data/groestlcoin-2.17.2~dfsg/src/crypto/sha256.cpp:537: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.
        if (!std::equal(out, out + 128, result_d64)) return false;
data/groestlcoin-2.17.2~dfsg/src/crypto/sha256.cpp:544: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.
        if (!std::equal(out, out + 256, result_d64)) return false;
data/groestlcoin-2.17.2~dfsg/src/groestlcoin-cli.cpp:399: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/groestlcoin-2.17.2~dfsg/src/groestlcoin-tx.cpp:121:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!val.read(rawJson)) {
data/groestlcoin-2.17.2~dfsg/src/groestlcoin.cpp:286:165:  [1] (buffer) strlen:
  Does not handle 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) << vector<unsigned char>((const unsigned char*)pszTimestamp, (const unsigned char*)pszTimestamp + strlen(pszTimestamp));
data/groestlcoin-2.17.2~dfsg/src/hash.h:161: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/groestlcoin-2.17.2~dfsg/src/hash.h:163:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        source->read(pch, nSize);
data/groestlcoin-2.17.2~dfsg/src/hash.h:172:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read(data, now);
data/groestlcoin-2.17.2~dfsg/src/httprpc.cpp:180: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/groestlcoin-2.17.2~dfsg/src/init.cpp:915:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        umask(077);
data/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/src/key_io.cpp:82:71:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if (data.size() == hash.size() + pubkey_prefix.size() && std::equal(pubkey_prefix.begin(), pubkey_prefix.end(), data.begin())) {
data/groestlcoin-2.17.2~dfsg/src/key_io.cpp:89:71:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if (data.size() == hash.size() + script_prefix.size() && std::equal(script_prefix.begin(), script_prefix.end(), data.begin())) {
data/groestlcoin-2.17.2~dfsg/src/key_io.cpp:140:18:  [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(privkey_prefix.begin(), privkey_prefix.end(), data.begin())) {
data/groestlcoin-2.17.2~dfsg/src/key_io.cpp:168: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.
        if (data.size() == BIP32_EXTKEY_SIZE + prefix.size() && std::equal(prefix.begin(), prefix.end(), data.begin())) {
data/groestlcoin-2.17.2~dfsg/src/key_io.cpp:191: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.
        if (data.size() == BIP32_EXTKEY_SIZE + prefix.size() && std::equal(prefix.begin(), prefix.end(), data.begin())) {
data/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/src/pubkey.h:144: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/groestlcoin-2.17.2~dfsg/src/pubkey.h:149:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                s.read(&dummy, 1);
data/groestlcoin-2.17.2~dfsg/src/pubkey.h:248: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/groestlcoin-2.17.2~dfsg/src/random.cpp:192: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, NUM_OS_RANDOM_BYTES - have);
data/groestlcoin-2.17.2~dfsg/src/rest.cpp:96: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/groestlcoin-2.17.2~dfsg/src/rpc/client.cpp:214: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/groestlcoin-2.17.2~dfsg/src/script/descriptor.cpp:379:49:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if ((size_t)sp.size() >= str.size() && std::equal(str.begin(), str.end(), sp.begin())) {
data/groestlcoin-2.17.2~dfsg/src/script/descriptor.cpp:389:106:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if ((size_t)sp.size() >= str.size() + 2 && sp[str.size()] == '(' && sp[sp.size() - 1] == ')' && std::equal(str.begin(), str.end(), sp.begin())) {
data/groestlcoin-2.17.2~dfsg/src/script/groestlcoinconsensus.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/groestlcoin-2.17.2~dfsg/src/script/interpreter.cpp:264:66:  [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/groestlcoin-2.17.2~dfsg/src/script/sign.h:603: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.
        if (!std::equal(magic, magic + 5, PSBT_MAGIC_BYTES)) {
data/groestlcoin-2.17.2~dfsg/src/script/standard.h:101:21:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        return std::equal(w1.program, w1.program + w1.length, w2.program);
data/groestlcoin-2.17.2~dfsg/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, 1);
data/groestlcoin-2.17.2~dfsg/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, 2);
data/groestlcoin-2.17.2~dfsg/src/serialize.h:112: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/groestlcoin-2.17.2~dfsg/src/serialize.h:118: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/groestlcoin-2.17.2~dfsg/src/serialize.h:124: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/groestlcoin-2.17.2~dfsg/src/serialize.h:223:87:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
template<typename Stream, int N> inline void Unserialize(Stream& s, char (&a)[N]) { s.read(a, N); }
data/groestlcoin-2.17.2~dfsg/src/serialize.h:224:96:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
template<typename Stream, int N> inline void Unserialize(Stream& s, unsigned char (&a)[N]) { s.read(CharCast(a), N); }
data/groestlcoin-2.17.2~dfsg/src/serialize.h:225:93:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
template<typename Stream> inline void Unserialize(Stream& s, Span<unsigned char>& span) { s.read(CharCast(span.data()), span.size()); }
data/groestlcoin-2.17.2~dfsg/src/serialize.h:503:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            s.read((char*)string.data(), size);
data/groestlcoin-2.17.2~dfsg/src/serialize.h:621:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        is.read((char*)str.data(), nSize * sizeof(C));
data/groestlcoin-2.17.2~dfsg/src/serialize.h:663: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/groestlcoin-2.17.2~dfsg/src/serialize.h:731: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/groestlcoin-2.17.2~dfsg/src/span.h:38:115:  [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.
    friend constexpr bool operator==(const Span& a, const Span& b) noexcept { return a.size() == b.size() && std::equal(a.begin(), a.end(), b.begin()); }
data/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/src/streams.h:343: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/groestlcoin-2.17.2~dfsg/src/streams.h:507: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/groestlcoin-2.17.2~dfsg/src/streams.h:628: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/groestlcoin-2.17.2~dfsg/src/sync.cpp:80: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/groestlcoin-2.17.2~dfsg/src/sync.cpp:85: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/groestlcoin-2.17.2~dfsg/src/sync.cpp:88: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/groestlcoin-2.17.2~dfsg/src/sync.cpp:95: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/groestlcoin-2.17.2~dfsg/src/sync.cpp:98: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/groestlcoin-2.17.2~dfsg/src/test/base58_tests.cpp:57: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/groestlcoin-2.17.2~dfsg/src/test/key_io_tests.cpp:49: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/groestlcoin-2.17.2~dfsg/src/test/script_tests.cpp:44: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/groestlcoin-2.17.2~dfsg/src/test/test_bitcoin_fuzzy.cpp:58: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/groestlcoin-2.17.2~dfsg/src/test/util_tests.cpp:1092:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        int rv = read(fd, &ch, 1); // Wait for command
data/groestlcoin-2.17.2~dfsg/src/test/util_tests.cpp:1161:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    BOOST_CHECK_EQUAL(read(fd[1], &ch, 1), 1);
data/groestlcoin-2.17.2~dfsg/src/test/util_tests.cpp:1171:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    BOOST_CHECK_EQUAL(read(fd[1], &ch, 1), 1);
data/groestlcoin-2.17.2~dfsg/src/test/util_tests.cpp:1179:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    BOOST_CHECK_EQUAL(read(fd[1], &ch, 1), 1);
data/groestlcoin-2.17.2~dfsg/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/groestlcoin-2.17.2~dfsg/src/util.cpp:717:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (pszHome == nullptr || strlen(pszHome) == 0)
data/groestlcoin-2.17.2~dfsg/src/utilstrencodings.cpp:164:17:  [1] (buffer) strlen:
  Does not handle 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.reserve(strlen(p));
data/groestlcoin-2.17.2~dfsg/src/utilstrencodings.cpp:233:17:  [1] (buffer) strlen:
  Does not handle 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.reserve(strlen(p));
data/groestlcoin-2.17.2~dfsg/src/utilstrencodings.cpp:271: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/groestlcoin-2.17.2~dfsg/src/validation.cpp:1143:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        filein.read((char*)block.data(), blk_size);
data/groestlcoin-2.17.2~dfsg/src/validation.cpp:3317: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/groestlcoin-2.17.2~dfsg/src/wallet/db.cpp:624: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/groestlcoin-2.17.2~dfsg/src/wallet/test/coinselector_tests.cpp:89:59:  [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.
    std::pair<CoinSet::iterator, CoinSet::iterator> ret = mismatch(a.begin(), a.end(), b.begin());
data/groestlcoin-2.17.2~dfsg/src/zmq/zmqpublishnotifier.cpp:139: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), nullptr);

ANALYSIS SUMMARY:

Hits = 658
Lines analyzed = 141805 in approximately 3.98 seconds (35608 lines/second)
Physical Source Lines of Code (SLOC) = 103682
Hits@level = [0]  56 [1]  75 [2] 542 [3]   3 [4]  37 [5]   1
Hits@level+ = [0+] 714 [1+] 658 [2+] 583 [3+]  41 [4+]  38 [5+]   1
Hits/KSLOC@level+ = [0+] 6.88644 [1+] 6.34633 [2+] 5.62296 [3+] 0.39544 [4+] 0.366505 [5+] 0.00964488
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.