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/js8call-2.2.0+ds/APRSISClient.cpp
Examining data/js8call-2.2.0+ds/APRSISClient.h
Examining data/js8call-2.2.0+ds/Audio/BWFFile.cpp
Examining data/js8call-2.2.0+ds/Audio/BWFFile.hpp
Examining data/js8call-2.2.0+ds/AudioDecoder.cpp
Examining data/js8call-2.2.0+ds/AudioDecoder.h
Examining data/js8call-2.2.0+ds/AudioDevice.cpp
Examining data/js8call-2.2.0+ds/AudioDevice.hpp
Examining data/js8call-2.2.0+ds/Bands.cpp
Examining data/js8call-2.2.0+ds/Bands.hpp
Examining data/js8call-2.2.0+ds/CallsignValidator.cpp
Examining data/js8call-2.2.0+ds/CallsignValidator.hpp
Examining data/js8call-2.2.0+ds/CandidateKeyFilter.cpp
Examining data/js8call-2.2.0+ds/CandidateKeyFilter.hpp
Examining data/js8call-2.2.0+ds/Configuration.cpp
Examining data/js8call-2.2.0+ds/Configuration.hpp
Examining data/js8call-2.2.0+ds/DXLabSuiteCommanderTransceiver.cpp
Examining data/js8call-2.2.0+ds/DXLabSuiteCommanderTransceiver.hpp
Examining data/js8call-2.2.0+ds/Decoder.cpp
Examining data/js8call-2.2.0+ds/Decoder.h
Examining data/js8call-2.2.0+ds/Detector.cpp
Examining data/js8call-2.2.0+ds/Detector.hpp
Examining data/js8call-2.2.0+ds/DisplayManual.cpp
Examining data/js8call-2.2.0+ds/DisplayManual.hpp
Examining data/js8call-2.2.0+ds/DoubleClickablePushButton.cpp
Examining data/js8call-2.2.0+ds/DoubleClickablePushButton.hpp
Examining data/js8call-2.2.0+ds/DoubleClickableRadioButton.cpp
Examining data/js8call-2.2.0+ds/DoubleClickableRadioButton.hpp
Examining data/js8call-2.2.0+ds/DriftingDateTime.cpp
Examining data/js8call-2.2.0+ds/DriftingDateTime.h
Examining data/js8call-2.2.0+ds/EmulateSplitTransceiver.cpp
Examining data/js8call-2.2.0+ds/EmulateSplitTransceiver.hpp
Examining data/js8call-2.2.0+ds/EqualizationToolsDialog.cpp
Examining data/js8call-2.2.0+ds/EqualizationToolsDialog.hpp
Examining data/js8call-2.2.0+ds/ForeignKeyDelegate.cpp
Examining data/js8call-2.2.0+ds/ForeignKeyDelegate.hpp
Examining data/js8call-2.2.0+ds/FrequencyLineEdit.cpp
Examining data/js8call-2.2.0+ds/FrequencyLineEdit.hpp
Examining data/js8call-2.2.0+ds/FrequencyList.cpp
Examining data/js8call-2.2.0+ds/FrequencyList.hpp
Examining data/js8call-2.2.0+ds/GetUserId.cpp
Examining data/js8call-2.2.0+ds/GetUserId.hpp
Examining data/js8call-2.2.0+ds/HRDTransceiver.cpp
Examining data/js8call-2.2.0+ds/HRDTransceiver.hpp
Examining data/js8call-2.2.0+ds/HamlibTransceiver.cpp
Examining data/js8call-2.2.0+ds/HamlibTransceiver.hpp
Examining data/js8call-2.2.0+ds/HelpTextWindow.cpp
Examining data/js8call-2.2.0+ds/HelpTextWindow.hpp
Examining data/js8call-2.2.0+ds/HintedSpinBox.cpp
Examining data/js8call-2.2.0+ds/HintedSpinBox.hpp
Examining data/js8call-2.2.0+ds/IARURegions.cpp
Examining data/js8call-2.2.0+ds/IARURegions.hpp
Examining data/js8call-2.2.0+ds/Inbox.cpp
Examining data/js8call-2.2.0+ds/LettersSpinBox.cpp
Examining data/js8call-2.2.0+ds/LettersSpinBox.hpp
Examining data/js8call-2.2.0+ds/LiveFrequencyValidator.cpp
Examining data/js8call-2.2.0+ds/LiveFrequencyValidator.hpp
Examining data/js8call-2.2.0+ds/MaidenheadLocatorValidator.cpp
Examining data/js8call-2.2.0+ds/MaidenheadLocatorValidator.hpp
Examining data/js8call-2.2.0+ds/Message.cpp
Examining data/js8call-2.2.0+ds/Message.h
Examining data/js8call-2.2.0+ds/MessageBox.cpp
Examining data/js8call-2.2.0+ds/MessageBox.hpp
Examining data/js8call-2.2.0+ds/MessageClient.cpp
Examining data/js8call-2.2.0+ds/MessageClient.hpp
Examining data/js8call-2.2.0+ds/MessageServer.cpp
Examining data/js8call-2.2.0+ds/MessageServer.h
Examining data/js8call-2.2.0+ds/MetaDataRegistry.cpp
Examining data/js8call-2.2.0+ds/MetaDataRegistry.hpp
Examining data/js8call-2.2.0+ds/Modes.cpp
Examining data/js8call-2.2.0+ds/Modes.hpp
Examining data/js8call-2.2.0+ds/Modulator.cpp
Examining data/js8call-2.2.0+ds/Modulator.hpp
Examining data/js8call-2.2.0+ds/MultiSettings.cpp
Examining data/js8call-2.2.0+ds/MultiSettings.hpp
Examining data/js8call-2.2.0+ds/NetworkAccessManager.hpp
Examining data/js8call-2.2.0+ds/NetworkMessage.cpp
Examining data/js8call-2.2.0+ds/NetworkMessage.hpp
Examining data/js8call-2.2.0+ds/NetworkServerLookup.cpp
Examining data/js8call-2.2.0+ds/NetworkServerLookup.hpp
Examining data/js8call-2.2.0+ds/NotificationAudio.cpp
Examining data/js8call-2.2.0+ds/NotificationAudio.h
Examining data/js8call-2.2.0+ds/OmniRigTransceiver.cpp
Examining data/js8call-2.2.0+ds/OmniRigTransceiver.hpp
Examining data/js8call-2.2.0+ds/PollingTransceiver.cpp
Examining data/js8call-2.2.0+ds/PollingTransceiver.hpp
Examining data/js8call-2.2.0+ds/ProcessThread.cpp
Examining data/js8call-2.2.0+ds/ProcessThread.h
Examining data/js8call-2.2.0+ds/Radio.cpp
Examining data/js8call-2.2.0+ds/Radio.hpp
Examining data/js8call-2.2.0+ds/RadioMetaType.cpp
Examining data/js8call-2.2.0+ds/RestrictedSpinBox.cpp
Examining data/js8call-2.2.0+ds/RestrictedSpinBox.hpp
Examining data/js8call-2.2.0+ds/SelfDestructMessageBox.cpp
Examining data/js8call-2.2.0+ds/SelfDestructMessageBox.h
Examining data/js8call-2.2.0+ds/SettingsGroup.hpp
Examining data/js8call-2.2.0+ds/SplashScreen.cpp
Examining data/js8call-2.2.0+ds/SplashScreen.hpp
Examining data/js8call-2.2.0+ds/SpotClient.cpp
Examining data/js8call-2.2.0+ds/SpotClient.h
Examining data/js8call-2.2.0+ds/StationList.cpp
Examining data/js8call-2.2.0+ds/StationList.hpp
Examining data/js8call-2.2.0+ds/TCPClient.cpp
Examining data/js8call-2.2.0+ds/TCPClient.h
Examining data/js8call-2.2.0+ds/TraceFile.cpp
Examining data/js8call-2.2.0+ds/TraceFile.hpp
Examining data/js8call-2.2.0+ds/Transceiver.cpp
Examining data/js8call-2.2.0+ds/Transceiver.hpp
Examining data/js8call-2.2.0+ds/TransceiverBase.cpp
Examining data/js8call-2.2.0+ds/TransceiverBase.hpp
Examining data/js8call-2.2.0+ds/TransceiverFactory.cpp
Examining data/js8call-2.2.0+ds/TransceiverFactory.hpp
Examining data/js8call-2.2.0+ds/TransmitTextEdit.cpp
Examining data/js8call-2.2.0+ds/TransmitTextEdit.h
Examining data/js8call-2.2.0+ds/WFPalette.cpp
Examining data/js8call-2.2.0+ds/WFPalette.hpp
Examining data/js8call-2.2.0+ds/WaveFile.cpp
Examining data/js8call-2.2.0+ds/WaveFile.h
Examining data/js8call-2.2.0+ds/WaveUtils.cpp
Examining data/js8call-2.2.0+ds/WaveUtils.h
Examining data/js8call-2.2.0+ds/about.cpp
Examining data/js8call-2.2.0+ds/about.h
Examining data/js8call-2.2.0+ds/commons.h
Examining data/js8call-2.2.0+ds/crc.h
Examining data/js8call-2.2.0+ds/decodedtext.cpp
Examining data/js8call-2.2.0+ds/decodedtext.h
Examining data/js8call-2.2.0+ds/displaytext.cpp
Examining data/js8call-2.2.0+ds/displaytext.h
Examining data/js8call-2.2.0+ds/echoplot.h
Examining data/js8call-2.2.0+ds/fastplot.cpp
Examining data/js8call-2.2.0+ds/fastplot.h
Examining data/js8call-2.2.0+ds/fileutils.cpp
Examining data/js8call-2.2.0+ds/fileutils.h
Examining data/js8call-2.2.0+ds/getfile.cpp
Examining data/js8call-2.2.0+ds/getfile.h
Examining data/js8call-2.2.0+ds/jsc.cpp
Examining data/js8call-2.2.0+ds/jsc.h
Examining data/js8call-2.2.0+ds/jsc_checker.cpp
Examining data/js8call-2.2.0+ds/jsc_checker.h
Examining data/js8call-2.2.0+ds/jsc_list.cpp
Examining data/js8call-2.2.0+ds/jsc_map.cpp
Examining data/js8call-2.2.0+ds/keyeater.cpp
Examining data/js8call-2.2.0+ds/keyeater.h
Examining data/js8call-2.2.0+ds/killbyname.cpp
Examining data/js8call-2.2.0+ds/lib/char.h
Examining data/js8call-2.2.0+ds/lib/crc10.cpp
Examining data/js8call-2.2.0+ds/lib/crc12.cpp
Examining data/js8call-2.2.0+ds/lib/crc14.cpp
Examining data/js8call-2.2.0+ds/lib/decode_rs.c
Examining data/js8call-2.2.0+ds/lib/encode_rs.c
Examining data/js8call-2.2.0+ds/lib/gran.c
Examining data/js8call-2.2.0+ds/lib/init_random_seed.c
Examining data/js8call-2.2.0+ds/lib/init_random_seed.h
Examining data/js8call-2.2.0+ds/lib/init_rs.c
Examining data/js8call-2.2.0+ds/lib/int.h
Examining data/js8call-2.2.0+ds/lib/ipcomm.cpp
Examining data/js8call-2.2.0+ds/lib/ldpc32_table.c
Examining data/js8call-2.2.0+ds/lib/nhash.c
Examining data/js8call-2.2.0+ds/lib/nhash.h
Examining data/js8call-2.2.0+ds/lib/ptt.c
Examining data/js8call-2.2.0+ds/lib/rig_control.c
Examining data/js8call-2.2.0+ds/lib/rs.h
Examining data/js8call-2.2.0+ds/lib/sleep.h
Examining data/js8call-2.2.0+ds/lib/tab.c
Examining data/js8call-2.2.0+ds/lib/tstrig.c
Examining data/js8call-2.2.0+ds/lib/tstrig.h
Examining data/js8call-2.2.0+ds/lib/usleep.c
Examining data/js8call-2.2.0+ds/lib/wisdom.c
Examining data/js8call-2.2.0+ds/logbook/adif.cpp
Examining data/js8call-2.2.0+ds/logbook/adif.h
Examining data/js8call-2.2.0+ds/logbook/countriesworked.cpp
Examining data/js8call-2.2.0+ds/logbook/countriesworked.h
Examining data/js8call-2.2.0+ds/logbook/countrydat.cpp
Examining data/js8call-2.2.0+ds/logbook/countrydat.h
Examining data/js8call-2.2.0+ds/logbook/logbook.cpp
Examining data/js8call-2.2.0+ds/logbook/logbook.h
Examining data/js8call-2.2.0+ds/logbook/n3fjp.h
Examining data/js8call-2.2.0+ds/logqso.cpp
Examining data/js8call-2.2.0+ds/logqso.h
Examining data/js8call-2.2.0+ds/main.cpp
Examining data/js8call-2.2.0+ds/mainwindow.cpp
Examining data/js8call-2.2.0+ds/mainwindow.h
Examining data/js8call-2.2.0+ds/messageaveraging.cpp
Examining data/js8call-2.2.0+ds/messageaveraging.h
Examining data/js8call-2.2.0+ds/messagereplydialog.cpp
Examining data/js8call-2.2.0+ds/messagereplydialog.h
Examining data/js8call-2.2.0+ds/messagewindow.cpp
Examining data/js8call-2.2.0+ds/messagewindow.h
Examining data/js8call-2.2.0+ds/meterwidget.cpp
Examining data/js8call-2.2.0+ds/meterwidget.h
Examining data/js8call-2.2.0+ds/pimpl_h.hpp
Examining data/js8call-2.2.0+ds/pimpl_impl.hpp
Examining data/js8call-2.2.0+ds/plotter.cpp
Examining data/js8call-2.2.0+ds/plotter.h
Examining data/js8call-2.2.0+ds/psk_reporter.cpp
Examining data/js8call-2.2.0+ds/psk_reporter.h
Examining data/js8call-2.2.0+ds/qmake_only/svnversion.h
Examining data/js8call-2.2.0+ds/qorderedmap.h
Examining data/js8call-2.2.0+ds/qpriorityqueue.h
Examining data/js8call-2.2.0+ds/qt_helpers.cpp
Examining data/js8call-2.2.0+ds/qt_helpers.hpp
Examining data/js8call-2.2.0+ds/revision_utils.cpp
Examining data/js8call-2.2.0+ds/revision_utils.hpp
Examining data/js8call-2.2.0+ds/signalmeter.cpp
Examining data/js8call-2.2.0+ds/signalmeter.h
Examining data/js8call-2.2.0+ds/sleep.h
Examining data/js8call-2.2.0+ds/soundin.cpp
Examining data/js8call-2.2.0+ds/soundin.h
Examining data/js8call-2.2.0+ds/soundout.cpp
Examining data/js8call-2.2.0+ds/soundout.h
Examining data/js8call-2.2.0+ds/varicode.cpp
Examining data/js8call-2.2.0+ds/varicode.h
Examining data/js8call-2.2.0+ds/widegraph.cpp
Examining data/js8call-2.2.0+ds/widegraph.h
Examining data/js8call-2.2.0+ds/Inbox.h

