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-netload-plugin-1.3.2/panel-plugin/netload.c
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/monitor-label.c
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/monitor-label.h
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/utils.c
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/utils.h
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/net.h
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/net.c
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon.h
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/slurm.h
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/commandline.c
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/unsupported.c
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/freebsd.c
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/freebsd.h
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/hpux.c
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/hpux.h
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/if_media.c
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/if_media.h
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/linux.c
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/linux.h
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/macos.c
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/macos.h
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/netbsd.c
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/netbsd.h
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/openbsd.c
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/openbsd.h
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/solaris.c
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/solaris.h
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/unsupported.h
Examining data/xfce4-netload-plugin-1.3.2/panel-plugin/os.h

FINAL RESULTS:

data/xfce4-netload-plugin-1.3.2/panel-plugin/utils.c:117:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(buffer, BUFSIZ, formatstring, number_displayed);
data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/hpux.c:69: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(tmpinterfacestring,data->ifdata.if_name);
data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/linux.c:55:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (access(PATH_NET_DEV, R_OK) != 0)
data/xfce4-netload-plugin-1.3.2/panel-plugin/commandline.c:52: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 bufIn[20], bufOut[20], bufTot[20], bufBS[20];
data/xfce4-netload-plugin-1.3.2/panel-plugin/net.h:55: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            old_interface[INTERFACE_NAME_LENGTH];
data/xfce4-netload-plugin-1.3.2/panel-plugin/net.h:64: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            ip_address[IP_ADDRESS_LENGTH];
data/xfce4-netload-plugin-1.3.2/panel-plugin/netload.c:154: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 buffer[SUM+1][BUFSIZ];
data/xfce4-netload-plugin-1.3.2/panel-plugin/netload.c:155: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 buffer_panel[SUM][BUFSIZ];
data/xfce4-netload-plugin-1.3.2/panel-plugin/netload.c:735: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 value[20];
data/xfce4-netload-plugin-1.3.2/panel-plugin/slurm.h:13: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 if_name[33];       /* The device name given as start parameter*/
data/xfce4-netload-plugin-1.3.2/panel-plugin/slurm.h:15: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 if_speedstring[12]; /* the measuring unit like Mbit, kbit */
data/xfce4-netload-plugin-1.3.2/panel-plugin/utils.c:76: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 buffer[BUFSIZ], formatstring[BUFSIZ];
data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/hpux.c:60: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 tmpinterfacestring[sizeof(data->ifdata.if_name)+1],*strstrmatch;
data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/linux.c: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 buffer[BUFSIZE];
data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/linux.c:90:25:  [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 ((proc_net_dev = fopen(PATH_NET_DEV, "r")) == NULL)
data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/macos.c:45: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 s[32];
data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/macos.c:110: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 s[32];
data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/netbsd.c:45: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 s[32];
data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/netbsd.c:110: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 s[32];
data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/openbsd.c:44: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 s[32];
data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/openbsd.c:111: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 s[32];
data/xfce4-netload-plugin-1.3.2/panel-plugin/monitor-label.c:156:64:  [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).
    gtk_css_provider_load_from_data (label->css_provider, css, strlen(css), NULL);
data/xfce4-netload-plugin-1.3.2/panel-plugin/net.c:80: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 (device == NULL || strlen(device) == 0)
data/xfce4-netload-plugin-1.3.2/panel-plugin/netload.c:547:93:  [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).
    gtk_css_provider_load_from_data (g_object_get_data(G_OBJECT(pbar),"css_provider"), css, strlen(css), NULL);
data/xfce4-netload-plugin-1.3.2/panel-plugin/utils.c:122:29:  [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( buffer ) );
data/xfce4-netload-plugin-1.3.2/panel-plugin/utils.c:126:48:  [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( numberOfIntegerChars / grouping + (int)strlen( buffer ) > stringsize )
data/xfce4-netload-plugin-1.3.2/panel-plugin/utils.c:137:29:  [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).
            for (i = 0; i < strlen( localeinfo->thousands_sep ); i++)
data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/hpux.c:70:5:  [1] (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). Risk is low because the
  source is a constant character.
    strcat(tmpinterfacestring," ");
data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/if_media.c:49:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(ifmr.ifm_name, (char *)ifstring, sizeof(ifmr.ifm_name));
data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/macos.c:81:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(s, sdl->sdl_data, sdl->sdl_nlen);
data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/macos.c:148:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(s, sdl->sdl_data, sdl->sdl_nlen);
data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/netbsd.c:81:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(s, sdl->sdl_data, sdl->sdl_nlen);
data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/netbsd.c:148:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(s, sdl->sdl_data, sdl->sdl_nlen);
data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/openbsd.c:81:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(s, sdl->sdl_data, sdl->sdl_nlen);
data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/openbsd.c:152:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(s, sdl->sdl_data, sdl->sdl_nlen);
data/xfce4-netload-plugin-1.3.2/panel-plugin/wormulon/solaris.c:74:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(ifr.ifr_name, ifrp->ifr_name, sizeof(ifr.ifr_name));

ANALYSIS SUMMARY:

Hits = 36
Lines analyzed = 4118 in approximately 0.12 seconds (34813 lines/second)
Physical Source Lines of Code (SLOC) = 2901
Hits@level = [0]  30 [1]  15 [2]  18 [3]   0 [4]   3 [5]   0
Hits@level+ = [0+]  66 [1+]  36 [2+]  21 [3+]   3 [4+]   3 [5+]   0
Hits/KSLOC@level+ = [0+] 22.7508 [1+] 12.4095 [2+] 7.23888 [3+] 1.03413 [4+] 1.03413 [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.