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/xyscan-4.50/src/xyscanErrorBarScanModeToolBox.h
Examining data/xyscan-4.50/src/xyscanUpdater.cpp
Examining data/xyscan-4.50/src/xyscanGraphicsView.cpp
Examining data/xyscan-4.50/src/xyscanDataTable.h
Examining data/xyscan-4.50/src/xyscanScanTasksHandler.cpp
Examining data/xyscan-4.50/src/xyscanGraphicsView.h
Examining data/xyscan-4.50/src/xyscanVersion.h
Examining data/xyscan-4.50/src/xyscanWindow.h
Examining data/xyscan-4.50/src/xyscanHelpBrowser.h
Examining data/xyscan-4.50/src/xyscanAbout.cpp
Examining data/xyscan-4.50/src/xyscanMarkerMaps.h
Examining data/xyscan-4.50/src/xyscanErrorBarScanModeToolBox.cpp
Examining data/xyscan-4.50/src/xyscanAbout.h
Examining data/xyscan-4.50/src/xyscanDataTable.cpp
Examining data/xyscan-4.50/src/xyscanHelpBrowser.cpp
Examining data/xyscan-4.50/src/xyscanScanTasksHandler.h
Examining data/xyscan-4.50/src/xyscanMain.cpp
Examining data/xyscan-4.50/src/xyscanUpdater.h
Examining data/xyscan-4.50/src/xyscanWindow.cpp

FINAL RESULTS:

data/xyscan-4.50/src/xyscanDataTable.cpp:480: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 arrayName[64];
data/xyscan-4.50/src/xyscanDataTable.cpp:483:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(arrayName,"dxlow%d", i);
data/xyscan-4.50/src/xyscanDataTable.cpp:485:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(arrayName,"dxup%d", i);
data/xyscan-4.50/src/xyscanDataTable.cpp:489:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(arrayName,"dylow%d", i);
data/xyscan-4.50/src/xyscanDataTable.cpp:491:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(arrayName,"dyup%d", i);
data/xyscan-4.50/src/xyscanDataTable.cpp:505:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(arrayName,"dxlow%d", i);
data/xyscan-4.50/src/xyscanDataTable.cpp:507:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(arrayName,"dxup%d", i);
data/xyscan-4.50/src/xyscanDataTable.cpp:511:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(arrayName,"dylow%d", i);
data/xyscan-4.50/src/xyscanDataTable.cpp:513:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(arrayName,"dyup%d", i);
data/xyscan-4.50/src/xyscanDataTable.cpp:526: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 graphName[64];
data/xyscan-4.50/src/xyscanDataTable.cpp:529:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(graphName,"xyscan%d", i);
data/xyscan-4.50/src/xyscanDataTable.cpp:530:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(arrayName,"dxlow%d, dxup%d, dylow%d, dyup%d", i, i, i, i);
data/xyscan-4.50/src/xyscanHelpBrowser.cpp:98: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 (!file.open(QIODevice::ReadOnly | QIODevice::Text)) {
data/xyscan-4.50/src/xyscanWindow.cpp:1070:58:  [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).
    connect(mOpenAction, SIGNAL(triggered()), this, SLOT(open()));
data/xyscan-4.50/src/xyscanWindow.cpp:2172: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).
void xyscanWindow::open() 
data/xyscan-4.50/src/xyscanWindow.cpp:2461: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 (!file.open(QFile::WriteOnly | QFile::Text)) {
data/xyscan-4.50/src/xyscanWindow.h:69: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).
    void open();

ANALYSIS SUMMARY:

Hits = 17
Lines analyzed = 5494 in approximately 0.13 seconds (41144 lines/second)
Physical Source Lines of Code (SLOC) = 3821
Hits@level = [0]   0 [1]   0 [2]  17 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]  17 [1+]  17 [2+]  17 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 4.4491 [1+] 4.4491 [2+] 4.4491 [3+]   0 [4+]   0 [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.