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/gtk2-engines-oxygen-1.4.6/src/oxygenpalette.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenobjectcounter.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenwindecobutton.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenwindowmanager.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygengtkutils.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenapplicationname.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenoption.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenstylewrapper.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenmetrics.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygentheme.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenpathlist.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenstylehelper.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygencairocontext.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenwindowshadow.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenshadowhelper.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygengtkcellinfo.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenpathlist.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygendefines.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygengtktypenames.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenargbhelper.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenanimationmodes.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenloghandler.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenanimations.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenfollowmousedata.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenhook.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenpanedengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygencomboengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenwidgetsizeengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygencomboboxentryengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenbackgroundhintengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenbackgroundhintengine.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenbaseengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenscrolledwindowdata.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygendialogengine.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenscrollbardata.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenmainwindowengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenmenustatedata.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenfollowmousedata.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenmenuitemengine.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenhoverengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenanimations.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenwidgetstatedata.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenflatwidgetengine.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygencomboboxdata.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenarrowstatedata.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygentimeline.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenscrollbarengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygentreeviewstateengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenscrollbardata.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenmainwindowdata.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenhook.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenscrollbarstatedata.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygentabwidgetdata.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygentabwidgetdata.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygentreeviewdata.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenmenubarstateengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenflatwidgetengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenmainwindowdata.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygentoolbarstatedata.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygentabwidgetstatedata.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygeninnershadowdata.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenmenuitemdata.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygendialogengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygentimeline.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygentimer.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygentabwidgetstatedata.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygentabwidgetengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygengenericengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenhoverdata.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenwidgetstateengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygentabwidgetstateengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygentreeviewstatedata.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygentreeviewengine.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenmenustatedata.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygentreeviewengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygentimer.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenbaseengine.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenanimationengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygeninnershadowengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenscrollbarstateengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygencomboboxentrydata.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenmenuitemdata.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygensignal.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygensignal.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenarrowstatedata.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygentreeviewstatedata.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygentreeviewdata.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenscrolledwindowdata.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygencomboboxengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenmenubarstatedata.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenmenuitemengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenmenubarstatedata.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygengroupboxlabeldata.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenscrollbarstatedata.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygeninnershadowdata.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenwidgetstateengine.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenarrowstateengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygentoolbarstateengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygengroupboxlabelengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenhoverdata.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygentoolbarstatedata.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenscrolledwindowengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygencomboboxdata.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenwidgetstatedata.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygentimelineserver.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygentimelineserver.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygengroupboxengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenwidgetsizedata.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygencomboboxentrydata.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygendatamap.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenwidgetsizedata.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenmenustateengine.h Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenpaneddata.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenpaneddata.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenstylewrapper.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenfontinfo.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenanimationdata.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenqtsettings.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygengtkrc.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygencolorutils.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygencairosurfacecache.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenshadowconfiguration.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenobjectcountermap.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygentheme.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenobjectcountermap.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygencoloreffect.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenstyleoptions.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygengtkdetails.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygengtktypenames.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenrcstyle.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenoption.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygengtkicons.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenwindecooptions.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenstyle.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygencairopattern.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenapplicationname.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenxulinfo.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenwindecooptions.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenrgba.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenargbhelper.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygengtkcellinfo.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygencolorutils.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenwindecobutton.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygengtkgap.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygentaboptions.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygengtkutils.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygengtkicons.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenloghandler.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenrcstyle.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygentileset.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenstyleoptions.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenrgba.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygen.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenfontinfo.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygentaboptions.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenpropertynames.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenshadowhelper.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygencoloreffect.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenshadowconfiguration.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenoptionmap.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygencache.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygencairosurface.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygencairoutils.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygengtkrc.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygencairoutils.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygentileset.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenpalette.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenobjectcounter.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenwindowshadow.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenstyle.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygencairocontext.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenstylehelper.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygengeometry.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenpropertynames.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenflags.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenqtsettings.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenwindowmanager.cpp Examining data/gtk2-engines-oxygen-1.4.6/src/oxygencachekey.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygenoptionmap.h Examining data/gtk2-engines-oxygen-1.4.6/src/oxygentilesetcache.h Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygendemodialog.cpp Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygenversion.cpp Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygentabdemowidget.h Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygensignalhandler.h Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygenbuttondemowidget.cpp Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygeninputdemowidget.cpp Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygenversion.h Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygengtkdeco_main.cpp Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygenbuttondemowidget.h Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygentimer.h Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygenframedemowidget.cpp Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygensliderdemowidget.h Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygentabdemowidget.cpp Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygenframedemowidget.h Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygenlistdemowidget.h Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygenlistdemowidget.cpp Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygeninputdemowidget.h Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygentimer.cpp Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygendemodialog.h Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygensignal.h Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygensignal.cpp Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygengtkdemo_main.cpp Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygendemowidget.cpp Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygensignalhandler.cpp Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygeninfowidget.cpp Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygensliderdemowidget.cpp Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygendemowidget.h Examining data/gtk2-engines-oxygen-1.4.6/demo/oxygeninfowidget.h FINAL RESULTS: data/gtk2-engines-oxygen-1.4.6/src/animations/oxygenanimations.cpp:154:13: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if(!getenv("OXYGEN_DISABLE_INNER_SHADOWS_HACK")) data/gtk2-engines-oxygen-1.4.6/src/oxygenapplicationname.cpp:60:32: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* envAppName(getenv("OXYGEN_APPLICATION_NAME_OVERRIDE")); data/gtk2-engines-oxygen-1.4.6/src/oxygenapplicationname.cpp:111:18: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. _version=getenv("LIBO_VERSION"); ANALYSIS SUMMARY: Hits = 3 Lines analyzed = 43473 in approximately 0.99 seconds (43738 lines/second) Physical Source Lines of Code (SLOC) = 24094 Hits@level = [0] 2 [1] 0 [2] 0 [3] 3 [4] 0 [5] 0 Hits@level+ = [0+] 5 [1+] 3 [2+] 3 [3+] 3 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 0.207521 [1+] 0.124512 [2+] 0.124512 [3+] 0.124512 [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.