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/dgedit-0.10.0/src/renderdialog.cc
Examining data/dgedit-0.10.0/src/audioextractor.cc
Examining data/dgedit-0.10.0/src/aboutdialog.cc
Examining data/dgedit-0.10.0/src/channelswidget.cc
Examining data/dgedit-0.10.0/src/volumefader.h
Examining data/dgedit-0.10.0/src/instrumentwidget.h
Examining data/dgedit-0.10.0/src/projectrenderer.h
Examining data/dgedit-0.10.0/src/project.cc
Examining data/dgedit-0.10.0/src/projectserialiser.cc
Examining data/dgedit-0.10.0/src/projectserialiser.h
Examining data/dgedit-0.10.0/src/channelswidget.h
Examining data/dgedit-0.10.0/src/zoomslider.h
Examining data/dgedit-0.10.0/src/selectioneditor.h
Examining data/dgedit-0.10.0/src/canvas.h
Examining data/dgedit-0.10.0/src/zoomslider.cc
Examining data/dgedit-0.10.0/src/mipmap.cc
Examining data/dgedit-0.10.0/src/samplesorter.h
Examining data/dgedit-0.10.0/src/canvastool.h
Examining data/dgedit-0.10.0/src/instrumentwidget.cc
Examining data/dgedit-0.10.0/src/canvastoolthreshold.cc
Examining data/dgedit-0.10.0/src/player.h
Examining data/dgedit-0.10.0/src/channeldialog.h
Examining data/dgedit-0.10.0/src/samplesorter.cc
Examining data/dgedit-0.10.0/src/imageeditor.cc
Examining data/dgedit-0.10.0/src/imageeditor.h
Examining data/dgedit-0.10.0/src/filelist.h
Examining data/dgedit-0.10.0/src/itemeditor.h
Examining data/dgedit-0.10.0/src/channeldialog.cc
Examining data/dgedit-0.10.0/src/localehandler.cc
Examining data/dgedit-0.10.0/src/sleep.h
Examining data/dgedit-0.10.0/src/mainwindow.cc
Examining data/dgedit-0.10.0/src/canvastoollisten.h
Examining data/dgedit-0.10.0/src/projectrenderer.cc
Examining data/dgedit-0.10.0/src/canvas.cc
Examining data/dgedit-0.10.0/src/mipmap.h
Examining data/dgedit-0.10.0/src/canvaswidget.h
Examining data/dgedit-0.10.0/src/canvaswidget.cc
Examining data/dgedit-0.10.0/src/canvastoolselections.h
Examining data/dgedit-0.10.0/src/volumefader.cc
Examining data/dgedit-0.10.0/src/canvastoollisten.cc
Examining data/dgedit-0.10.0/src/canvastool.cc
Examining data/dgedit-0.10.0/src/renderdialog.h
Examining data/dgedit-0.10.0/src/audioextractor.h
Examining data/dgedit-0.10.0/src/itemeditor.cc
Examining data/dgedit-0.10.0/src/player.cc
Examining data/dgedit-0.10.0/src/localehandler.h
Examining data/dgedit-0.10.0/src/settings.h
Examining data/dgedit-0.10.0/src/projectdialog.h
Examining data/dgedit-0.10.0/src/dgedit.cc
Examining data/dgedit-0.10.0/src/instrumentdialog.h
Examining data/dgedit-0.10.0/src/canvastoolthreshold.h
Examining data/dgedit-0.10.0/src/aboutdialog.h
Examining data/dgedit-0.10.0/src/selection.cc
Examining data/dgedit-0.10.0/src/selectioneditor.cc
Examining data/dgedit-0.10.0/src/projectdialog.cc
Examining data/dgedit-0.10.0/src/instrumentdialog.cc
Examining data/dgedit-0.10.0/src/filelist.cc
Examining data/dgedit-0.10.0/src/project.h
Examining data/dgedit-0.10.0/src/selection.h
Examining data/dgedit-0.10.0/src/settings.cc
Examining data/dgedit-0.10.0/src/mainwindow.h
Examining data/dgedit-0.10.0/src/canvastoolselections.cc
Examining data/dgedit-0.10.0/version.h

FINAL RESULTS:

data/dgedit-0.10.0/src/aboutdialog.cc:49: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(file.open(QIODevice::ReadOnly))
data/dgedit-0.10.0/src/aboutdialog.cc:63: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(file.open(QIODevice::ReadOnly))
data/dgedit-0.10.0/src/audioextractor.cc:277: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(!xmlfile.open(QIODevice::WriteOnly))
data/dgedit-0.10.0/src/mainwindow.cc:488: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(!file.open(QIODevice::ReadOnly))
data/dgedit-0.10.0/src/mainwindow.cc:545: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(!file.open(QIODevice::WriteOnly))
data/dgedit-0.10.0/src/projectrenderer.cc:134: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(!xmlfile.open(QIODevice::WriteOnly))
data/dgedit-0.10.0/src/sleep.h:45:7:  [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.
	void usleep(unsigned long usecs)
data/dgedit-0.10.0/src/sleep.h:47:12:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
		QThread::usleep(usecs);
data/dgedit-0.10.0/src/sleep.h:66:4:  [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.
	s.usleep(usecs);

ANALYSIS SUMMARY:

Hits = 9
Lines analyzed = 8775 in approximately 0.23 seconds (38250 lines/second)
Physical Source Lines of Code (SLOC) = 5671
Hits@level = [0]   5 [1]   3 [2]   6 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]  14 [1+]   9 [2+]   6 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 2.4687 [1+] 1.58702 [2+] 1.05801 [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.