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/adwaita-qt-1.1.91/src/demo/main.cpp Examining data/adwaita-qt-1.1.91/src/demo/widgetfactory.cpp Examining data/adwaita-qt-1.1.91/src/demo/widgetfactory.h Examining data/adwaita-qt-1.1.91/src/lib/adwaita.cpp Examining data/adwaita-qt-1.1.91/src/lib/adwaita.h Examining data/adwaita-qt-1.1.91/src/lib/adwaitaaddeventfilter.cpp Examining data/adwaita-qt-1.1.91/src/lib/adwaitaaddeventfilter.h Examining data/adwaita-qt-1.1.91/src/lib/adwaitacolors.cpp Examining data/adwaita-qt-1.1.91/src/lib/adwaitacolors.h Examining data/adwaita-qt-1.1.91/src/lib/adwaitadebug.h Examining data/adwaita-qt-1.1.91/src/lib/adwaitamnemonics.cpp Examining data/adwaita-qt-1.1.91/src/lib/adwaitamnemonics.h Examining data/adwaita-qt-1.1.91/src/lib/adwaitaqt_export.h Examining data/adwaita-qt-1.1.91/src/lib/adwaitasplitterproxy.cpp Examining data/adwaita-qt-1.1.91/src/lib/adwaitasplitterproxy.h Examining data/adwaita-qt-1.1.91/src/lib/adwaitawidgetexplorer.cpp Examining data/adwaita-qt-1.1.91/src/lib/adwaitawidgetexplorer.h Examining data/adwaita-qt-1.1.91/src/lib/adwaitawindowmanager.cpp Examining data/adwaita-qt-1.1.91/src/lib/adwaitawindowmanager.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitaanimation.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitaanimation.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitaanimationdata.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitaanimationdata.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitaanimations.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitaanimations.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitabaseengine.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitabaseengine.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitabusyindicatordata.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitabusyindicatordata.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitabusyindicatorengine.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitabusyindicatorengine.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitadatamap.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitadialdata.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitadialdata.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitadialengine.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitadialengine.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitaenabledata.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitaenabledata.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitagenericdata.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitagenericdata.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitaheaderviewdata.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitaheaderviewdata.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitaheaderviewengine.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitaheaderviewengine.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitascrollbardata.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitascrollbardata.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitascrollbarengine.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitascrollbarengine.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitaspinboxdata.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitaspinboxdata.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitaspinboxengine.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitaspinboxengine.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitastackedwidgetdata.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitastackedwidgetdata.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitastackedwidgetengine.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitastackedwidgetengine.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitatabbardata.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitatabbardata.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitatabbarengine.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitatabbarengine.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitatoolboxengine.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitatoolboxengine.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitatransitiondata.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitatransitiondata.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitatransitionwidget.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitatransitionwidget.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitawidgetstatedata.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitawidgetstatedata.h Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitawidgetstateengine.cpp Examining data/adwaita-qt-1.1.91/src/lib/animations/adwaitawidgetstateengine.h Examining data/adwaita-qt-1.1.91/src/style/adwaitahelper.cpp Examining data/adwaita-qt-1.1.91/src/style/adwaitahelper.h Examining data/adwaita-qt-1.1.91/src/style/adwaitastyle.cpp Examining data/adwaita-qt-1.1.91/src/style/adwaitastyle.h Examining data/adwaita-qt-1.1.91/src/style/adwaitastyleplugin.cpp Examining data/adwaita-qt-1.1.91/src/style/adwaitastyleplugin.h Examining data/adwaita-qt-1.1.91/tests/test.cpp Examining data/adwaita-qt-1.1.91/tests/test.h FINAL RESULTS: data/adwaita-qt-1.1.91/src/style/adwaitahelper.cpp:1394:97: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). (*XcbInternAtomFnPtr)(xcbConn, 0, strlen(_GTK_THEME_VARIANT), ANALYSIS SUMMARY: Hits = 1 Lines analyzed = 19635 in approximately 0.47 seconds (41999 lines/second) Physical Source Lines of Code (SLOC) = 12461 Hits@level = [0] 0 [1] 1 [2] 0 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 1 [1+] 1 [2+] 0 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 0.0802504 [1+] 0.0802504 [2+] 0 [3+] 0 [4+] 0 [5+] 0 Dot directories skipped = 2 (--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.