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/ukui-control-center-3.0.1/plugins/account/networkaccount/blueeffect.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/networkaccount.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/logindialog.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/svghandler.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/networkaccount.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/regdialog.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/bindphonedialog.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/maindialog.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/editpassdialog.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/combobox.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/tooltips.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/passwordlineedit.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/tooltips.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/editpushbutton.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/mainwidget.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/editpushbutton.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/tips.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/logindialog.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/frameitem.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/itemlist.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/configfile.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/passwordlineedit.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/passdialog.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/tips.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/successdiaolog.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/editpassdialog.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/frameitem.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/areacodelineedit.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/configfile.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/switchbutton.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/svghandler.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/mcodewidget.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/mainwidget.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/popupwidget.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/switchbutton.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/popupwidget.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/blueeffect.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/passdialog.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/dbushandleclient.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/dbushandleclient.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/mcodewidget.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/itemlist.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/boxitem.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/boxitem.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/regdialog.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/maindialog.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/successdiaolog.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/areacodelineedit.h
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/bindphonedialog.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/networkaccount/combobox.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/userinfo/changepwddialog.h
Examining data/ukui-control-center-3.0.1/plugins/account/userinfo/changetypedialog.h
Examining data/ukui-control-center-3.0.1/plugins/account/userinfo/userinfo.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/userinfo/changevaliddialog.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/userinfo/elipsemaskwidget.h
Examining data/ukui-control-center-3.0.1/plugins/account/userinfo/createuserdialog.h
Examining data/ukui-control-center-3.0.1/plugins/account/userinfo/changetypedialog.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/userinfo/changefacedialog.h
Examining data/ukui-control-center-3.0.1/plugins/account/userinfo/qtdbus/systemdbusdispatcher.h
Examining data/ukui-control-center-3.0.1/plugins/account/userinfo/qtdbus/userdispatcher.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/userinfo/qtdbus/userdispatcher.h
Examining data/ukui-control-center-3.0.1/plugins/account/userinfo/qtdbus/systemdbusdispatcher.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/userinfo/deluserdialog.h
Examining data/ukui-control-center-3.0.1/plugins/account/userinfo/changefacedialog.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/userinfo/changepwddialog.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/userinfo/changevaliddialog.h
Examining data/ukui-control-center-3.0.1/plugins/account/userinfo/elipsemaskwidget.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/userinfo/createuserdialog.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/userinfo/userinfo.h
Examining data/ukui-control-center-3.0.1/plugins/account/userinfo/deluserdialog.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/loginoptions/loginoptions.cpp
Examining data/ukui-control-center-3.0.1/plugins/account/loginoptions/loginoptions.h
Examining data/ukui-control-center-3.0.1/plugins/messages-task/about/memoryentry.h
Examining data/ukui-control-center-3.0.1/plugins/messages-task/about/about.h
Examining data/ukui-control-center-3.0.1/plugins/messages-task/about/entry.cpp
Examining data/ukui-control-center-3.0.1/plugins/messages-task/about/memoryentry.cpp
Examining data/ukui-control-center-3.0.1/plugins/messages-task/about/about.cpp
Examining data/ukui-control-center-3.0.1/plugins/messages-task/about/entry.h
Examining data/ukui-control-center-3.0.1/plugins/messages-task/multitask/multitask.cpp
Examining data/ukui-control-center-3.0.1/plugins/messages-task/multitask/multitask.h
Examining data/ukui-control-center-3.0.1/plugins/messages-task/notice/appdialog.cpp
Examining data/ukui-control-center-3.0.1/plugins/messages-task/notice/appdetail.h
Examining data/ukui-control-center-3.0.1/plugins/messages-task/notice/realizenotice.cpp
Examining data/ukui-control-center-3.0.1/plugins/messages-task/notice/appdetail.cpp
Examining data/ukui-control-center-3.0.1/plugins/messages-task/notice/realizenotice.h
Examining data/ukui-control-center-3.0.1/plugins/messages-task/notice/notice.cpp
Examining data/ukui-control-center-3.0.1/plugins/messages-task/notice/notice.h
Examining data/ukui-control-center-3.0.1/plugins/messages-task/experienceplan/experienceplan.h
Examining data/ukui-control-center-3.0.1/plugins/messages-task/experienceplan/experienceplan.cpp
Examining data/ukui-control-center-3.0.1/plugins/system/autoboot/autoboot.cpp
Examining data/ukui-control-center-3.0.1/plugins/system/autoboot/autoboot.h
Examining data/ukui-control-center-3.0.1/plugins/system/autoboot/datadefined.h
Examining data/ukui-control-center-3.0.1/plugins/system/autoboot/autobootworker.cpp
Examining data/ukui-control-center-3.0.1/plugins/system/autoboot/addautoboot.cpp
Examining data/ukui-control-center-3.0.1/plugins/system/autoboot/addautoboot.h
Examining data/ukui-control-center-3.0.1/plugins/system/autoboot/autobootworker.h
Examining data/ukui-control-center-3.0.1/plugins/system/display/unifiedoutputconfig.cpp
Examining data/ukui-control-center-3.0.1/plugins/system/display/unifiedoutputconfig.h
Examining data/ukui-control-center-3.0.1/plugins/system/display/utils.h
Examining data/ukui-control-center-3.0.1/plugins/system/display/resolutionslider.h
Examining data/ukui-control-center-3.0.1/plugins/system/display/displayperformancedialog.cpp
Examining data/ukui-control-center-3.0.1/plugins/system/display/widget.h
Examining data/ukui-control-center-3.0.1/plugins/system/display/controlpanel.h
Examining data/ukui-control-center-3.0.1/plugins/system/display/resolutionslider.cpp
Examining data/ukui-control-center-3.0.1/plugins/system/display/utils.cpp
Examining data/ukui-control-center-3.0.1/plugins/system/display/outputconfig.h
Examining data/ukui-control-center-3.0.1/plugins/system/display/display.cpp
Examining data/ukui-control-center-3.0.1/plugins/system/display/slider.cpp
Examining data/ukui-control-center-3.0.1/plugins/system/display/outputconfig.cpp
Examining data/ukui-control-center-3.0.1/plugins/system/display/displayperformancedialog.h
Examining data/ukui-control-center-3.0.1/plugins/system/display/widget.cpp
Examining data/ukui-control-center-3.0.1/plugins/system/display/slider.h
Examining data/ukui-control-center-3.0.1/plugins/system/display/declarative/qmlscreen.cpp
Examining data/ukui-control-center-3.0.1/plugins/system/display/declarative/qmlscreen.h
Examining data/ukui-control-center-3.0.1/plugins/system/display/declarative/qmloutputcomponent.cpp
Examining data/ukui-control-center-3.0.1/plugins/system/display/declarative/qmloutputcomponent.h
Examining data/ukui-control-center-3.0.1/plugins/system/display/declarative/qmloutput.h
Examining data/ukui-control-center-3.0.1/plugins/system/display/declarative/qmloutput.cpp
Examining data/ukui-control-center-3.0.1/plugins/system/display/controlpanel.cpp
Examining data/ukui-control-center-3.0.1/plugins/system/display/display.h
Examining data/ukui-control-center-3.0.1/plugins/system/defaultapp/addappdialog.cpp
Examining data/ukui-control-center-3.0.1/plugins/system/defaultapp/defaultapp.h
Examining data/ukui-control-center-3.0.1/plugins/system/defaultapp/component/custdomcombobox.h
Examining data/ukui-control-center-3.0.1/plugins/system/defaultapp/component/custdomcombobox.cpp
Examining data/ukui-control-center-3.0.1/plugins/system/defaultapp/addappdialog.h
Examining data/ukui-control-center-3.0.1/plugins/system/defaultapp/defaultapp.cpp
Examining data/ukui-control-center-3.0.1/plugins/system/power/power.cpp
Examining data/ukui-control-center-3.0.1/plugins/system/power/powermacrodata.h
Examining data/ukui-control-center-3.0.1/plugins/system/power/power.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/fonts/fonts.cpp
Examining data/ukui-control-center-3.0.1/plugins/personalized/fonts/fonts.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/screenlock/pictureunit.cpp
Examining data/ukui-control-center-3.0.1/plugins/personalized/screenlock/screenlock.cpp
Examining data/ukui-control-center-3.0.1/plugins/personalized/screenlock/buildpicunitsworker.cpp
Examining data/ukui-control-center-3.0.1/plugins/personalized/screenlock/bgfileparse.cpp
Examining data/ukui-control-center-3.0.1/plugins/personalized/screenlock/bgfileparse.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/screenlock/pictureunit.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/screenlock/screenlock.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/screenlock/buildpicunitsworker.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/desktop/realizedesktop.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/desktop/desktop.cpp
Examining data/ukui-control-center-3.0.1/plugins/personalized/desktop/desktop.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/desktop/realizedesktop.cpp
Examining data/ukui-control-center-3.0.1/plugins/personalized/screensaver/screensaver.cpp
Examining data/ukui-control-center-3.0.1/plugins/personalized/screensaver/screensaver.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/wallpaper/colorsquare.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/wallpaper/pictureunit.cpp
Examining data/ukui-control-center-3.0.1/plugins/personalized/wallpaper/colorpreview.cpp
Examining data/ukui-control-center-3.0.1/plugins/personalized/wallpaper/colorsquare.cpp
Examining data/ukui-control-center-3.0.1/plugins/personalized/wallpaper/gradientslider.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/wallpaper/simplethread.cpp
Examining data/ukui-control-center-3.0.1/plugins/personalized/wallpaper/colordialog.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/wallpaper/simplethread.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/wallpaper/wallpaper.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/wallpaper/wallpaper.cpp
Examining data/ukui-control-center-3.0.1/plugins/personalized/wallpaper/colordialog.cpp
Examining data/ukui-control-center-3.0.1/plugins/personalized/wallpaper/component/custdomitemmodel.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/wallpaper/component/custdomitemmodel.cpp
Examining data/ukui-control-center-3.0.1/plugins/personalized/wallpaper/xmlhandle.cpp
Examining data/ukui-control-center-3.0.1/plugins/personalized/wallpaper/colorpreview.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/wallpaper/gradientslider.cpp
Examining data/ukui-control-center-3.0.1/plugins/personalized/wallpaper/pictureunit.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/wallpaper/workerobject.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/wallpaper/workerobject.cpp
Examining data/ukui-control-center-3.0.1/plugins/personalized/wallpaper/xmlhandle.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/theme/widgetgroup.cpp
Examining data/ukui-control-center-3.0.1/plugins/personalized/theme/themewidget.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/theme/theme.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/theme/widgetgroup.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/theme/theme.cpp
Examining data/ukui-control-center-3.0.1/plugins/personalized/theme/cursor/config-X11.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/theme/cursor/xcursortheme.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/theme/cursor/cursortheme.h
Examining data/ukui-control-center-3.0.1/plugins/personalized/theme/cursor/cursortheme.cpp
Examining data/ukui-control-center-3.0.1/plugins/personalized/theme/cursor/xcursortheme.cpp
Examining data/ukui-control-center-3.0.1/plugins/personalized/theme/themewidget.cpp
Examining data/ukui-control-center-3.0.1/plugins/time-language/datetime/datetime.h
Examining data/ukui-control-center-3.0.1/plugins/time-language/datetime/datetime.cpp
Examining data/ukui-control-center-3.0.1/plugins/time-language/datetime/changtime.cpp
Examining data/ukui-control-center-3.0.1/plugins/time-language/datetime/changtime.h
Examining data/ukui-control-center-3.0.1/plugins/time-language/datetime/worldMap/poplistdelegate.cpp
Examining data/ukui-control-center-3.0.1/plugins/time-language/datetime/worldMap/zoneinfo.cpp
Examining data/ukui-control-center-3.0.1/plugins/time-language/datetime/worldMap/toolpop.cpp
Examining data/ukui-control-center-3.0.1/plugins/time-language/datetime/worldMap/timezonemap.h
Examining data/ukui-control-center-3.0.1/plugins/time-language/datetime/worldMap/timezonemap.cpp
Examining data/ukui-control-center-3.0.1/plugins/time-language/datetime/worldMap/timezonechooser.h
Examining data/ukui-control-center-3.0.1/plugins/time-language/datetime/worldMap/poplist.h
Examining data/ukui-control-center-3.0.1/plugins/time-language/datetime/worldMap/poplist.cpp
Examining data/ukui-control-center-3.0.1/plugins/time-language/datetime/worldMap/zoneinfo.h
Examining data/ukui-control-center-3.0.1/plugins/time-language/datetime/worldMap/poplistdelegate.h
Examining data/ukui-control-center-3.0.1/plugins/time-language/datetime/worldMap/toolpop.h
Examining data/ukui-control-center-3.0.1/plugins/time-language/datetime/worldMap/timezonechooser.cpp
Examining data/ukui-control-center-3.0.1/plugins/time-language/area/area.cpp
Examining data/ukui-control-center-3.0.1/plugins/time-language/area/area.h
Examining data/ukui-control-center-3.0.1/plugins/time-language/area/dataformat.h
Examining data/ukui-control-center-3.0.1/plugins/time-language/area/dataformat.cpp
Examining data/ukui-control-center-3.0.1/plugins/security-updates/recovery/recovery.h
Examining data/ukui-control-center-3.0.1/plugins/security-updates/recovery/recovery.cpp
Examining data/ukui-control-center-3.0.1/plugins/security-updates/securitycenter/securitycenter.h
Examining data/ukui-control-center-3.0.1/plugins/security-updates/securitycenter/securitycenter.cpp
Examining data/ukui-control-center-3.0.1/plugins/security-updates/backup/backup.h
Examining data/ukui-control-center-3.0.1/plugins/security-updates/backup/backup.cpp
Examining data/ukui-control-center-3.0.1/plugins/security-updates/update/update.cpp
Examining data/ukui-control-center-3.0.1/plugins/security-updates/update/update.h
Examining data/ukui-control-center-3.0.1/plugins/network/proxy/proxy.h
Examining data/ukui-control-center-3.0.1/plugins/network/proxy/certificationdialog.cpp
Examining data/ukui-control-center-3.0.1/plugins/network/proxy/proxy.cpp
Examining data/ukui-control-center-3.0.1/plugins/network/proxy/certificationdialog.h
Examining data/ukui-control-center-3.0.1/plugins/network/vpn/vpn.h
Examining data/ukui-control-center-3.0.1/plugins/network/vpn/vpn.cpp
Examining data/ukui-control-center-3.0.1/plugins/network/netconnect/wifi.cpp
Examining data/ukui-control-center-3.0.1/plugins/network/netconnect/netconnect.h
Examining data/ukui-control-center-3.0.1/plugins/network/netconnect/netconnectwork.h
Examining data/ukui-control-center-3.0.1/plugins/network/netconnect/wifi.h
Examining data/ukui-control-center-3.0.1/plugins/network/netconnect/kylin_network_interface.c
Examining data/ukui-control-center-3.0.1/plugins/network/netconnect/netconnectwork.cpp
Examining data/ukui-control-center-3.0.1/plugins/network/netconnect/netconnect.cpp
Examining data/ukui-control-center-3.0.1/plugins/network/netconnect/kylin_network_interface.h
Examining data/ukui-control-center-3.0.1/plugins/devices/shortcut/realizeshortcutwheel.h
Examining data/ukui-control-center-3.0.1/plugins/devices/shortcut/realizeshortcutwheel.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/shortcut/showallshortcut.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/shortcut/defineshortcutitem.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/shortcut/getshortcutworker.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/shortcut/shortcut.h
Examining data/ukui-control-center-3.0.1/plugins/devices/shortcut/customlineedit.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/shortcut/addshortcutdialog.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/shortcut/shortcut.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/shortcut/customlineedit.h
Examining data/ukui-control-center-3.0.1/plugins/devices/shortcut/keymap.h
Examining data/ukui-control-center-3.0.1/plugins/devices/shortcut/keymap.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/shortcut/addshortcutdialog.h
Examining data/ukui-control-center-3.0.1/plugins/devices/shortcut/defineshortcutitem.h
Examining data/ukui-control-center-3.0.1/plugins/devices/shortcut/showallshortcut.h
Examining data/ukui-control-center-3.0.1/plugins/devices/shortcut/getshortcutworker.h
Examining data/ukui-control-center-3.0.1/plugins/devices/touchpad/touchpad.h
Examining data/ukui-control-center-3.0.1/plugins/devices/touchpad/touchpad.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/printer/printer.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/printer/printer.h
Examining data/ukui-control-center-3.0.1/plugins/devices/audio/ukmedia_sound_effects_widget.h
Examining data/ukui-control-center-3.0.1/plugins/devices/audio/ukmedia_input_widget.h
Examining data/ukui-control-center-3.0.1/plugins/devices/audio/ukmedia_main_widget.h
Examining data/ukui-control-center-3.0.1/plugins/devices/audio/ukmedia_input_widget.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/audio/ukmedia_slider_tip_label_helper.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/audio/audio.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/audio/ukmedia_output_widget.h
Examining data/ukui-control-center-3.0.1/plugins/devices/audio/ukui_custom_style.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/audio/customstyle.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/audio/ukmedia_slider_tip_label_helper.h
Examining data/ukui-control-center-3.0.1/plugins/devices/audio/switchbutton.h
Examining data/ukui-control-center-3.0.1/plugins/devices/audio/switchbutton.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/audio/customstyle.h
Examining data/ukui-control-center-3.0.1/plugins/devices/audio/ukui_custom_style.h
Examining data/ukui-control-center-3.0.1/plugins/devices/audio/ukmedia_main_widget.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/audio/ukmedia_output_widget.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/audio/audio.h
Examining data/ukui-control-center-3.0.1/plugins/devices/audio/ukmedia_sound_effects_widget.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/keyboard/keyboardlayout.h
Examining data/ukui-control-center-3.0.1/plugins/devices/keyboard/tastenbrett.h
Examining data/ukui-control-center-3.0.1/plugins/devices/keyboard/tastenbrett.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/keyboard/kbdlayoutmanager.h
Examining data/ukui-control-center-3.0.1/plugins/devices/keyboard/kbdlayoutmanager.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/keyboard/keyboardcontrol.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/keyboard/keyboardcontrol.h
Examining data/ukui-control-center-3.0.1/plugins/devices/keyboard/keyboardlayout.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/mousecontrol/mousecontrol.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/mousecontrol/mousecontrol.h
Examining data/ukui-control-center-3.0.1/plugins/devices/mouse/mousecontrol.cpp
Examining data/ukui-control-center-3.0.1/plugins/devices/mouse/mousecontrol.h
Examining data/ukui-control-center-3.0.1/shell/mainwindow.h
Examining data/ukui-control-center-3.0.1/shell/modulepagewidget.cpp
Examining data/ukui-control-center-3.0.1/shell/modulepagewidget.h
Examining data/ukui-control-center-3.0.1/shell/interface.h
Examining data/ukui-control-center-3.0.1/shell/customstyle.cpp
Examining data/ukui-control-center-3.0.1/shell/component/leftwidgetitem.h
Examining data/ukui-control-center-3.0.1/shell/component/hoverwidget.cpp
Examining data/ukui-control-center-3.0.1/shell/component/leftwidgetitem.cpp
Examining data/ukui-control-center-3.0.1/shell/component/clicklabel.cpp
Examining data/ukui-control-center-3.0.1/shell/component/clicklabel.h
Examining data/ukui-control-center-3.0.1/shell/component/hoverwidget.h
Examining data/ukui-control-center-3.0.1/shell/homepagewidget.h
Examining data/ukui-control-center-3.0.1/shell/customstyle.h
Examining data/ukui-control-center-3.0.1/shell/main.cpp
Examining data/ukui-control-center-3.0.1/shell/mainwindow.cpp
Examining data/ukui-control-center-3.0.1/shell/utils/keyvalueconverter.cpp
Examining data/ukui-control-center-3.0.1/shell/utils/functionselect.h
Examining data/ukui-control-center-3.0.1/shell/utils/functionselect.cpp
Examining data/ukui-control-center-3.0.1/shell/utils/keyvalueconverter.h
Examining data/ukui-control-center-3.0.1/shell/qtsingleapplication/qtsingleapplication.h
Examining data/ukui-control-center-3.0.1/shell/qtsingleapplication/qtsinglecoreapplication.h
Examining data/ukui-control-center-3.0.1/shell/qtsingleapplication/qtlockedfile_win.cpp
Examining data/ukui-control-center-3.0.1/shell/qtsingleapplication/qtlocalpeer.h
Examining data/ukui-control-center-3.0.1/shell/qtsingleapplication/qtlocalpeer.cpp
Examining data/ukui-control-center-3.0.1/shell/qtsingleapplication/qtlockedfile.h
Examining data/ukui-control-center-3.0.1/shell/qtsingleapplication/qtlockedfile.cpp
Examining data/ukui-control-center-3.0.1/shell/qtsingleapplication/qtsingleapplication.cpp
Examining data/ukui-control-center-3.0.1/shell/qtsingleapplication/qtsinglecoreapplication.cpp
Examining data/ukui-control-center-3.0.1/shell/qtsingleapplication/qtlockedfile_unix.cpp
Examining data/ukui-control-center-3.0.1/shell/homepagewidget.cpp
Examining data/ukui-control-center-3.0.1/shell/framelessExtended/framelesshandle.h
Examining data/ukui-control-center-3.0.1/shell/framelessExtended/framelesshandle.cpp
Examining data/ukui-control-center-3.0.1/shell/framelessExtended/widgethandlerealize.cpp
Examining data/ukui-control-center-3.0.1/shell/framelessExtended/framelesshandleprivate.h
Examining data/ukui-control-center-3.0.1/shell/framelessExtended/widgethandlerealize.h
Examining data/ukui-control-center-3.0.1/shell/framelessExtended/cursorposcalculator.cpp
Examining data/ukui-control-center-3.0.1/shell/framelessExtended/cursorposcalculator.h
Examining data/ukui-control-center-3.0.1/registeredQDbus/sysdbusregister.h
Examining data/ukui-control-center-3.0.1/registeredQDbus/main.cpp
Examining data/ukui-control-center-3.0.1/registeredQDbus/sysdbusregister.cpp
Examining data/ukui-control-center-3.0.1/commonComponent/MaskWidget/maskwidget.cpp
Examining data/ukui-control-center-3.0.1/commonComponent/MaskWidget/maskwidget.h
Examining data/ukui-control-center-3.0.1/commonComponent/FlowLayout/flowlayout.h
Examining data/ukui-control-center-3.0.1/commonComponent/FlowLayout/flowlayout.cpp
Examining data/ukui-control-center-3.0.1/commonComponent/ImageUtil/imageutil.h
Examining data/ukui-control-center-3.0.1/commonComponent/ImageUtil/imageutil.cpp
Examining data/ukui-control-center-3.0.1/commonComponent/SwitchButton/switchbutton.h
Examining data/ukui-control-center-3.0.1/commonComponent/SwitchButton/switchbutton.cpp
Examining data/ukui-control-center-3.0.1/commonComponent/HoverWidget/hoverwidget.cpp
Examining data/ukui-control-center-3.0.1/commonComponent/HoverWidget/hoverwidget.h
Examining data/ukui-control-center-3.0.1/commonComponent/ComboBox/combobox.h
Examining data/ukui-control-center-3.0.1/commonComponent/ComboBox/nofocusframedelegate.h
Examining data/ukui-control-center-3.0.1/commonComponent/ComboBox/comboboxitem.cpp
Examining data/ukui-control-center-3.0.1/commonComponent/ComboBox/comboboxitem.h
Examining data/ukui-control-center-3.0.1/commonComponent/ComboBox/nofocusframedelegate.cpp
Examining data/ukui-control-center-3.0.1/commonComponent/ComboBox/combobox.cpp
Examining data/ukui-control-center-3.0.1/commonComponent/Uslider/uslider.cpp
Examining data/ukui-control-center-3.0.1/commonComponent/Uslider/uslider.h
Examining data/ukui-control-center-3.0.1/tastenbrett/xkbobject.h
Examining data/ukui-control-center-3.0.1/tastenbrett/row.h
Examining data/ukui-control-center-3.0.1/tastenbrett/shape.cpp
Examining data/ukui-control-center-3.0.1/tastenbrett/application.cpp
Examining data/ukui-control-center-3.0.1/tastenbrett/shape.h
Examining data/ukui-control-center-3.0.1/tastenbrett/doodad.h
Examining data/ukui-control-center-3.0.1/tastenbrett/application.h
Examining data/ukui-control-center-3.0.1/tastenbrett/geometry.cpp
Examining data/ukui-control-center-3.0.1/tastenbrett/section.h
Examining data/ukui-control-center-3.0.1/tastenbrett/outline.h
Examining data/ukui-control-center-3.0.1/tastenbrett/xkbobject.cpp
Examining data/ukui-control-center-3.0.1/tastenbrett/outline.cpp
Examining data/ukui-control-center-3.0.1/tastenbrett/row.cpp
Examining data/ukui-control-center-3.0.1/tastenbrett/section.cpp
Examining data/ukui-control-center-3.0.1/tastenbrett/doodad.cpp
Examining data/ukui-control-center-3.0.1/tastenbrett/config-workspace.h
Examining data/ukui-control-center-3.0.1/tastenbrett/key.cpp
Examining data/ukui-control-center-3.0.1/tastenbrett/main.cpp
Examining data/ukui-control-center-3.0.1/tastenbrett/key.h
Examining data/ukui-control-center-3.0.1/tastenbrett/geometry.h

