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/xfce4-weather-plugin-0.10.2/panel-plugin/weather-search.h Examining data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-translate.h Examining data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-data.h Examining data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-config.c Examining data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-icon.c Examining data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-translate.c Examining data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-config_ui.h Examining data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-search.c Examining data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-parsers.c Examining data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-debug.c Examining data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-scrollbox.h Examining data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-debug.h Examining data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-parsers.h Examining data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-icon.h Examining data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-summary.c Examining data/xfce4-weather-plugin-0.10.2/panel-plugin/weather.c Examining data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-config.h Examining data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-data.c Examining data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-summary.h Examining data/xfce4-weather-plugin-0.10.2/panel-plugin/weather.h Examining data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-scrollbox.c FINAL RESULTS: data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-data.c:89:16: [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). if (str && strlen(str) > 0) data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-icon.c:192:32: [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). if (symbol_name == NULL || strlen(symbol_name) == 0) data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-parsers.c:657:34: [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). strlen(msg->response_body->data), data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-parsers.c:661:35: [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). strlen(msg->response_body->data)); data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-search.c:63:42: [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). GString *retstr = g_string_sized_new(strlen(str)); data/xfce4-weather-plugin-0.10.2/panel-plugin/weather-search.c:142:9: [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). if (strlen(str) == 0) data/xfce4-weather-plugin-0.10.2/panel-plugin/weather.c:259: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). if (data->timezone && strlen(data->timezone) > 0) data/xfce4-weather-plugin-0.10.2/panel-plugin/weather.c:262:39: [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). if (data->timezone_initial && strlen(data->timezone_initial) > 0) data/xfce4-weather-plugin-0.10.2/panel-plugin/weather.c:1930: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). if (proxy_user && strlen(proxy_user) > 0) { ANALYSIS SUMMARY: Hits = 9 Lines analyzed = 11594 in approximately 0.33 seconds (34685 lines/second) Physical Source Lines of Code (SLOC) = 8883 Hits@level = [0] 0 [1] 9 [2] 0 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 9 [1+] 9 [2+] 0 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 1.01317 [1+] 1.01317 [2+] 0 [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.