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/kdav-5.74.0/autotests/davitemslistjobtest.h Examining data/kdav-5.74.0/autotests/davcollectiontest.h Examining data/kdav-5.74.0/autotests/davitemfetchjobtest.h Examining data/kdav-5.74.0/autotests/davitemfetchjobtest.cpp Examining data/kdav-5.74.0/autotests/davcollectiontest.cpp Examining data/kdav-5.74.0/autotests/davitemtest.cpp Examining data/kdav-5.74.0/autotests/fakeserver.h Examining data/kdav-5.74.0/autotests/davurltest.h Examining data/kdav-5.74.0/autotests/davcollectionsmultifetchjobtest.cpp Examining data/kdav-5.74.0/autotests/fakeserver.cpp Examining data/kdav-5.74.0/autotests/davcollectionsmultifetchjobtest.h Examining data/kdav-5.74.0/autotests/davitemslistjobtest.cpp Examining data/kdav-5.74.0/autotests/davitemtest.h Examining data/kdav-5.74.0/autotests/davurltest.cpp Examining data/kdav-5.74.0/test/testserver.cpp Examining data/kdav-5.74.0/src/protocols/groupdavprotocol.cpp Examining data/kdav-5.74.0/src/protocols/caldavprotocol_p.h Examining data/kdav-5.74.0/src/protocols/carddavprotocol.cpp Examining data/kdav-5.74.0/src/protocols/carddavprotocol_p.h Examining data/kdav-5.74.0/src/protocols/groupdavprotocol_p.h Examining data/kdav-5.74.0/src/protocols/caldavprotocol.cpp Examining data/kdav-5.74.0/src/common/davurl.h Examining data/kdav-5.74.0/src/common/protocolinfo.cpp Examining data/kdav-5.74.0/src/common/davmultigetprotocol_p.h Examining data/kdav-5.74.0/src/common/davcollectionsfetchjob.cpp Examining data/kdav-5.74.0/src/common/davcollectionmodifyjob.h Examining data/kdav-5.74.0/src/common/davitemslistjob.h Examining data/kdav-5.74.0/src/common/davjobbase.cpp Examining data/kdav-5.74.0/src/common/davitem.h Examining data/kdav-5.74.0/src/common/davcollectiondeletejob.cpp Examining data/kdav-5.74.0/src/common/etagcache.cpp Examining data/kdav-5.74.0/src/common/davitem.cpp Examining data/kdav-5.74.0/src/common/davprincipalhomesetsfetchjob.h Examining data/kdav-5.74.0/src/common/davprincipalsearchjob.h Examining data/kdav-5.74.0/src/common/davitemmodifyjob.h Examining data/kdav-5.74.0/src/common/davitemsfetchjob.cpp Examining data/kdav-5.74.0/src/common/davcollection.h Examining data/kdav-5.74.0/src/common/davitemslistjob.cpp Examining data/kdav-5.74.0/src/common/davcollectiondeletejob.h Examining data/kdav-5.74.0/src/common/davprincipalhomesetsfetchjob.cpp Examining data/kdav-5.74.0/src/common/davitemfetchjob.h Examining data/kdav-5.74.0/src/common/davcollectionmodifyjob.cpp Examining data/kdav-5.74.0/src/common/davitemcreatejob.h Examining data/kdav-5.74.0/src/common/davcollectionsfetchjob.h Examining data/kdav-5.74.0/src/common/davjobbase_p.h Examining data/kdav-5.74.0/src/common/davitemfetchjob.cpp Examining data/kdav-5.74.0/src/common/davitemdeletejob.h Examining data/kdav-5.74.0/src/common/davcollectionsmultifetchjob.h Examining data/kdav-5.74.0/src/common/davcollection.cpp Examining data/kdav-5.74.0/src/common/protocolinfo.h Examining data/kdav-5.74.0/src/common/davitemsfetchjob.h Examining data/kdav-5.74.0/src/common/enums.h Examining data/kdav-5.74.0/src/common/davurl.cpp Examining data/kdav-5.74.0/src/common/davprotocolbase_p.h Examining data/kdav-5.74.0/src/common/davprincipalsearchjob.cpp Examining data/kdav-5.74.0/src/common/utils.cpp Examining data/kdav-5.74.0/src/common/daverror.cpp Examining data/kdav-5.74.0/src/common/davprotocolbase.cpp Examining data/kdav-5.74.0/src/common/davitemmodifyjob.cpp Examining data/kdav-5.74.0/src/common/davjobbase.h Examining data/kdav-5.74.0/src/common/davmanager_p.h Examining data/kdav-5.74.0/src/common/etagcache.h Examining data/kdav-5.74.0/src/common/davmultigetprotocol.cpp Examining data/kdav-5.74.0/src/common/utils_p.h Examining data/kdav-5.74.0/src/common/davitemdeletejob.cpp Examining data/kdav-5.74.0/src/common/daverror.h Examining data/kdav-5.74.0/src/common/davitemcreatejob.cpp Examining data/kdav-5.74.0/src/common/davcollectionsmultifetchjob.cpp Examining data/kdav-5.74.0/src/common/davmanager.cpp FINAL RESULTS: data/kdav-5.74.0/autotests/fakeserver.cpp:100: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). file.open(QFile::ReadOnly); data/kdav-5.74.0/src/common/davcollectionsfetchjob.cpp:175: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). buffer.open(QIODevice::ReadOnly); ANALYSIS SUMMARY: Hits = 2 Lines analyzed = 6984 in approximately 0.34 seconds (20347 lines/second) Physical Source Lines of Code (SLOC) = 4254 Hits@level = [0] 0 [1] 0 [2] 2 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 2 [1+] 2 [2+] 2 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 0.470146 [1+] 0.470146 [2+] 0.470146 [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.