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/fractgen-2.1.5/src/mandelbrot.h Examining data/fractgen-2.1.5/src/simplehsv.cc Examining data/fractgen-2.1.5/src/fractalgeneratorview.cc Examining data/fractgen-2.1.5/src/fractalgenerator.cc Examining data/fractgen-2.1.5/src/doubleconfigentry.h Examining data/fractgen-2.1.5/src/optionsdialog.h Examining data/fractgen-2.1.5/src/fractalalgorithminterface.h Examining data/fractgen-2.1.5/src/dreibholz1.h Examining data/fractgen-2.1.5/src/fractgen.cc Examining data/fractgen-2.1.5/src/uintconfigentry.h Examining data/fractgen-2.1.5/src/dreibholz1.cc Examining data/fractgen-2.1.5/src/fractalbuffer.cc Examining data/fractgen-2.1.5/src/mandelbrotn.h Examining data/fractgen-2.1.5/src/simplergb.h Examining data/fractgen-2.1.5/src/doubleconfigentry.cc Examining data/fractgen-2.1.5/src/imagedisplay.cc Examining data/fractgen-2.1.5/src/fractalcalculationthread.h Examining data/fractgen-2.1.5/src/fractalgeneratordoc.h Examining data/fractgen-2.1.5/src/mandelbrotn.cc Examining data/fractgen-2.1.5/src/fractalalgorithminterface.cc Examining data/fractgen-2.1.5/src/fractalbuffer.h Examining data/fractgen-2.1.5/src/imagedisplay.h Examining data/fractgen-2.1.5/src/fractalcalculationthread.cc Examining data/fractgen-2.1.5/src/fractalgeneratordoc.cc Examining data/fractgen-2.1.5/src/simplehsv.h Examining data/fractgen-2.1.5/src/colorschemeinterface.cc Examining data/fractgen-2.1.5/src/simplergb.cc Examining data/fractgen-2.1.5/src/mandelbrot.cc Examining data/fractgen-2.1.5/src/fractalgeneratorview.h Examining data/fractgen-2.1.5/src/fractalgenerator.h Examining data/fractgen-2.1.5/src/colorschemeinterface.h Examining data/fractgen-2.1.5/src/optionsdialog.cc Examining data/fractgen-2.1.5/src/configentry.h Examining data/fractgen-2.1.5/src/uintconfigentry.cc FINAL RESULTS: data/fractgen-2.1.5/src/fractalgeneratordoc.cc:70: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(QIODevice::ReadOnly)) { data/fractgen-2.1.5/src/fractalgeneratordoc.cc:249: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). file.open(QIODevice::WriteOnly); data/fractgen-2.1.5/src/fractalgeneratorview.cc:239:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 titleString[512]; ANALYSIS SUMMARY: Hits = 3 Lines analyzed = 3510 in approximately 0.13 seconds (27058 lines/second) Physical Source Lines of Code (SLOC) = 1951 Hits@level = [0] 1 [1] 0 [2] 3 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 4 [1+] 3 [2+] 3 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 2.05023 [1+] 1.53767 [2+] 1.53767 [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.