FINAL RESULTS:

data/js8call-2.2.0+ds/APRSISClient.cpp:182:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        QString().sprintf("%07.2f%%1", aprsLat).arg(latDir),
data/js8call-2.2.0+ds/APRSISClient.cpp:183:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        QString().sprintf("%08.2f%%1", aprsLon).arg(lonDir)
data/js8call-2.2.0+ds/DisplayManual.cpp:58:26:  [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.
    auto lang = QLocale::system ().name ();
data/js8call-2.2.0+ds/DisplayManual.cpp:140:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  auto lang = QLocale::system ().name ();
data/js8call-2.2.0+ds/HamlibTransceiver.cpp:38:23:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    message = message.vsprintf (format, ap).trimmed ();
data/js8call-2.2.0+ds/decodedtext.cpp:438:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    rpt.sprintf("%d",abs(sr));
data/js8call-2.2.0+ds/displaytext.cpp:290:8:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    t2.sprintf("%4d",txFreq);
data/js8call-2.2.0+ds/fastplot.cpp:157:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    m_t.sprintf("%2.2d:%2.2d:%2.2d",ih,im,is);
data/js8call-2.2.0+ds/fastplot.cpp:170:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      m_t.sprintf("%2.2d:%2.2d:%2.2d",ih,im,is);
data/js8call-2.2.0+ds/fastplot.cpp:245:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  t1.sprintf("%5.2f",t);
data/js8call-2.2.0+ds/getfile.cpp:213:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      t.sprintf("Cannot open COM port %d for PTT\n",nport);
data/js8call-2.2.0+ds/mainwindow.cpp:814:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    t.sprintf("%d dBm  ",ndbm);
data/js8call-2.2.0+ds/mainwindow.cpp:6170:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(s,"Tx: %s", dt.message().toLocal8Bit().mid(0, 41).data());
data/js8call-2.2.0+ds/mainwindow.cpp:13499:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  t1.sprintf("%04d",2*m);
data/js8call-2.2.0+ds/mainwindow.cpp:13509:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  t3.sprintf("%13.6f",0.000001*dialFreq);
data/js8call-2.2.0+ds/mainwindow.cpp:13514:8:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    t4.sprintf("%4d",ndecodes);
data/js8call-2.2.0+ds/messageaveraging.cpp:101:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  t.sprintf("Callers: %3d",n);
data/js8call-2.2.0+ds/messageaveraging.cpp:108:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  t.sprintf("In progress: %3d",n);
data/js8call-2.2.0+ds/messageaveraging.cpp:115:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  t.sprintf("Rate: %3d",n);
data/js8call-2.2.0+ds/messageaveraging.cpp:124:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  t.sprintf("Logged: %d",m_nLogged_);
data/js8call-2.2.0+ds/signalmeter.cpp:112:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  t.sprintf("%d dB",int(value+0.5));
data/js8call-2.2.0+ds/lib/init_random_seed.c:61:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand (seed);
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:40:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (id_.data (), id, len);
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:48:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy (id_.data (), "JUNK", 4);
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:98: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 description_[256];
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:99: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 originator_[32];
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:100: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 originator_reference_[32];
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:101: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 origination_date_[10];
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:102: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 origination_time_[10];
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:221:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char riff_item[4];
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:258:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                      char list_type[4];
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:442:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
bool BWFFile::open (OpenMode mode)
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:447:33:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if (!(success = m_->file_.open (mode & ~Text)))
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:469:33:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if (!(success = m_->file_.open (mode & ~Text)))
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:493:36:  [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).
  success && (success = QIODevice::open (mode | Unbuffered));
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:510:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
bool BWFFile::open(FILE * fh, OpenMode mode, FileHandleFlags flags)
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:521:33:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if (!(success = m_->file_.open (fh, mode & ~Text, flags)))
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:543:33:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if (!(success = m_->file_.open (fh, mode & ~Text, flags)))
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:567:36:  [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).
  success && (success = QIODevice::open (mode | Unbuffered));
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:584:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
bool BWFFile::open (int fd, OpenMode mode, FileHandleFlags flags)
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:595:33:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if (!(success = m_->file_.open (fd, mode & ~Text, flags)))
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:617:33:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if (!(success = m_->file_.open (fd, mode & ~Text, flags)))
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:641:36:  [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).
  success && (success = QIODevice::open (mode | Unbuffered));
data/js8call-2.2.0+ds/Audio/BWFFile.hpp:149:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  bool open (OpenMode) override;
data/js8call-2.2.0+ds/Audio/BWFFile.hpp:150:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  bool open (FILE *, OpenMode, FileHandleFlags = QFile::DontCloseHandle);
data/js8call-2.2.0+ds/Audio/BWFFile.hpp:151:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  bool open (int fd, OpenMode, FileHandleFlags = QFile::DontCloseHandle);
data/js8call-2.2.0+ds/AudioDecoder.cpp:27:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!m_output.open(QIODevice::ReadOnly) || !m_input.open(QIODevice::WriteOnly)){
data/js8call-2.2.0+ds/AudioDecoder.cpp:27:57:  [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 (!m_output.open(QIODevice::ReadOnly) || !m_input.open(QIODevice::WriteOnly)){
data/js8call-2.2.0+ds/AudioDevice.cpp:8:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  return QIODevice::open (mode | QIODevice::Unbuffered);
data/js8call-2.2.0+ds/Configuration.cpp:3487:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  frequencies_file.open (QFile::ReadOnly);
data/js8call-2.2.0+ds/Configuration.cpp:3527: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).
      frequencies_file.open (QFile::WriteOnly);
data/js8call-2.2.0+ds/Detector.cpp: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(temp, array, n * sizeof(T));                  // temporarily save leading n elements
data/js8call-2.2.0+ds/Detector.cpp: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(temp, array + size - n, n * sizeof(T));      // temporarily save trailing n elements
data/js8call-2.2.0+ds/Detector.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(array, temp, n * sizeof(T));                 // prepend saved
data/js8call-2.2.0+ds/HRDTransceiver.cpp:154: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).
  if (!HRD_info_file.open (QFile::WriteOnly | QFile::Text | QFile::Truncate))
data/js8call-2.2.0+ds/HamlibTransceiver.cpp:275: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).
          if (settings_file.open (QFile::ReadOnly))