FINAL RESULTS:

data/ukui-control-center-3.0.1/plugins/account/userinfo/qtdbus/userdispatcher.cpp:68:39:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
    result = g_strdup ((const gchar *)crypt(plain, salt->str)); //运行后找不到crypt undefined symbol: crypt
data/ukui-control-center-3.0.1/plugins/devices/audio/ukmedia_main_widget.cpp:234:26:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        char * allpath = strcat(prepath, path);
data/ukui-control-center-3.0.1/plugins/devices/audio/ukmedia_main_widget.cpp:1907:26:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        char * allpath = strcat(prepath, path);
data/ukui-control-center-3.0.1/plugins/devices/audio/ukmedia_main_widget.cpp:1942:26:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        char * allpath = strcat(prepath, path);
data/ukui-control-center-3.0.1/plugins/devices/audio/ukmedia_main_widget.cpp:1973:26:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        char * allpath = strcat(prepath, path);
data/ukui-control-center-3.0.1/plugins/devices/audio/ukmedia_main_widget.cpp:2891:26:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        char * allpath = strcat(prepath, path);
data/ukui-control-center-3.0.1/plugins/devices/shortcut/getshortcutworker.cpp:96:27:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        char * fullpath = strcat(prepath, path);
data/ukui-control-center-3.0.1/plugins/network/netconnect/kylin_network_interface.c:12:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cmd, chr);
data/ukui-control-center-3.0.1/plugins/network/netconnect/kylin_network_interface.c:13:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(cmd, path);
data/ukui-control-center-3.0.1/plugins/network/netconnect/kylin_network_interface.c:14:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    int status = system(cmd);
data/ukui-control-center-3.0.1/plugins/personalized/desktop/desktop.cpp:305:37:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    const QString locale = QLocale::system().name();
data/ukui-control-center-3.0.1/plugins/system/autoboot/autoboot.cpp:793:61:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    const char * locale = const_cast<const char *>(QLocale::system().name().toUtf8().data());
data/ukui-control-center-3.0.1/plugins/system/defaultapp/defaultapp.cpp:315:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(appid,id);
data/ukui-control-center-3.0.1/plugins/system/defaultapp/defaultapp.cpp:339:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(list[index].appid,id);
data/ukui-control-center-3.0.1/plugins/system/display/widget.cpp:1115:15:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if ((fp = popen(cmd, "r")) != NULL){
data/ukui-control-center-3.0.1/plugins/system/display/widget.cpp:1142:15:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if ((fp = popen(cmd, "r")) != NULL){
data/ukui-control-center-3.0.1/plugins/time-language/area/area.cpp:202:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    QString locale = QLocale::system().name();
data/ukui-control-center-3.0.1/plugins/time-language/area/dataformat.cpp:33:23:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    locale = QLocale::system().name();
data/ukui-control-center-3.0.1/plugins/time-language/datetime/datetime.cpp:93:41:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        const QString locale = QLocale::system().name();
data/ukui-control-center-3.0.1/plugins/time-language/datetime/datetime.cpp:196:37:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    const QString locale = QLocale::system().name();
data/ukui-control-center-3.0.1/plugins/time-language/datetime/worldMap/timezonechooser.cpp:119:45:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            const QString locale = QLocale::system().name();
data/ukui-control-center-3.0.1/plugins/time-language/datetime/worldMap/timezonemap.cpp:113:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    QString locale = QLocale::system().name();
data/ukui-control-center-3.0.1/plugins/time-language/datetime/worldMap/timezonemap.cpp:140:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    QString locale = QLocale::system().name();
data/ukui-control-center-3.0.1/registeredQDbus/sysdbusregister.cpp:53:15:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if ((fp = popen(cmd, "r")) != NULL){
data/ukui-control-center-3.0.1/registeredQDbus/sysdbusregister.cpp:76:15:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if ((fp = popen(cmd, "r")) != NULL){
data/ukui-control-center-3.0.1/shell/main.cpp:83:35:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        QString locale = QLocale::system().name();
data/ukui-control-center-3.0.1/shell/mainwindow.cpp:465:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    QString locale = QLocale::system().name();
data/ukui-control-center-3.0.1/plugins/account/userinfo/qtdbus/userdispatcher.cpp:64:44:  [3] (random) g_rand_int_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        g_string_append_c (salt, salt_char[g_rand_int_range(rand, 0, G_N_ELEMENTS (salt_char) )]);
data/ukui-control-center-3.0.1/plugins/system/display/widget.cpp:1286:22:  [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.
    brightnessFile = getenv("HOME");
data/ukui-control-center-3.0.1/plugins/system/display/widget.cpp:1366:24:  [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.
    QString homePath = getenv("HOME");
data/ukui-control-center-3.0.1/plugins/system/display/widget.cpp:1552:24:  [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.
    QString homePath = getenv("HOME");
data/ukui-control-center-3.0.1/plugins/time-language/area/area.cpp:323:21:  [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.
    QString fname = getenv("HOME");
data/ukui-control-center-3.0.1/plugins/account/networkaccount/areacodelineedit.cpp:26:21:  [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(!m_loadFile->open(QIODevice::ReadOnly)) {
data/ukui-control-center-3.0.1/plugins/account/networkaccount/editpassdialog.cpp:272:5:  [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 phone[32];
data/ukui-control-center-3.0.1/plugins/account/networkaccount/mainwidget.cpp:470:5:  [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 name[32];
data/ukui-control-center-3.0.1/plugins/account/userinfo/changepwddialog.cpp:82:5:  [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 buf[255];
data/ukui-control-center-3.0.1/plugins/account/userinfo/changepwddialog.cpp:216:9:  [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 buf[256];
data/ukui-control-center-3.0.1/plugins/account/userinfo/createuserdialog.cpp:79:5:  [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 buf[255];
data/ukui-control-center-3.0.1/plugins/account/userinfo/createuserdialog.cpp:260:9:  [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 buf[256];
data/ukui-control-center-3.0.1/plugins/account/userinfo/userinfo.cpp:203:5:  [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 buf[255];
data/ukui-control-center-3.0.1/plugins/devices/audio/ukmedia_main_widget.cpp:2493:11:  [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.
    const char *sounds[3] = { "bell-terminal", "bell-window-system", NULL };
data/ukui-control-center-3.0.1/plugins/devices/audio/ukmedia_output_widget.cpp:39: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).
    QssFile.open(QFile::ReadOnly);
data/ukui-control-center-3.0.1/plugins/messages-task/about/about.cpp:276:18:  [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 | QIODevice::Text)) {
data/ukui-control-center-3.0.1/plugins/network/netconnect/kylin_network_interface.c:21:5:  [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 activeStrLine[1024];
data/ukui-control-center-3.0.1/plugins/network/netconnect/kylin_network_interface.c:22:18:  [2] (misc) fopen:
  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((activefp=fopen(filename,"r"))==NULL)
data/ukui-control-center-3.0.1/plugins/network/netconnect/kylin_network_interface.c:39:5:  [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 StrLine[1024];
data/ukui-control-center-3.0.1/plugins/network/netconnect/kylin_network_interface.c:40:12:  [2] (misc) fopen:
  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((fp=fopen(filename,"r"))==NULL)
data/ukui-control-center-3.0.1/plugins/network/netconnect/kylin_network_interface.c:53:9:  [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 conname[100];
data/ukui-control-center-3.0.1/plugins/network/netconnect/kylin_network_interface.c:75:9:  [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 type[100];
data/ukui-control-center-3.0.1/plugins/network/netconnect/kylin_network_interface.c:110:9:  [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 dev[100];
data/ukui-control-center-3.0.1/plugins/personalized/fonts/fonts.cpp:572:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        defaultfontinfo.gtkfontsize = atoi(&font_value[length - 1]);
data/ukui-control-center-3.0.1/plugins/personalized/fonts/fonts.cpp:575:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        defaultfontinfo.gtkfontsize = atoi(&font_value[length - 2]);
data/ukui-control-center-3.0.1/plugins/personalized/fonts/fonts.cpp:584:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        defaultfontinfo.docfontsize = atoi(&font_value[length -1]);
data/ukui-control-center-3.0.1/plugins/personalized/fonts/fonts.cpp:586:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        defaultfontinfo.docfontsize = atoi(&font_value[length -2]);
data/ukui-control-center-3.0.1/plugins/personalized/fonts/fonts.cpp:595:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        defaultfontinfo.monospacefontsize = atoi(&font_value[length -1]);
data/ukui-control-center-3.0.1/plugins/personalized/fonts/fonts.cpp:597:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        defaultfontinfo.monospacefontsize = atoi(&font_value[length -2]);
data/ukui-control-center-3.0.1/plugins/personalized/fonts/fonts.cpp:621:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        defaultfontinfo.titlebarfontsize = atoi(&font_value[length -1]);
data/ukui-control-center-3.0.1/plugins/personalized/fonts/fonts.cpp:623:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        defaultfontinfo.titlebarfontsize = atoi(&font_value[length -2]);
data/ukui-control-center-3.0.1/plugins/personalized/screenlock/bgfileparse.cpp:43:15:  [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(QFile::ReadOnly | QFile::Text)){
data/ukui-control-center-3.0.1/plugins/personalized/theme/cursor/xcursortheme.cpp:174:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        dpi = atoi(v);
data/ukui-control-center-3.0.1/plugins/personalized/wallpaper/xmlhandle.cpp:69:15:  [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(QFile::ReadOnly | QFile::Text)){
data/ukui-control-center-3.0.1/plugins/personalized/wallpaper/xmlhandle.cpp:191:15:  [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(QFile::WriteOnly | QFile::Text)){
data/ukui-control-center-3.0.1/plugins/personalized/wallpaper/xmlhandle.cpp:249:15:  [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(QFile::WriteOnly | QFile::Text)){
data/ukui-control-center-3.0.1/plugins/security-updates/backup/backup.cpp:120:18:  [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 | QIODevice::Text)) {
data/ukui-control-center-3.0.1/plugins/security-updates/update/update.cpp:89:18:  [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 | QIODevice::Text)) {
data/ukui-control-center-3.0.1/plugins/system/display/outputconfig.cpp:445:18:  [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 | QIODevice::Text)) {
data/ukui-control-center-3.0.1/plugins/system/display/widget.cpp:1111:5:  [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 cmd[1024];
data/ukui-control-center-3.0.1/plugins/system/display/widget.cpp:1112:5:  [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 buf[1024];
data/ukui-control-center-3.0.1/plugins/system/display/widget.cpp:1114:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(cmd, "xrandr | grep \" connected\"  | awk '{ print$1 }'");
data/ukui-control-center-3.0.1/plugins/system/display/widget.cpp:1137:5:  [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 cmd[1024];
data/ukui-control-center-3.0.1/plugins/system/display/widget.cpp:1138:5:  [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 buf[1024];
data/ukui-control-center-3.0.1/plugins/system/display/widget.cpp:1141:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(cmd, "xrandr --verbose | grep Brightness |cut -f2 -d :");
data/ukui-control-center-3.0.1/plugins/system/display/widget.cpp:1241: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).
    if(!fp.open(QIODevice::WriteOnly)){
data/ukui-control-center-3.0.1/plugins/system/display/widget.cpp:1372:15:  [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/ukui-control-center-3.0.1/plugins/system/display/widget.cpp:1540: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).
    if(!file.open(QFile::WriteOnly | QFile::Truncate)){
data/ukui-control-center-3.0.1/plugins/system/display/widget.cpp:1558:15:  [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::WriteOnly | QIODevice::Text)){
data/ukui-control-center-3.0.1/plugins/system/display/widget.cpp:1706:18:  [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 | QIODevice::Text)) {
data/ukui-control-center-3.0.1/plugins/system/display/widget.cpp:1728: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).
    if(!file.open(QIODevice::WriteOnly | QIODevice::Truncate)) {
data/ukui-control-center-3.0.1/plugins/time-language/area/area.cpp:299:18:  [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 | QIODevice::Text)) {
data/ukui-control-center-3.0.1/plugins/time-language/datetime/datetime.cpp:176: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).
    if(!tzfile.open(QIODevice::ReadOnly | QIODevice::Text)){
data/ukui-control-center-3.0.1/plugins/time-language/datetime/worldMap/zoneinfo.cpp:17:18:  [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 | QIODevice::Text)) {
data/ukui-control-center-3.0.1/registeredQDbus/sysdbusregister.cpp:49:5:  [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 cmd[128];
data/ukui-control-center-3.0.1/registeredQDbus/sysdbusregister.cpp:50:5:  [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 buf[1024];
data/ukui-control-center-3.0.1/registeredQDbus/sysdbusregister.cpp:51:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(cmd, "dmidecode -t system");
data/ukui-control-center-3.0.1/registeredQDbus/sysdbusregister.cpp:73:5:  [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 cmd[128];
data/ukui-control-center-3.0.1/registeredQDbus/sysdbusregister.cpp:74:5:  [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 buf[1024];
data/ukui-control-center-3.0.1/registeredQDbus/sysdbusregister.cpp:75:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(cmd, "cat /etc/group |grep nopasswdlogin");
data/ukui-control-center-3.0.1/shell/qtsingleapplication/qtlocalpeer.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).
    lockFile.open(QIODevice::ReadWrite);
data/ukui-control-center-3.0.1/shell/qtsingleapplication/qtlockedfile.cpp:123:20:  [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).
bool QtLockedFile::open(OpenMode mode)
data/ukui-control-center-3.0.1/shell/qtsingleapplication/qtlockedfile.cpp:129:19:  [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).
    return QFile::open(mode);
data/ukui-control-center-3.0.1/shell/qtsingleapplication/qtlockedfile.h:76: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).
    bool open(OpenMode mode);
data/ukui-control-center-3.0.1/plugins/network/netconnect/kylin_network_interface.c:11:33:  [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).
    char *cmd = (char *) malloc(strlen(chr) + strlen(path) + 1);
data/ukui-control-center-3.0.1/plugins/network/netconnect/kylin_network_interface.c:11:47:  [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).
    char *cmd = (char *) malloc(strlen(chr) + strlen(path) + 1);
data/ukui-control-center-3.0.1/plugins/network/netconnect/kylin_network_interface.c:69:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(conname,StrLine,num+1);
data/ukui-control-center-3.0.1/plugins/network/netconnect/kylin_network_interface.c:71:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(activelist[count].con_name,conname,num+1);
data/ukui-control-center-3.0.1/plugins/network/netconnect/kylin_network_interface.c:103:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(type,index1+2,num1+1);
data/ukui-control-center-3.0.1/plugins/network/netconnect/kylin_network_interface.c:105:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(activelist[count].type,type,num1+1);
data/ukui-control-center-3.0.1/plugins/network/netconnect/kylin_network_interface.c:127:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(dev,index3+1,num2+1);
data/ukui-control-center-3.0.1/plugins/network/netconnect/kylin_network_interface.c:129:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(activelist[count].dev,dev,num2+1);
data/ukui-control-center-3.0.1/plugins/personalized/fonts/fonts.cpp:570:20:  [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).
    length = (gint)strlen(font_value);
data/ukui-control-center-3.0.1/plugins/personalized/fonts/fonts.cpp:582:20:  [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).
    length = (gint)strlen(font_value);
data/ukui-control-center-3.0.1/plugins/personalized/fonts/fonts.cpp:593:20:  [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).
    length = (gint)strlen(font_value);
data/ukui-control-center-3.0.1/plugins/personalized/fonts/fonts.cpp:619:20:  [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).
    length = (gint)strlen(font_value);
data/ukui-control-center-3.0.1/plugins/system/defaultapp/defaultapp.cpp:313:24:  [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).
            gint len = strlen(id);
data/ukui-control-center-3.0.1/plugins/system/defaultapp/defaultapp.cpp:337:27:  [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).
                int len = strlen(id);
data/ukui-control-center-3.0.1/plugins/time-language/datetime/worldMap/timezonemap.cpp:26:48:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            pixmap = QPixmap::fromImage(reader.read());
data/ukui-control-center-3.0.1/shell/qtsingleapplication/qtlocalpeer.cpp:167:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            res &= (socket.read(qstrlen(ack)) == ack);

ANALYSIS SUMMARY:

Hits = 107
Lines analyzed = 52388 in approximately 1.33 seconds (39428 lines/second)
Physical Source Lines of Code (SLOC) = 33867
Hits@level = [0]   4 [1]  16 [2]  59 [3]   5 [4]  27 [5]   0
Hits@level+ = [0+] 111 [1+] 107 [2+]  91 [3+]  32 [4+]  27 [5+]   0
Hits/KSLOC@level+ = [0+] 3.27753 [1+] 3.15942 [2+] 2.68698 [3+] 0.944873 [4+] 0.797236 [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.