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/bdbvu-0.1/mainwindow.h
Examining data/bdbvu-0.1/database.cpp
Examining data/bdbvu-0.1/database.h
Examining data/bdbvu-0.1/main.cpp
Examining data/bdbvu-0.1/mainwindow.cpp

FINAL RESULTS:

data/bdbvu-0.1/database.cpp:29: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).
    env.open(0, DB_INIT_MPOOL | DB_CREATE | DB_PRIVATE, 0);
data/bdbvu-0.1/database.cpp:41: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).
void database::open(const char* filename)
data/bdbvu-0.1/database.cpp:46: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).
        db->open(0, filename, 0, DB_UNKNOWN, DB_RDONLY | DB_RDWRMASTER, 0);
data/bdbvu-0.1/database.cpp:108: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).
        sdb->open(0, filename.toLatin1(), dbname.toLatin1(), DB_UNKNOWN, DB_RDONLY | DB_RDWRMASTER, 0);
data/bdbvu-0.1/database.h:68: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(const char* filename);
data/bdbvu-0.1/mainwindow.cpp:71: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).
        db.open(filename.toLatin1());

ANALYSIS SUMMARY:

Hits = 6
Lines analyzed = 468 in approximately 0.02 seconds (23209 lines/second)
Physical Source Lines of Code (SLOC) = 277
Hits@level = [0]   0 [1]   0 [2]   6 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   6 [1+]   6 [2+]   6 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 21.6606 [1+] 21.6606 [2+] 21.6606 [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.