data/js8call-2.2.0+ds/HelpTextWindow.cpp:16:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (!source.open (QIODevice::ReadOnly | QIODevice::Text))
data/js8call-2.2.0+ds/Inbox.cpp:56: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).
bool Inbox::open(){
data/js8call-2.2.0+ds/Inbox.h:26: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).
    bool open();
data/js8call-2.2.0+ds/NotificationAudio.cpp:58:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(m_file->open(BWFFile::ReadOnly)){
data/js8call-2.2.0+ds/NotificationAudio.cpp:81:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(!m_buffer.open(QIODevice::ReadOnly)){
data/js8call-2.2.0+ds/TraceFile.cpp:63:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (file_.open (QFile::WriteOnly | QFile::Append | QFile::Text))
data/js8call-2.2.0+ds/WFPalette.cpp:66: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::ReadOnly))
data/js8call-2.2.0+ds/WFPalette.cpp:240:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          if (file.open (QFile::WriteOnly | QFile::Truncate | QFile::Text))
data/js8call-2.2.0+ds/WaveFile.cpp:48:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        id[4];
data/js8call-2.2.0+ds/WaveFile.cpp:55: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        type[4];        // "WAVE"
data/js8call-2.2.0+ds/WaveFile.cpp:87:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
bool WaveFile::open(const QString &fileName)
data/js8call-2.2.0+ds/WaveFile.cpp:91:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    return QFile::open(QIODevice::ReadOnly) && readHeader();
data/js8call-2.2.0+ds/WaveFile.h:53:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    using QFile::open;
data/js8call-2.2.0+ds/WaveFile.h:54: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).
    bool open(const QString &fileName);
data/js8call-2.2.0+ds/commons.h:135: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 datetime[20];
data/js8call-2.2.0+ds/commons.h:136: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 mycall[12];
data/js8call-2.2.0+ds/commons.h:137: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 mygrid[6];
data/js8call-2.2.0+ds/commons.h:138: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 hiscall[12];
data/js8call-2.2.0+ds/commons.h:139: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 hisgrid[6];
data/js8call-2.2.0+ds/commons.h:155:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char  cmsg[5][40];
data/js8call-2.2.0+ds/commons.h:156:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char  mycall[12];
data/js8call-2.2.0+ds/getfile.cpp:26: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 ariff[4];
data/js8call-2.2.0+ds/getfile.cpp:28: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 awave[4];
data/js8call-2.2.0+ds/getfile.cpp:29: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 afmt[4];
data/js8call-2.2.0+ds/getfile.cpp:37:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char adata[4];
data/js8call-2.2.0+ds/getfile.cpp:41:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[512];
data/js8call-2.2.0+ds/getfile.cpp:45:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE* fp=fopen(name,"rb");
data/js8call-2.2.0+ds/getfile.cpp:67:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char id[4];
data/js8call-2.2.0+ds/getfile.cpp:70: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 type[4];
data/js8call-2.2.0+ds/getfile.cpp:109: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 ariff[4];         //ChunkID:    "RIFF"
data/js8call-2.2.0+ds/getfile.cpp:111: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 awave[4];         //Format: "WAVE"
data/js8call-2.2.0+ds/getfile.cpp:112: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 afmt[4];          //Subchunk1ID: "fmt "
data/js8call-2.2.0+ds/getfile.cpp:120:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char adata[4];         //Subchunk2ID: "data"
data/js8call-2.2.0+ds/getfile.cpp:126:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[512];
data/js8call-2.2.0+ds/getfile.cpp:129:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE* fp=fopen(name,"wb");
data/js8call-2.2.0+ds/getfile.cpp:199:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char s[10];
data/js8call-2.2.0+ds/getfile.cpp:208:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(s,"\\\\.\\COM%d",nport);
data/js8call-2.2.0+ds/getfile.cpp:241:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd=open("/dev/ttyUSB0",O_RDWR | O_NONBLOCK);
data/js8call-2.2.0+ds/killbyname.cpp:34:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char szName[MAX_PATH],szToTermUpper[MAX_PATH];
data/js8call-2.2.0+ds/killbyname.cpp:113:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy(szName,"Unknown");
data/js8call-2.2.0+ds/lib/decode_rs.c:169: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(lambda,t,(NROOTS+1)*sizeof(t[0]));
data/js8call-2.2.0+ds/lib/decode_rs.c:181: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(&reg[1],&lambda[1],NROOTS*sizeof(reg[0]));
data/js8call-2.2.0+ds/lib/init_random_seed.c:33: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).
  if ((random_source = open ("/dev/urandom", O_RDONLY)) >= 0)
data/js8call-2.2.0+ds/lib/ptt.c:8:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char s[10];
data/js8call-2.2.0+ds/lib/ptt.c:16:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(*ntx && (!open)) {
data/js8call-2.2.0+ds/lib/ptt.c:17:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(s,"\\\\.\\COM%d",*nport);
data/js8call-2.2.0+ds/lib/ptt.c:27: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(*ntx && open) {
data/js8call-2.2.0+ds/logbook/adif.cpp:216:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (inputFile.open(QIODevice::ReadOnly))
data/js8call-2.2.0+ds/logbook/adif.cpp:387:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!f2.open(QIODevice::Text | QIODevice::Append))
data/js8call-2.2.0+ds/logbook/countrydat.cpp:82:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (inputFile.open(QIODevice::ReadOnly))
data/js8call-2.2.0+ds/logqso.cpp:292:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(!f.open(QIODevice::Text | QIODevice::Append)) {
data/js8call-2.2.0+ds/main.cpp:243:106:  [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 (!temp_dir.isReadable () || !(temp_ok = QTemporaryFile {temp_dir.absoluteFilePath ("test")}.open ()))
data/js8call-2.2.0+ds/mainwindow.cpp:122:1:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
wchar_t buffer[256];
data/js8call-2.2.0+ds/mainwindow.cpp:1086:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (f.open(QIODevice::Truncate | QIODevice::WriteOnly | QIODevice::Text)) {
data/js8call-2.2.0+ds/mainwindow.cpp:1350:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if(!inbox.open()){
data/js8call-2.2.0+ds/mainwindow.cpp:1380:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          if(!inbox.open()){
data/js8call-2.2.0+ds/mainwindow.cpp:1644:61:  [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).
    QFile {m_config.temp_dir ().absoluteFilePath (".lock")}.open(QIODevice::ReadWrite);
data/js8call-2.2.0+ds/mainwindow.cpp:1918: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(inbox.open()){
data/js8call-2.2.0+ds/mainwindow.cpp:2702:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[80];
data/js8call-2.2.0+ds/mainwindow.cpp:2831: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 (!wav.open (BWFFile::WriteOnly)
data/js8call-2.2.0+ds/mainwindow.cpp:3769: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).
  quitFile.open(QIODevice::ReadWrite);
data/js8call-2.2.0+ds/mainwindow.cpp:3967:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      bool ok=file.open (BWFFile::ReadOnly);
data/js8call-2.2.0+ds/mainwindow.cpp:4777: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(to, from, qMin(mem_js8->size(), size));
data/js8call-2.2.0+ds/mainwindow.cpp:4812:59:  [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).
  QFile {m_config.temp_dir ().absoluteFilePath (".lock")}.open(QIODevice::ReadWrite);
data/js8call-2.2.0+ds/mainwindow.cpp:5761:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char message[29];
data/js8call-2.2.0+ds/mainwindow.cpp:5762:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char msgsent[29];
data/js8call-2.2.0+ds/mainwindow.cpp:5958:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char MyCall[6];
data/js8call-2.2.0+ds/mainwindow.cpp:5959:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char MyGrid[6];
data/js8call-2.2.0+ds/mainwindow.cpp:5966:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char ft8msgbits[75 + 12]; //packed 75 bit ft8 message plus 12-bit CRC
data/js8call-2.2.0+ds/mainwindow.cpp:6168:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char s[41];
data/js8call-2.2.0+ds/mainwindow.cpp:6644:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (f.open (QIODevice::ReadOnly | QIODevice::Text))
data/js8call-2.2.0+ds/mainwindow.cpp:6646:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char c[132];
data/js8call-2.2.0+ds/mainwindow.cpp:6698: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).
  if(!f1.open(QIODevice::ReadWrite | QIODevice::Text)) {
data/js8call-2.2.0+ds/mainwindow.cpp:6708:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f1.open(QIODevice::ReadOnly | QIODevice::Text);
data/js8call-2.2.0+ds/mainwindow.cpp:6711: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).
  if(!f2.open(QIODevice::WriteOnly | QIODevice::Text)) {
data/js8call-2.2.0+ds/mainwindow.cpp:9651: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(i.open()){
data/js8call-2.2.0+ds/mainwindow.cpp:11882:27:  [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(!inbox.open()){
data/js8call-2.2.0+ds/mainwindow.cpp:12060: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(inbox.open()){
data/js8call-2.2.0+ds/mainwindow.cpp:12105:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(!inbox.open()){
data/js8call-2.2.0+ds/mainwindow.cpp:12126:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(!inbox.open()){
data/js8call-2.2.0+ds/mainwindow.cpp:12163:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(!inbox.open()){
data/js8call-2.2.0+ds/mainwindow.cpp:13333:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if(!inbox.open()){
data/js8call-2.2.0+ds/mainwindow.cpp:13518:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (f.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append)) {
data/js8call-2.2.0+ds/mainwindow.cpp:13799: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).
  if (f2.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append)) {
data/js8call-2.2.0+ds/mainwindow.cpp:13825:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (f.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append))
data/js8call-2.2.0+ds/mainwindow.cpp:13860:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if (f.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append)) {
data/js8call-2.2.0+ds/mainwindow.cpp:13886:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (f.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append)) {
data/js8call-2.2.0+ds/mainwindow.h:684:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char    m_msg[100][80];
data/js8call-2.2.0+ds/plotter.h:204:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char    m_sutc[6];
data/js8call-2.2.0+ds/widegraph.cpp:479: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(swideLocal, swide, sizeof(swide[0])*MAX_SCREENSIZE);
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:39:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          auto len = std::min (size_t (4), strlen (id));
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:88:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      std::strncpy (origination_date_,
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:91:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      std::strncpy (origination_time_,
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:215:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (file_.read (&outer_desc, sizeof outer_desc) != sizeof outer_desc) return false;
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:222:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          if (file_.read (riff_item, sizeof riff_item) != sizeof riff_item) return false;
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:231:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                  if (file_.read (&wave_desc, sizeof wave_desc) != sizeof wave_desc) return false;
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:235:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                      bext_ = file_.read (wave_size);
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:240:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                      if (file_.read (reinterpret_cast<char *> (&fmt), sizeof fmt) != sizeof fmt) return false;
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:259:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                      if (file_.read (list_type, sizeof list_type) != sizeof list_type) return false;
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:267:41:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                              if (file_.read (&info_desc, sizeof info_desc) != sizeof info_desc) return false;
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:269:71:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                              info_dictionary_[info_desc.id_] = file_.read (info_size);
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:682:62:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return QByteArray::fromRawData (m_->bext ()->description_, strlen (m_->bext ()->description_));
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:688:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  std::strncpy (m_->bext ()->description_, description.constData (), sizeof (BroadcastAudioExtension::description_));
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:694:61:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return QByteArray::fromRawData (m_->bext ()->originator_, strlen (m_->bext ()->originator_));
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:700:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  std::strncpy (m_->bext ()->originator_, originator.constData (), sizeof (BroadcastAudioExtension::originator_));
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:706:71:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return QByteArray::fromRawData (m_->bext ()->originator_reference_, strlen (m_->bext ()->originator_reference_));
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:712:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  std::strncpy (m_->bext ()->originator_reference_, reference.constData (), sizeof (BroadcastAudioExtension::originator_reference_));
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:725:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  std::strncpy (m_->bext ()->origination_date_,
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:728:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  std::strncpy (m_->bext ()->origination_time_,
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:834:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  auto length = std::min (strlen (text.constData ()), size_t (text.size ()));
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:836:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  std::strncpy (m_->bext ()->coding_history_, text.constData (), length);
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:866:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                      buffer = m_->file_.read (std::min (size, qint64 (32768)));
data/js8call-2.2.0+ds/Audio/BWFFile.cpp:965:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return m_->file_.read (data, max_size);
data/js8call-2.2.0+ds/AudioDecoder.cpp:65:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        m_output.read(data, maxlen);
data/js8call-2.2.0+ds/AudioDecoder.cpp:100:45:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    const QAudioBuffer &buffer = m_decoder->read();
data/js8call-2.2.0+ds/Inbox.cpp:168:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        m.read(d.object());
data/js8call-2.2.0+ds/Inbox.cpp:209:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        m.read(d.object());
data/js8call-2.2.0+ds/Message.cpp:71:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Message::read(const QJsonObject &json){
data/js8call-2.2.0+ds/Message.h:22:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const QJsonObject &json);
data/js8call-2.2.0+ds/MessageClient.cpp:161:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        m.read(d.object());
data/js8call-2.2.0+ds/MessageServer.cpp:219:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        m.read(d.object());
data/js8call-2.2.0+ds/WaveFile.cpp:108:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bool result = read(reinterpret_cast<char *>(&header), sizeof(CombinedHeader)) == sizeof(CombinedHeader);
data/js8call-2.2.0+ds/WaveFile.cpp:125:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                if (read(throwAwayBytes).size() != throwAwayBytes)
data/js8call-2.2.0+ds/WaveFile.cpp:129:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if (read((char*)&dataHeader, sizeof(DATAHeader)) != sizeof(DATAHeader))
data/js8call-2.2.0+ds/getfile.cpp:42:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(name,fname.toLatin1(), sizeof (name) - 1);
data/js8call-2.2.0+ds/getfile.cpp:127:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(name,fname.toLatin1(),sizeof (name) - 1);
data/js8call-2.2.0+ds/killbyname.cpp:45:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  iLenP=strlen(szToTerminate);
data/js8call-2.2.0+ds/lib/init_random_seed.c:39:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          ssize_t result = read (random_source, &seed + random_data_length, (sizeof seed) - random_data_length);
data/js8call-2.2.0+ds/lib/ipcomm.cpp:42:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy(tempstr, mykey, mykey_len);
data/js8call-2.2.0+ds/lib/rig_control.c:63:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(my_rig->state.rigport.pathname, rig_file, FILPATHLEN - 1);
data/js8call-2.2.0+ds/lib/sleep.h:23:11:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
#  define usleep(t) Sleep((t) / 1000)
data/js8call-2.2.0+ds/lib/sleep.h:28:21:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
#  define msleep(t) usleep((t) * 1000)
data/js8call-2.2.0+ds/lib/usleep.c:7:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  usleep(*microsec);
data/js8call-2.2.0+ds/mainwindow.cpp:3972:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        auto n = file.read (reinterpret_cast<char *> (dec_data.d2),
data/js8call-2.2.0+ds/mainwindow.cpp:4714:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(dec_data.params.datetime, m_dateTime.toLatin1(), 20);
data/js8call-2.2.0+ds/mainwindow.cpp:4715:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(dec_data.params.mycall, (m_config.my_callsign()+"            ").toLatin1(),12);
data/js8call-2.2.0+ds/mainwindow.cpp:4716:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(dec_data.params.mygrid, (m_config.my_grid()+"      ").toLatin1(),6);
data/js8call-2.2.0+ds/mainwindow.cpp:4719:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(dec_data.params.hiscall,(hisCall + "            ").toLatin1 ().constData (), 12);
data/js8call-2.2.0+ds/mainwindow.cpp:4720:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(dec_data.params.hisgrid,(hisGrid + "      ").toLatin1 ().constData (), 6);
data/js8call-2.2.0+ds/mainwindow.cpp:5960:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(MyCall, (m_config.my_callsign()+"      ").toLatin1(),6);
data/js8call-2.2.0+ds/mainwindow.cpp:5961:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(MyGrid, (m_config.my_grid()+"      ").toLatin1(),6);
data/js8call-2.2.0+ds/mainwindow.cpp:6004:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(&foxcom_.cmsg[0][0], QString::fromStdString(message).toLatin1(), 12);
data/js8call-2.2.0+ds/mainwindow.cpp:6009:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(&foxcom_.cmsg[i][0], pair.first.toLatin1(), 12);
data/js8call-2.2.0+ds/mainwindow.cpp:12112:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return (store + unread + read) > 0;

ANALYSIS SUMMARY:

Hits = 200
Lines analyzed = 577643 in approximately 18.46 seconds (31292 lines/second)
Physical Source Lines of Code (SLOC) = 564244
Hits@level = [0]  13 [1]  54 [2] 124 [3]   1 [4]  21 [5]   0
Hits@level+ = [0+] 213 [1+] 200 [2+] 146 [3+]  22 [4+]  21 [5+]   0
Hits/KSLOC@level+ = [0+] 0.377496 [1+] 0.354457 [2+] 0.258753 [3+] 0.0389902 [4+] 0.0372179 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.