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/ngraph-gtk-6.08.00/src/ntime.h Examining data/ngraph-gtk-6.08.00/src/odarray.c Examining data/ngraph-gtk-6.08.00/src/axis.h Examining data/ngraph-gtk-6.08.00/src/omerge.h Examining data/ngraph-gtk-6.08.00/src/ioutil.h Examining data/ngraph-gtk-6.08.00/src/oaxis.c Examining data/ngraph-gtk-6.08.00/src/math/math_equation.c Examining data/ngraph-gtk-6.08.00/src/math/math_expression.h Examining data/ngraph-gtk-6.08.00/src/math/math_error.c Examining data/ngraph-gtk-6.08.00/src/math/math_function.c Examining data/ngraph-gtk-6.08.00/src/math/math_scanner.h Examining data/ngraph-gtk-6.08.00/src/math/math_operator.h Examining data/ngraph-gtk-6.08.00/src/math/math_constant.h Examining data/ngraph-gtk-6.08.00/src/math/math_parser.c Examining data/ngraph-gtk-6.08.00/src/math/math_scanner.c Examining data/ngraph-gtk-6.08.00/src/math/math_basic_function.c Examining data/ngraph-gtk-6.08.00/src/math/math_parser.h Examining data/ngraph-gtk-6.08.00/src/math/math_operator.c Examining data/ngraph-gtk-6.08.00/src/math/math_function.h Examining data/ngraph-gtk-6.08.00/src/math/math_constant.c Examining data/ngraph-gtk-6.08.00/src/math/math_error.h Examining data/ngraph-gtk-6.08.00/src/math/parse_bin_expression.h Examining data/ngraph-gtk-6.08.00/src/math/math_equation.h Examining data/ngraph-gtk-6.08.00/src/math/math_expression.c Examining data/ngraph-gtk-6.08.00/src/ogra2prn.c Examining data/ngraph-gtk-6.08.00/src/odraw.c Examining data/ngraph-gtk-6.08.00/src/orect.c Examining data/ngraph-gtk-6.08.00/src/mathcode.c Examining data/ngraph-gtk-6.08.00/src/object.h Examining data/ngraph-gtk-6.08.00/src/ogra.h Examining data/ngraph-gtk-6.08.00/src/shellcm.c Examining data/ngraph-gtk-6.08.00/src/ogra2nul.c Examining data/ngraph-gtk-6.08.00/src/ofit.h Examining data/ngraph-gtk-6.08.00/src/olegend.h Examining data/ngraph-gtk-6.08.00/src/oiarray.h Examining data/ngraph-gtk-6.08.00/src/otext.h Examining data/ngraph-gtk-6.08.00/src/oarc.c Examining data/ngraph-gtk-6.08.00/src/shell.h Examining data/ngraph-gtk-6.08.00/src/gra.h Examining data/ngraph-gtk-6.08.00/src/axis.c Examining data/ngraph-gtk-6.08.00/src/strconv.c Examining data/ngraph-gtk-6.08.00/src/omark.c Examining data/ngraph-gtk-6.08.00/src/spline.c Examining data/ngraph-gtk-6.08.00/src/gra.c Examining data/ngraph-gtk-6.08.00/src/object.c Examining data/ngraph-gtk-6.08.00/src/ostring.c Examining data/ngraph-gtk-6.08.00/src/ioutil.c Examining data/ngraph-gtk-6.08.00/src/nhash.h Examining data/ngraph-gtk-6.08.00/src/oio.c Examining data/ngraph-gtk-6.08.00/src/ogra2fil.c Examining data/ngraph-gtk-6.08.00/src/nconfig.h Examining data/ngraph-gtk-6.08.00/src/odraw.h Examining data/ngraph-gtk-6.08.00/src/osystem.c Examining data/ngraph-gtk-6.08.00/src/odata.c Examining data/ngraph-gtk-6.08.00/src/common.h Examining data/ngraph-gtk-6.08.00/src/nstring.h Examining data/ngraph-gtk-6.08.00/src/olegend.c Examining data/ngraph-gtk-6.08.00/src/spline.h Examining data/ngraph-gtk-6.08.00/src/ofit.c Examining data/ngraph-gtk-6.08.00/src/shell.c Examining data/ngraph-gtk-6.08.00/src/oprm.c Examining data/ngraph-gtk-6.08.00/src/ntime.c Examining data/ngraph-gtk-6.08.00/src/opath.h Examining data/ngraph-gtk-6.08.00/src/oshell.c Examining data/ngraph-gtk-6.08.00/src/omath.c Examining data/ngraph-gtk-6.08.00/src/oint.c Examining data/ngraph-gtk-6.08.00/src/odata.h Examining data/ngraph-gtk-6.08.00/src/ogra2.c Examining data/ngraph-gtk-6.08.00/src/oiarray.c Examining data/ngraph-gtk-6.08.00/src/oagrid.c Examining data/ngraph-gtk-6.08.00/src/nstring.c Examining data/ngraph-gtk-6.08.00/src/oroot.c Examining data/ngraph-gtk-6.08.00/src/odouble.c Examining data/ngraph-gtk-6.08.00/src/gtk/init.h Examining data/ngraph-gtk-6.08.00/src/gtk/ogra2gdk.c Examining data/ngraph-gtk-6.08.00/src/gtk/x11dialg.h Examining data/ngraph-gtk-6.08.00/src/gtk/gtk_subwin.c Examining data/ngraph-gtk-6.08.00/src/gtk/x11menu.h Examining data/ngraph-gtk-6.08.00/src/gtk/sourcecompletionwords.h Examining data/ngraph-gtk-6.08.00/src/gtk/gtk_common.h Examining data/ngraph-gtk-6.08.00/src/gtk/completion_info.c Examining data/ngraph-gtk-6.08.00/src/gtk/gtk_entry_completion.c Examining data/ngraph-gtk-6.08.00/src/gtk/gtk_liststore.c Examining data/ngraph-gtk-6.08.00/src/gtk/x11print.c Examining data/ngraph-gtk-6.08.00/src/gtk/gtk_action.c Examining data/ngraph-gtk-6.08.00/src/gtk/x11gui.h Examining data/ngraph-gtk-6.08.00/src/gtk/x11file.c Examining data/ngraph-gtk-6.08.00/src/gtk/ogra2cairofile.h Examining data/ngraph-gtk-6.08.00/src/gtk/x11bitmp.h Examining data/ngraph-gtk-6.08.00/src/gtk/x11print.h Examining data/ngraph-gtk-6.08.00/src/gtk/x11view.c Examining data/ngraph-gtk-6.08.00/src/gtk/ox11menu.h Examining data/ngraph-gtk-6.08.00/src/gtk/x11lgnd.h Examining data/ngraph-gtk-6.08.00/src/gtk/x11info.c Examining data/ngraph-gtk-6.08.00/src/gtk/x11opt.h Examining data/ngraph-gtk-6.08.00/src/gtk/gtk_liststore.h Examining data/ngraph-gtk-6.08.00/src/gtk/gtk_entry_completion.h Examining data/ngraph-gtk-6.08.00/src/gtk/x11merge.c Examining data/ngraph-gtk-6.08.00/src/gtk/ogra2gdk.h Examining data/ngraph-gtk-6.08.00/src/gtk/ogra2cairo.h Examining data/ngraph-gtk-6.08.00/src/gtk/ogra2x11.h Examining data/ngraph-gtk-6.08.00/src/gtk/x11axis.h Examining data/ngraph-gtk-6.08.00/src/gtk/gtk_ruler.c Examining data/ngraph-gtk-6.08.00/src/gtk/x11graph.c Examining data/ngraph-gtk-6.08.00/src/gtk/ox11dlg.c Examining data/ngraph-gtk-6.08.00/src/gtk/x11lgnd.c Examining data/ngraph-gtk-6.08.00/src/gtk/ox11menu.c Examining data/ngraph-gtk-6.08.00/src/gtk/ogra2cairofile.c Examining data/ngraph-gtk-6.08.00/src/gtk/x11gui.c Examining data/ngraph-gtk-6.08.00/src/gtk/gtk_action.h Examining data/ngraph-gtk-6.08.00/src/gtk/x11graph.h Examining data/ngraph-gtk-6.08.00/src/gtk/x11opt.c Examining data/ngraph-gtk-6.08.00/src/gtk/x11menu.c Examining data/ngraph-gtk-6.08.00/src/gtk/gtk_presettings.c Examining data/ngraph-gtk-6.08.00/src/gtk/x11view.h Examining data/ngraph-gtk-6.08.00/src/gtk/gtk_ruler.h Examining data/ngraph-gtk-6.08.00/src/gtk/gtk_combo.c Examining data/ngraph-gtk-6.08.00/src/gtk/x11cood.c Examining data/ngraph-gtk-6.08.00/src/gtk/gtk_widget.h Examining data/ngraph-gtk-6.08.00/src/gtk/x11opt_proto.h Examining data/ngraph-gtk-6.08.00/src/gtk/completion_info.h Examining data/ngraph-gtk-6.08.00/src/gtk/x11dialg.c Examining data/ngraph-gtk-6.08.00/src/gtk/init.c Examining data/ngraph-gtk-6.08.00/src/gtk/sourcecompletionwords.c Examining data/ngraph-gtk-6.08.00/src/gtk/x11info.h Examining data/ngraph-gtk-6.08.00/src/gtk/gtk_presettings.h Examining data/ngraph-gtk-6.08.00/src/gtk/ogra2gtkprint.c Examining data/ngraph-gtk-6.08.00/src/gtk/x11merge.h Examining data/ngraph-gtk-6.08.00/src/gtk/gtk_combo.h Examining data/ngraph-gtk-6.08.00/src/gtk/ogra2emf.c Examining data/ngraph-gtk-6.08.00/src/gtk/gtk_widget.c Examining data/ngraph-gtk-6.08.00/src/gtk/gtk_subwin.h Examining data/ngraph-gtk-6.08.00/src/gtk/x11axis.c Examining data/ngraph-gtk-6.08.00/src/gtk/ogra2cairo.c Examining data/ngraph-gtk-6.08.00/src/gtk/completion_info_data.c Examining data/ngraph-gtk-6.08.00/src/gtk/x11commn.h Examining data/ngraph-gtk-6.08.00/src/gtk/ogra2x11.c Examining data/ngraph-gtk-6.08.00/src/gtk/x11cood.h Examining data/ngraph-gtk-6.08.00/src/gtk/x11lgndx.c Examining data/ngraph-gtk-6.08.00/src/gtk/x11file.h Examining data/ngraph-gtk-6.08.00/src/gtk/x11commn.c Examining data/ngraph-gtk-6.08.00/src/nhash.c Examining data/ngraph-gtk-6.08.00/src/oregexp.c Examining data/ngraph-gtk-6.08.00/src/opath.c Examining data/ngraph-gtk-6.08.00/src/ogra.c Examining data/ngraph-gtk-6.08.00/src/oroot.h Examining data/ngraph-gtk-6.08.00/src/omerge.c Examining data/ngraph-gtk-6.08.00/src/mathcode.h Examining data/ngraph-gtk-6.08.00/src/gettext.h Examining data/ngraph-gtk-6.08.00/src/mathfn.c Examining data/ngraph-gtk-6.08.00/src/ngraph.h Examining data/ngraph-gtk-6.08.00/src/main.c Examining data/ngraph-gtk-6.08.00/src/oarc.h Examining data/ngraph-gtk-6.08.00/src/otext.c Examining data/ngraph-gtk-6.08.00/src/osystem.h Examining data/ngraph-gtk-6.08.00/src/osarray.c Examining data/ngraph-gtk-6.08.00/src/mathfn.h Examining data/ngraph-gtk-6.08.00/src/terminal.c Examining data/ngraph-gtk-6.08.00/src/ngraph_api.c Examining data/ngraph-gtk-6.08.00/src/shellux.c Examining data/ngraph-gtk-6.08.00/src/shellcm.h Examining data/ngraph-gtk-6.08.00/src/strconv.h Examining data/ngraph-gtk-6.08.00/src/shellux.h Examining data/ngraph-gtk-6.08.00/src/nconfig.c Examining data/ngraph-gtk-6.08.00/addin/legend.c Examining data/ngraph-gtk-6.08.00/addin/addin_common.h Examining data/ngraph-gtk-6.08.00/addin/addin_common.c Examining data/ngraph-gtk-6.08.00/addin/gimg2gra.c Examining data/ngraph-gtk-6.08.00/addin/fitrslt.c Examining data/ngraph-gtk-6.08.00/addin/fft.c Examining data/ngraph-gtk-6.08.00/plugins/ruby.c Examining data/ngraph-gtk-6.08.00/plugins/ruby/ngraph.c FINAL RESULTS: data/ngraph-gtk-6.08.00/plugins/ruby.c:73:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(ext_name, "%s/%s", plugin_path, ext_basename); data/ngraph-gtk-6.08.00/plugins/ruby/ngraph.c:1802: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(loginshell, str); data/ngraph-gtk-6.08.00/src/gra.c:706: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(GRAClist[GC].textfont,cstr); data/ngraph-gtk-6.08.00/src/gra.c:3365: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(cstr,po+1); data/ngraph-gtk-6.08.00/src/gra.c:4103:7: [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(bbox->fontalias,cstr); data/ngraph-gtk-6.08.00/src/gtk/init.c:214:9: [4] (format) vsnprintf: 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. len = vsnprintf(buf, sizeof(buf), fmt, ap); data/ngraph-gtk-6.08.00/src/gtk/init.c:402:7: [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. system(buf); data/ngraph-gtk-6.08.00/src/gtk/init.c:411:7: [4] (shell) execvp: 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. execvp(argv[0], argv); data/ngraph-gtk-6.08.00/src/gtk/ox11menu.c:1214:9: [4] (format) vsnprintf: 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. len = vsnprintf(buf, sizeof(buf), fmt, ap); data/ngraph-gtk-6.08.00/src/gtk/ox11menu.c:1228:9: [4] (format) vsnprintf: 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. len = vsnprintf(buf, sizeof(buf), fmt, ap); data/ngraph-gtk-6.08.00/src/ioutil.c:248:7: [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(cwd2, cwd); data/ngraph-gtk-6.08.00/src/ioutil.c:412:3: [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(s, dir); data/ngraph-gtk-6.08.00/src/ioutil.c:417:3: [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(s, sep); data/ngraph-gtk-6.08.00/src/ioutil.c:418:3: [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(s, file); data/ngraph-gtk-6.08.00/src/ioutil.c:475:7: [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(cmdname+len,name); data/ngraph-gtk-6.08.00/src/ioutil.c:487: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(cmdname,name); data/ngraph-gtk-6.08.00/src/ioutil.c:580:7: [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(s,path); data/ngraph-gtk-6.08.00/src/ioutil.c:599: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(s3,path+i); data/ngraph-gtk-6.08.00/src/ioutil.c:606:11: [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(path2,s1); data/ngraph-gtk-6.08.00/src/ioutil.c:607:11: [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(path2,namelist[i]); data/ngraph-gtk-6.08.00/src/ioutil.c:611:15: [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(s,path2); data/ngraph-gtk-6.08.00/src/ioutil.c:617:13: [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(path2,s3); data/ngraph-gtk-6.08.00/src/ioutil.c:656: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(s,path); data/ngraph-gtk-6.08.00/src/ioutil.c:866:28: [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. nopen(const char *path,int access,int mode) data/ngraph-gtk-6.08.00/src/ioutil.c:879:20: [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. r = g_open(tmp, access, mode | O_BINARY); data/ngraph-gtk-6.08.00/src/ioutil.h:67:32: [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. int nopen(const char *path,int access,int mode); data/ngraph-gtk-6.08.00/src/object.c:242:8: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. code=vfprintf(stderr,fmt,ap); data/ngraph-gtk-6.08.00/src/object.c:3304:7: [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(s,*(char **)po); data/ngraph-gtk-6.08.00/src/object.c:4021:3: [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(s,objname); data/ngraph-gtk-6.08.00/src/object.c:4024:3: [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(s+len+1,ids); data/ngraph-gtk-6.08.00/src/object.c:4028: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(s+len+1,field); data/ngraph-gtk-6.08.00/src/object.c:4092: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(newlist,olist); data/ngraph-gtk-6.08.00/src/object.c:4765:7: [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(p,s2); data/ngraph-gtk-6.08.00/src/object.c:4790:7: [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(p,s2); data/ngraph-gtk-6.08.00/src/object.c:4800:9: [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(p,s2); data/ngraph-gtk-6.08.00/src/object.c:5337:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(dest2, "%s:^%d", chkobjectname(dobj), oid); data/ngraph-gtk-6.08.00/src/object.c:5445:23: [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). if (prefix!=NULL) strcpy(name,prefix); data/ngraph-gtk-6.08.00/src/odraw.c:185:7: [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(name,file); data/ngraph-gtk-6.08.00/src/odraw.c:268:3: [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(buf, sizeof(buf), format, 'R'); data/ngraph-gtk-6.08.00/src/odraw.c:271:3: [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(buf, sizeof(buf), format, 'G'); data/ngraph-gtk-6.08.00/src/odraw.c:274:3: [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(buf, sizeof(buf), format, 'B'); data/ngraph-gtk-6.08.00/src/oio.c:85:7: [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. int popen; data/ngraph-gtk-6.08.00/src/oio.c:140:17: [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 (io_local->popen) { data/ngraph-gtk-6.08.00/src/oio.c:197:10: [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. fp = popen(file, mode); data/ngraph-gtk-6.08.00/src/omerge.c:789:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(mes,"`%s' Overwrite existing file?",file); data/ngraph-gtk-6.08.00/src/oprm.c:149:8: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. j+=sprintf(s+j,"%%F{%s}",fontchar[fff[script]]); data/ngraph-gtk-6.08.00/src/oprm.c:164:8: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. j+=sprintf(s+j,"%s",style); data/ngraph-gtk-6.08.00/src/oprm.c:278:12: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. j+=sprintf(s2+j,"%s",prmfile); data/ngraph-gtk-6.08.00/src/oprm.c:590: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(s,buf); data/ngraph-gtk-6.08.00/src/oprm.c:1079:7: [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(s,fontchar[fff[j]]); data/ngraph-gtk-6.08.00/src/oprm.c:1113:7: [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(s,fontchar[fff[2]]); data/ngraph-gtk-6.08.00/src/oprm.c:1572:7: [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(s,format); data/ngraph-gtk-6.08.00/src/oprm.c:1576:7: [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(s,fontchar[fff[3+i]]); data/ngraph-gtk-6.08.00/src/oprm.c:1675:7: [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(s,buf); data/ngraph-gtk-6.08.00/src/oprm.c:1708:13: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buf2,"`%s' Overwrite existing file?",filename); data/ngraph-gtk-6.08.00/src/oroot.c:150:8: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. j += sprintf(buf, "%s=", field); data/ngraph-gtk-6.08.00/src/oroot.c:152:10: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. j += sprintf(buf + j, "%d%s", arraynget_int(iarray, i), (i == num - 1) ? "" : " "); data/ngraph-gtk-6.08.00/src/osarray.c:115:3: [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(buf,*po); data/ngraph-gtk-6.08.00/src/shell.c:619:7: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. len=vsprintf(buf,fmt,ap); data/ngraph-gtk-6.08.00/src/shell.c:983:3: [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(valnew->name,name); data/ngraph-gtk-6.08.00/src/shell.c:984:3: [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(valnew->val,val); data/ngraph-gtk-6.08.00/src/shell.c:1054:3: [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(valnew->name,name); data/ngraph-gtk-6.08.00/src/shell.c:1055:3: [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(valnew->val,val); data/ngraph-gtk-6.08.00/src/shell.c:1195:3: [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(valnew->val,name); data/ngraph-gtk-6.08.00/src/shell.c:1316:3: [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(valnew->name,name); data/ngraph-gtk-6.08.00/src/shell.c:1452:11: [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(snew,prmcur->str); data/ngraph-gtk-6.08.00/src/shell.c:1692:9: [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(po,prmcur->str); data/ngraph-gtk-6.08.00/src/shell.c:3384:6: [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(str,prmcur->str); data/ngraph-gtk-6.08.00/src/shell.c:3502:6: [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(val,po+1); data/ngraph-gtk-6.08.00/src/shell.c:3552:8: [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(s,valcur->name); data/ngraph-gtk-6.08.00/src/shell.c:3554:8: [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(s+len+1,val); data/ngraph-gtk-6.08.00/src/shell.c:3667:6: [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(s,(nshell->argv)[0]); data/ngraph-gtk-6.08.00/src/shell.c:3680:8: [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(s,prmcur->str); data/ngraph-gtk-6.08.00/src/shell.c:3708:3: [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(s,(nshell->argv)[0]); data/ngraph-gtk-6.08.00/src/shell.c:3721: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(s,prmcur->str); data/ngraph-gtk-6.08.00/src/shell.c:3860:8: [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(str,prm->str); data/ngraph-gtk-6.08.00/src/shellcm.c:483:7: [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(s,(nshell->argv)[0]); data/ngraph-gtk-6.08.00/src/shellcm.c:491:9: [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(s,argv[j]); data/ngraph-gtk-6.08.00/src/ioutil.c:967:23: [3] (buffer) g_get_tmp_dir: This function is synonymous with 'getenv("TMP")';it returns untrustable input if the environment can beset by an attacker. It 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. dir = (dir) ? dir : g_get_tmp_dir(); data/ngraph-gtk-6.08.00/src/math/math_basic_function.c:948:15: [3] (random) g_random_double: 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. rval->val = g_random_double() * exp->buf[0].val.val; data/ngraph-gtk-6.08.00/src/shell.c:2967:7: [3] (shell) CreateProcess: This causes a new process to execute and is difficult to use safely (CWE-78). Specify the application path in the first argument, NOT as part of the second, or embedded spaces could allow an attacker to force a different program to run. r = CreateProcess(NULL, cmd, NULL, NULL, TRUE, NORMAL_PRIORITY_CLASS, NULL, NULL, &si, &pi); data/ngraph-gtk-6.08.00/src/shell.c:2967:7: [3] (shell) CreateProcess: This causes a new process to execute and is difficult to use safely (CWE-78). Specify the application path in the first argument, NOT as part of the second, or embedded spaces could allow an attacker to force a different program to run. r = CreateProcess(NULL, cmd, NULL, NULL, TRUE, NORMAL_PRIORITY_CLASS, NULL, NULL, &si, &pi); data/ngraph-gtk-6.08.00/src/shell.c:4572:7: [3] (shell) CreateProcess: This causes a new process to execute and is difficult to use safely (CWE-78). Specify the application path in the first argument, NOT as part of the second, or embedded spaces could allow an attacker to force a different program to run. r = CreateProcess(NULL, cmd, NULL, NULL, TRUE, NORMAL_PRIORITY_CLASS, NULL, NULL, &si, &pi); data/ngraph-gtk-6.08.00/src/shell.c:4572:7: [3] (shell) CreateProcess: This causes a new process to execute and is difficult to use safely (CWE-78). Specify the application path in the first argument, NOT as part of the second, or embedded spaces could allow an attacker to force a different program to run. r = CreateProcess(NULL, cmd, NULL, NULL, TRUE, NORMAL_PRIORITY_CLASS, NULL, NULL, &si, &pi); data/ngraph-gtk-6.08.00/addin/addin_common.c:212:3: [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[LINE_BUF_SIZE], *r; data/ngraph-gtk-6.08.00/addin/addin_common.c:220:9: [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). val = atoi(buf); data/ngraph-gtk-6.08.00/addin/addin_common.c:228:3: [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[LINE_BUF_SIZE], *r; data/ngraph-gtk-6.08.00/addin/addin_common.c:244:3: [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[LINE_BUF_SIZE], *r; data/ngraph-gtk-6.08.00/addin/fft.c:61:9: [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). fp2 = fopen(fname2, "wt"); data/ngraph-gtk-6.08.00/addin/fft.c:85:3: [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 line[1024]; data/ngraph-gtk-6.08.00/addin/fft.c:87:9: [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). fp1 = fopen(fname1, "rt"); data/ngraph-gtk-6.08.00/addin/fitrslt.c:334:3: [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[LINE_BUF_SIZE], fmt[LINE_BUF_SIZE], *prm_str; data/ngraph-gtk-6.08.00/addin/fitrslt.c:476:3: [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 buf1[64], buf2[64]; data/ngraph-gtk-6.08.00/addin/fitrslt.c:612:14: [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). prm->posx = atoi(argv[i]); data/ngraph-gtk-6.08.00/addin/fitrslt.c:617:14: [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). prm->posy = atoi(argv[i]); data/ngraph-gtk-6.08.00/addin/gimg2gra.c:75:18: [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). app_data.dpi = atoi(argv[1]); data/ngraph-gtk-6.08.00/addin/gimg2gra.c:194:10: [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. static char bgcolor[64]; data/ngraph-gtk-6.08.00/addin/gimg2gra.c:197:3: [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(bgcolor, "#%02x%02x%02x%02x", r, g, b, a); data/ngraph-gtk-6.08.00/addin/gimg2gra.c:314: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). }else if((fp = fopen(gra_file, "wt")) == NULL){ data/ngraph-gtk-6.08.00/addin/legend.c:698:14: [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). prm->posx = atoi(argv[i]); data/ngraph-gtk-6.08.00/addin/legend.c:703:14: [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). prm->posy = atoi(argv[i]); data/ngraph-gtk-6.08.00/addin/legend.c:708:11: [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). prm->w = atoi(argv[i]); data/ngraph-gtk-6.08.00/plugins/ruby/ngraph.c:454:3: [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[64]; data/ngraph-gtk-6.08.00/plugins/ruby/ngraph.c:1033:3: [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[128]; data/ngraph-gtk-6.08.00/plugins/ruby/ngraph.c:1589:3: [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 str[64]; data/ngraph-gtk-6.08.00/src/gettext.h:210:3: [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 msg_ctxt_id[msgctxt_len + msgid_len]; data/ngraph-gtk-6.08.00/src/gettext.h:212:3: [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/ngraph-gtk-6.08.00/src/gettext.h:220:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1); data/ngraph-gtk-6.08.00/src/gettext.h:222:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len); data/ngraph-gtk-6.08.00/src/gettext.h:256:3: [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 msg_ctxt_id[msgctxt_len + msgid_len]; data/ngraph-gtk-6.08.00/src/gettext.h:258:3: [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/ngraph-gtk-6.08.00/src/gettext.h:266:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1); data/ngraph-gtk-6.08.00/src/gettext.h:268:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len); data/ngraph-gtk-6.08.00/src/gra.c:48:7: [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). int open,init; data/ngraph-gtk-6.08.00/src/gra.c:180:47: [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). for (i=0;i<GRAClimit;i++) if (!(GRAClist[i].open)) break; data/ngraph-gtk-6.08.00/src/gra.c:206:47: [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). for (i=0;i<GRAClimit;i++) if (!(GRAClist[i].open)) break; data/ngraph-gtk-6.08.00/src/gra.c:239:47: [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). for (i=0;i<GRAClimit;i++) if (!(GRAClist[i].open)) break; data/ngraph-gtk-6.08.00/src/gra.c:304:22: [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 (!(GRAClist[GC].open)) return -1; data/ngraph-gtk-6.08.00/src/gra.c:439:3: [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 *dargv[2]; data/ngraph-gtk-6.08.00/src/gra.c:540:3: [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 *dargv[2], *device, **sdata; data/ngraph-gtk-6.08.00/src/gra.c:628:3: [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 *argv[7]; data/ngraph-gtk-6.08.00/src/gra.c:634:22: [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 (!(GRAClist[GC].open)) return ERRGRACLOSE; data/ngraph-gtk-6.08.00/src/gra.c:679:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(GRAClist[GC].linedash,&(cpar[6]),sizeof(int)*cpar[1]); data/ngraph-gtk-6.08.00/src/gra.c:752:14: [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. argv[0]=(char *) GRAClist[GC].objname; data/ngraph-gtk-6.08.00/src/gra.c:753:14: [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. argv[1]=(char *) GRAClist[GC].outputname; data/ngraph-gtk-6.08.00/src/gra.c:768:3: [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 *argv[8]; data/ngraph-gtk-6.08.00/src/gra.c:780:14: [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. argv[0] = (char *) GRAClist[i].objname; data/ngraph-gtk-6.08.00/src/gra.c:799:3: [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 *argv[7]; data/ngraph-gtk-6.08.00/src/gra.c:809:14: [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. argv[0] = (char *) GRAClist[i].objname; data/ngraph-gtk-6.08.00/src/gra.c:827:3: [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 *argv[7]; data/ngraph-gtk-6.08.00/src/gra.c:837:14: [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. argv[0] = (char *) GRAClist[i].objname; data/ngraph-gtk-6.08.00/src/gra.c:932:3: [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 s2[1]; data/ngraph-gtk-6.08.00/src/gra.c:3078:3: [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 s2[256]; data/ngraph-gtk-6.08.00/src/gra.c:3343:3: [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 cstr[256],*po,*ustr; data/ngraph-gtk-6.08.00/src/gtk/gtk_liststore.c:207:7: [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[64]; data/ngraph-gtk-6.08.00/src/gtk/gtk_liststore.c:610:3: [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[128]; data/ngraph-gtk-6.08.00/src/gtk/gtk_liststore.c:619:3: [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[128]; data/ngraph-gtk-6.08.00/src/gtk/gtk_liststore.c:1035:3: [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/ngraph-gtk-6.08.00/src/gtk/gtk_liststore.c:1044:3: [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/ngraph-gtk-6.08.00/src/gtk/gtk_liststore.c:1053:3: [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 buf1[1024], buf2[1024]; data/ngraph-gtk-6.08.00/src/gtk/gtk_presettings.c:146:3: [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 img_file[256]; data/ngraph-gtk-6.08.00/src/gtk/gtk_presettings.c:161:3: [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 img_file[256]; data/ngraph-gtk-6.08.00/src/gtk/gtk_presettings.c:180: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 img_file[256]; data/ngraph-gtk-6.08.00/src/gtk/gtk_presettings.c:578:7: [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[64]; data/ngraph-gtk-6.08.00/src/gtk/gtk_presettings.c:612: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[64], img_file[256]; data/ngraph-gtk-6.08.00/src/gtk/gtk_subwin.c:196:2: [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[64]; data/ngraph-gtk-6.08.00/src/gtk/gtk_subwin.c:500:3: [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 *objects[2]; data/ngraph-gtk-6.08.00/src/gtk/gtk_subwin.c:1330:3: [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, *new_name, buf[256]; data/ngraph-gtk-6.08.00/src/gtk/gtk_widget.c:665:3: [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[64]; data/ngraph-gtk-6.08.00/src/gtk/init.c:210:3: [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/ngraph-gtk-6.08.00/src/gtk/init.c:226:3: [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[10], yn[] = " [yn] "; data/ngraph-gtk-6.08.00/src/gtk/init.c:398:7: [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[2049], *s2, *s; data/ngraph-gtk-6.08.00/src/gtk/init.c:429:3: [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], ttyname[256], fifo_in[1024], fifo_out[1024]; data/ngraph-gtk-6.08.00/src/gtk/init.c:530:16: [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). consolepid = atoi(buf); data/ngraph-gtk-6.08.00/src/gtk/init.c:1060:3: [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 str[1]; data/ngraph-gtk-6.08.00/src/gtk/init.c:1524:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(list->str, text, len); data/ngraph-gtk-6.08.00/src/gtk/ogra2cairo.c:533:24: [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. if (_exeparent(obj, (char *)argv[1], inst, rval, argc, argv)) return 1; data/ngraph-gtk-6.08.00/src/gtk/ogra2cairo.c:621:24: [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. if (_exeparent(obj, (char *)argv[1], inst, rval, argc, argv)) data/ngraph-gtk-6.08.00/src/gtk/ogra2cairo.c:982:2: [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[8]; data/ngraph-gtk-6.08.00/src/gtk/ogra2cairo.c:1029:12: [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. code = *(char *)(argv[3]); data/ngraph-gtk-6.08.00/src/gtk/ogra2cairo.c:1371: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. func = (char *)argv[1]; data/ngraph-gtk-6.08.00/src/gtk/ogra2cairo.c:1373: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. font = (char *)(argv[4]); data/ngraph-gtk-6.08.00/src/gtk/ogra2cairofile.c:60:24: [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. if (_exeparent(obj, (char *)argv[1], inst, rval, argc, argv)) data/ngraph-gtk-6.08.00/src/gtk/ogra2cairofile.c:91:24: [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. if (_exeparent(obj, (char *)argv[1], inst, rval, argc, argv)) data/ngraph-gtk-6.08.00/src/gtk/ogra2cairofile.c:294:12: [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. code = *(char *)(argv[3]); data/ngraph-gtk-6.08.00/src/gtk/ogra2cairofile.c:354:24: [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. if (_exeparent(obj, (char *)argv[1], inst, rval, argc, argv)) data/ngraph-gtk-6.08.00/src/gtk/ogra2emf.c:287: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 str[16], *sstr; data/ngraph-gtk-6.08.00/src/gtk/ogra2emf.c:611:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(logfont.lfFaceName, ustr, size); data/ngraph-gtk-6.08.00/src/gtk/ogra2emf.c:645:24: [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. if (_exeparent(obj, (char *)argv[1], inst, rval, argc, argv)) { data/ngraph-gtk-6.08.00/src/gtk/ogra2emf.c:714:24: [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. if (_exeparent(obj, (char *)argv[1], inst, rval, argc, argv)) { data/ngraph-gtk-6.08.00/src/gtk/ogra2emf.c:1505:12: [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. code = *(char *)(argv[3]); data/ngraph-gtk-6.08.00/src/gtk/ogra2gdk.c:39:24: [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. if (_exeparent(obj, (char *)argv[1], inst, rval, argc, argv)) data/ngraph-gtk-6.08.00/src/gtk/ogra2gdk.c:70:24: [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. if (_exeparent(obj, (char *)argv[1], inst, rval, argc, argv)) data/ngraph-gtk-6.08.00/src/gtk/ogra2gtkprint.c:37:24: [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. if (_exeparent(obj, (char *)argv[1], inst, rval, argc, argv)) { data/ngraph-gtk-6.08.00/src/gtk/ogra2gtkprint.c:56:24: [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. if (_exeparent(obj, (char *)argv[1], inst, rval, argc, argv)) data/ngraph-gtk-6.08.00/src/gtk/ogra2x11.c:290:24: [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. if (_exeparent(obj, (char *) argv[1], inst, rval, argc, argv)) data/ngraph-gtk-6.08.00/src/gtk/ogra2x11.c:733:12: [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. code = *(char *) (argv[3]); data/ngraph-gtk-6.08.00/src/gtk/ogra2x11.c:749:24: [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. if (_exeparent(obj, (char *)argv[1], inst, rval, argc, argv)) data/ngraph-gtk-6.08.00/src/gtk/ox11dlg.c:77:23: [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. if (_exeparent(obj, (char *)argv[1], inst, rval, argc, argv)) { data/ngraph-gtk-6.08.00/src/gtk/ox11dlg.c:96:24: [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. if (_exeparent(obj, (char *)argv[1], inst, rval, argc, argv)) return 1; data/ngraph-gtk-6.08.00/src/gtk/ox11dlg.c:110:10: [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. mes = (char *)argv[2]; data/ngraph-gtk-6.08.00/src/gtk/ox11dlg.c:134:10: [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. mes = (char *)argv[2]; data/ngraph-gtk-6.08.00/src/gtk/ox11dlg.c:176:15: [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. init_str = (char *)argv[2]; data/ngraph-gtk-6.08.00/src/gtk/ox11menu.c:628:3: [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 *f[4] = {NULL, NULL, NULL, NULL}; data/ngraph-gtk-6.08.00/src/gtk/ox11menu.c:926:12: [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. g_free(* (char **) cfg[i].data); data/ngraph-gtk-6.08.00/src/gtk/ox11menu.c:927: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 **) cfg[i].data = NULL; data/ngraph-gtk-6.08.00/src/gtk/ox11menu.c:1023:24: [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. if (_exeparent(obj, (char *) argv[1], inst, rval, argc, argv)) { data/ngraph-gtk-6.08.00/src/gtk/ox11menu.c:1172:24: [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. if (_exeparent(obj, (char *) argv[1], inst, rval, argc, argv)) data/ngraph-gtk-6.08.00/src/gtk/ox11menu.c:1210:3: [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/ngraph-gtk-6.08.00/src/gtk/ox11menu.c:1224:3: [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/ngraph-gtk-6.08.00/src/gtk/ox11menu.c:1259:24: [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. if (_exeparent(obj, (char *) argv[1], inst, rval, argc, argv)) data/ngraph-gtk-6.08.00/src/gtk/ox11menu.c:1367:3: [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 *objs[OBJ_MAX]; data/ngraph-gtk-6.08.00/src/gtk/ox11menu.c:1572:24: [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. if (_exeparent(obj, (char *) argv[1], inst, rval, argc, argv)) data/ngraph-gtk-6.08.00/src/gtk/ox11menu.c:1588: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. name = (char *) argv[2]; data/ngraph-gtk-6.08.00/src/gtk/ox11menu.c:1717:16: [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. PutStdout((char *) argv[2]); data/ngraph-gtk-6.08.00/src/gtk/ox11menu.c:1727:3: [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/ngraph-gtk-6.08.00/src/gtk/ox11menu.c:1797:3: [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], *ptr; data/ngraph-gtk-6.08.00/src/gtk/ox11menu.c:1805:8: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). fp = tmpfile(); data/ngraph-gtk-6.08.00/src/gtk/ox11menu.c:1841:3: [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, h[256]; data/ngraph-gtk-6.08.00/src/gtk/ox11menu.c:2001:3: [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], *file; data/ngraph-gtk-6.08.00/src/gtk/ox11menu.c:2043:13: [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. legend = (char *) argv[2]; data/ngraph-gtk-6.08.00/src/gtk/ox11menu.c:2113:3: [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 *sarray, *name, *script, *description, *option, *argv2[2]; data/ngraph-gtk-6.08.00/src/gtk/ox11menu.c:2118:13: [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. sarray = (char *) argv[2]; data/ngraph-gtk-6.08.00/src/gtk/ox11menu.c:2226:12: [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. code = *(char *) (argv[3]); data/ngraph-gtk-6.08.00/src/gtk/x11axis.c:313:3: [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[10]; data/ngraph-gtk-6.08.00/src/gtk/x11axis.c:330:3: [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[TITLE_BUF_SIZE]; data/ngraph-gtk-6.08.00/src/gtk/x11axis.c:351:3: [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 title[TITLE_BUF_SIZE]; data/ngraph-gtk-6.08.00/src/gtk/x11axis.c:496:3: [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/ngraph-gtk-6.08.00/src/gtk/x11axis.c:573:3: [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 *arg[4]; data/ngraph-gtk-6.08.00/src/gtk/x11axis.c:758:3: [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 *argv[2]; data/ngraph-gtk-6.08.00/src/gtk/x11axis.c:939:3: [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 *argv[2]; data/ngraph-gtk-6.08.00/src/gtk/x11axis.c:1050:3: [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[30]; data/ngraph-gtk-6.08.00/src/gtk/x11axis.c:1164:7: [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, *argv2[2]; data/ngraph-gtk-6.08.00/src/gtk/x11axis.c:1201:4: [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[30]; data/ngraph-gtk-6.08.00/src/gtk/x11axis.c:1223:3: [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[10]; data/ngraph-gtk-6.08.00/src/gtk/x11axis.c:1598:3: [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[TITLE_BUF_SIZE]; data/ngraph-gtk-6.08.00/src/gtk/x11axis.c:2250:3: [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 title[25]; data/ngraph-gtk-6.08.00/src/gtk/x11axis.c:2408:3: [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 *argv[2]; data/ngraph-gtk-6.08.00/src/gtk/x11axis.c:2463:3: [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 *argv[2]; data/ngraph-gtk-6.08.00/src/gtk/x11axis.c:2532:3: [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 *argv[2]; data/ngraph-gtk-6.08.00/src/gtk/x11axis.c:2658:3: [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 *argv[4]; data/ngraph-gtk-6.08.00/src/gtk/x11axis.c:2851:3: [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 *objects[4]; data/ngraph-gtk-6.08.00/src/gtk/x11axis.c:2890:3: [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], *valstr; data/ngraph-gtk-6.08.00/src/gtk/x11axis.c:2994:3: [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 *argv[1]; data/ngraph-gtk-6.08.00/src/gtk/x11axis.c:3064:3: [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 *argv[3]; data/ngraph-gtk-6.08.00/src/gtk/x11commn.c:401:3: [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 group3[20]; data/ngraph-gtk-6.08.00/src/gtk/x11commn.c:506:3: [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 *argv[2]; data/ngraph-gtk-6.08.00/src/gtk/x11commn.c:973:3: [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 *argv2[3], **argv; data/ngraph-gtk-6.08.00/src/gtk/x11commn.c:1076:3: [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 *arg[2]; data/ngraph-gtk-6.08.00/src/gtk/x11commn.c:1079:3: [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 *ver, *sysname, *s, *opt, comment[COMMENT_BUF_SIZE]; data/ngraph-gtk-6.08.00/src/gtk/x11commn.c:1180:3: [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 mes[256]; data/ngraph-gtk-6.08.00/src/gtk/x11commn.c:1330:3: [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 *argv[2]; data/ngraph-gtk-6.08.00/src/gtk/x11commn.c:1332:3: [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 mes[256]; data/ngraph-gtk-6.08.00/src/gtk/x11commn.c:1520:3: [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 *group, *ref, *argv[2]; data/ngraph-gtk-6.08.00/src/gtk/x11cood.c:78:3: [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 *argv[3]; data/ngraph-gtk-6.08.00/src/gtk/x11dialg.c:1072:3: [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[128]; data/ngraph-gtk-6.08.00/src/gtk/x11dialg.c:1275:3: [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[64]; data/ngraph-gtk-6.08.00/src/gtk/x11dialg.c:1333:3: [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[64]; data/ngraph-gtk-6.08.00/src/gtk/x11file.c:986:3: [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 *argv[2]; data/ngraph-gtk-6.08.00/src/gtk/x11file.c:1551:3: [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/ngraph-gtk-6.08.00/src/gtk/x11file.c:1667:3: [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 title[20], **enumlist, mes[10]; data/ngraph-gtk-6.08.00/src/gtk/x11file.c:1852:3: [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[64]; data/ngraph-gtk-6.08.00/src/gtk/x11file.c:1896:3: [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 *endptr, buf2[64]; data/ngraph-gtk-6.08.00/src/gtk/x11file.c:2786:3: [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[64]; data/ngraph-gtk-6.08.00/src/gtk/x11file.c:2917:3: [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[128]; data/ngraph-gtk-6.08.00/src/gtk/x11file.c:3003:3: [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[16]; data/ngraph-gtk-6.08.00/src/gtk/x11file.c:3797:3: [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 *array, buf[64]; data/ngraph-gtk-6.08.00/src/gtk/x11file.c:3985: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[32]; data/ngraph-gtk-6.08.00/src/gtk/x11file.c:4092:3: [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 title[32], *argv[2], *s; data/ngraph-gtk-6.08.00/src/gtk/x11file.c:4184:3: [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 title[32]; data/ngraph-gtk-6.08.00/src/gtk/x11file.c:4247:3: [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 title[32]; data/ngraph-gtk-6.08.00/src/gtk/x11file.c:4579:3: [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 *arg[3]; data/ngraph-gtk-6.08.00/src/gtk/x11file.c:4923:3: [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 *objs[2]; data/ngraph-gtk-6.08.00/src/gtk/x11file.c:5607:3: [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/ngraph-gtk-6.08.00/src/gtk/x11file.c:5754:3: [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 *file, buf[1024]; data/ngraph-gtk-6.08.00/src/gtk/x11file.c:5755:3: [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 *argv[4]; data/ngraph-gtk-6.08.00/src/gtk/x11file.c:5935:3: [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 *valstr, buf[1024]; data/ngraph-gtk-6.08.00/src/gtk/x11file.c:6227:3: [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[64]; data/ngraph-gtk-6.08.00/src/gtk/x11lgnd.c:280:3: [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 title[256], *objs[2]; data/ngraph-gtk-6.08.00/src/gtk/x11lgnd.c:321:3: [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 title[256], *objs[2]; data/ngraph-gtk-6.08.00/src/gtk/x11lgnd.c:978:3: [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/ngraph-gtk-6.08.00/src/gtk/x11lgnd.c:1374: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 img_file[256]; data/ngraph-gtk-6.08.00/src/gtk/x11lgnd.c:1455:3: [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 title[64]; data/ngraph-gtk-6.08.00/src/gtk/x11lgnd.c:1571:3: [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 title[64]; data/ngraph-gtk-6.08.00/src/gtk/x11lgnd.c:1670:3: [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 title[64]; data/ngraph-gtk-6.08.00/src/gtk/x11lgnd.c:1808:3: [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 title[64]; data/ngraph-gtk-6.08.00/src/gtk/x11lgnd.c:2049:3: [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 title[64]; data/ngraph-gtk-6.08.00/src/gtk/x11lgnd.c:2216:3: [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 *objs[2]; data/ngraph-gtk-6.08.00/src/gtk/x11lgnd.c:2752:3: [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 *str, buf[64]; data/ngraph-gtk-6.08.00/src/gtk/x11lgnd.c:2872:3: [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 *argv[3], *tmp, *ptr; data/ngraph-gtk-6.08.00/src/gtk/x11lgndx.c:359:3: [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 title[256]; data/ngraph-gtk-6.08.00/src/gtk/x11menu.c:3352:3: [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/ngraph-gtk-6.08.00/src/gtk/x11menu.c:4790:2: [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 *key, accel[128], action[128]; data/ngraph-gtk-6.08.00/src/gtk/x11menu.c:4791:8: [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 *accels[2]; data/ngraph-gtk-6.08.00/src/gtk/x11menu.c:5001:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(new_dirs, dirs, n * sizeof(*new_dirs)); data/ngraph-gtk-6.08.00/src/gtk/x11menu.c:5371:3: [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, *option, *s, *argv[2], mes[256]; data/ngraph-gtk-6.08.00/src/gtk/x11menu.c:5632:8: [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. static char *UndoTypeStr[UNDO_TYPE_NUM] = { data/ngraph-gtk-6.08.00/src/gtk/x11menu.c:5664:3: [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], *label; data/ngraph-gtk-6.08.00/src/gtk/x11menu.c:5713:3: [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[512], *label; data/ngraph-gtk-6.08.00/src/gtk/x11menu.c:5758:3: [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 *objs[2]; data/ngraph-gtk-6.08.00/src/gtk/x11menu.c:5808: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 **ptr, *objs[OBJ_MAX]; data/ngraph-gtk-6.08.00/src/gtk/x11merge.c:123:3: [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 title[64]; data/ngraph-gtk-6.08.00/src/gtk/x11opt.c:1901:3: [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 mes[MESSAGE_BUF_SIZE]; data/ngraph-gtk-6.08.00/src/gtk/x11print.c:520:3: [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 *argv[2]; data/ngraph-gtk-6.08.00/src/gtk/x11print.c:574:3: [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[MESSAGE_BUF_SIZE]; data/ngraph-gtk-6.08.00/src/gtk/x11print.c:756: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 *argv[3]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:334:3: [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 *objects[OBJ_MAX] = {NULL}; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:592:3: [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, *ext, *arg[4]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:821:3: [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[64]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:1192:3: [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 *argv[7]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:1201:3: [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 mes[256]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:1310:3: [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 *argv[7]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:1320:3: [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 mes[256]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:1425:3: [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 *argv[4]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:1530:3: [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 *argv[6]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:1999:3: [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 *argv[4], *objs[OBJ_MAX]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:2113:3: [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 *argv[5], *objs[OBJ_MAX]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:2162:3: [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 *argv[4], *objs[OBJ_MAX]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:2772:3: [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 *axis, *argv[3]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:3204:3: [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 *argv[5]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:3276:3: [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 *objs[OBJ_MAX]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:3318:3: [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 *argv[6], *objs[OBJ_MAX]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:3396:3: [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 *argv[5]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:3535:3: [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[32]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:3553:3: [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[128]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:3693:3: [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 *objects[2]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:3755:3: [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 *objects[2]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:3815:3: [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 *objects[2]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:3896:3: [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 *objects[2]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:3962:3: [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 *objects[2]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:4035:3: [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 *argv[3], *ref; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:5092:3: [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 *objs[OBJ_MAX]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:5890:3: [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 *group, *objs[OBJ_MAX]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:6035:3: [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 *objs[OBJ_MAX]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:6098:3: [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 *objects[2]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:6173:3: [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 *argv[2]; data/ngraph-gtk-6.08.00/src/gtk/x11view.c:6355:3: [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 *objs[OBJ_MAX]; data/ngraph-gtk-6.08.00/src/ioutil.c:50:8: [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. static char C_type_buf[257]; data/ngraph-gtk-6.08.00/src/math/math_basic_function.c:2461:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(Memory, ary->data, sizeof(*Memory) * n); data/ngraph-gtk-6.08.00/src/math/math_equation.c:773:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(fprm, exp->u.func.fprm, sizeof(*fprm)); data/ngraph-gtk-6.08.00/src/math/math_equation.c:822:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ptr, prm, sizeof(*ptr)); data/ngraph-gtk-6.08.00/src/math/math_equation.c:840:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ptr->arg_type, prm->arg_type, sizeof(*prm->arg_type) * argc); data/ngraph-gtk-6.08.00/src/math/math_operator.c:50:8: [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. static char OpeChar[256] = { data/ngraph-gtk-6.08.00/src/nstring.c:356:9: [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). pow = atoi(str + n + 1); data/ngraph-gtk-6.08.00/src/ntime.c:37:1: [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 *weekstr[7]={"Sun","Mon","Tue","Wed","Thu","Fri","Sat"}; data/ngraph-gtk-6.08.00/src/ntime.c:38:1: [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 *monthstr[12]={"Jan","Feb","Mar","Apr","May","Jun", data/ngraph-gtk-6.08.00/src/oagrid.c:60:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oagrid.c:96:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oagrid.c:343:24: [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. if (_exeparent(obj, (char *)argv[1], inst, rval, argc, argv)) data/ngraph-gtk-6.08.00/src/oagrid.c:361: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[32]; data/ngraph-gtk-6.08.00/src/oagrid.c:402:30: [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. GRAaddlist(GC, obj, inst, (char *) argv[0], (char *) argv[1]); data/ngraph-gtk-6.08.00/src/oagrid.c:402:48: [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. GRAaddlist(GC, obj, inst, (char *) argv[0], (char *) argv[1]); data/ngraph-gtk-6.08.00/src/oarc.c:55:24: [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. if (_exeparent(obj, (char *)argv[1], inst, rval, argc, argv)) return 1; data/ngraph-gtk-6.08.00/src/oarc.c:84:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oarc.c:219:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oarc.c:269:27: [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. GRAaddlist(GC,obj,inst,(char *)argv[0],(char *)argv[1]); data/ngraph-gtk-6.08.00/src/oarc.c:269:43: [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. GRAaddlist(GC,obj,inst,(char *)argv[0],(char *)argv[1]); data/ngraph-gtk-6.08.00/src/oarc.c:280:12: [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. field = (char *) (argv[1]); data/ngraph-gtk-6.08.00/src/oarc.c:451:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oarc.c:470:24: [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. if (_exeparent(obj, (char *)argv[1], inst, rval, argc, argv)) return 1; data/ngraph-gtk-6.08.00/src/oarc.c:638:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oarc.c:693:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oaxis.c:254:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oaxis.c:353:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oaxis.c:383:13: [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. format=(char *)(argv[2]); data/ngraph-gtk-6.08.00/src/oaxis.c:939:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oaxis.c:1169:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oaxis.c:1441:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oaxis.c:1962:3: [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 format2[256], pm[] = "±"; data/ngraph-gtk-6.08.00/src/oaxis.c:2109:3: [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 num[256]; data/ngraph-gtk-6.08.00/src/oaxis.c:2970:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) data/ngraph-gtk-6.08.00/src/oaxis.c:3035:27: [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. GRAaddlist(GC,obj,inst,(char *)argv[0],(char *)argv[1]); data/ngraph-gtk-6.08.00/src/oaxis.c:3035:43: [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. GRAaddlist(GC,obj,inst,(char *)argv[0],(char *)argv[1]); data/ngraph-gtk-6.08.00/src/oaxis.c:3047:24: [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. if (_exeparent(obj, (char *)argv[1], inst, rval, argc, argv)) data/ngraph-gtk-6.08.00/src/oaxis.c:3326:3: [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[20], msgbuf[64], *group; data/ngraph-gtk-6.08.00/src/oaxis.c:3327:3: [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 *argv2[4]; data/ngraph-gtk-6.08.00/src/oaxis.c:3377:12: [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. fileobj=(char *)argv[2]; data/ngraph-gtk-6.08.00/src/oaxis.c:3409:12: [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. fileobj=(char *)argv[2]; data/ngraph-gtk-6.08.00/src/oaxis.c:3781:24: [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. if (_exeparent(obj, (char *)argv[1], inst, rval, argc, argv)) return 1; data/ngraph-gtk-6.08.00/src/object.c:55:8: [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. static char errormsg1[ERR_MSG_BUF_SIZE]={'\0'}; data/ngraph-gtk-6.08.00/src/object.c:56:8: [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. static char errormsg2[ERR_MSG_BUF_SIZE]={'\0'}; data/ngraph-gtk-6.08.00/src/object.c:453:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dest->data, src->data, src->num * src->base); data/ngraph-gtk-6.08.00/src/object.c:535:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data+array->num*base,val,base); data/ngraph-gtk-6.08.00/src/object.c:593:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data+i*base,data+(i-1)*base,base); data/ngraph-gtk-6.08.00/src/object.c:594:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data+idx*base,val,base); data/ngraph-gtk-6.08.00/src/object.c:666:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf, data + i * base, base); data/ngraph-gtk-6.08.00/src/object.c:667:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data + i * base, data + (num - i) * base, base); data/ngraph-gtk-6.08.00/src/object.c:668:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data + (num - i) * base, buf, base); data/ngraph-gtk-6.08.00/src/object.c:688:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data+(i-1)*base,data+i*base,base); data/ngraph-gtk-6.08.00/src/object.c:822:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data+idx*base,val,base); data/ngraph-gtk-6.08.00/src/object.c:1324:3: [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 *argv[4]; data/ngraph-gtk-6.08.00/src/object.c:3213:28: [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. if (arg_add(&argv2,((char **)argv)[i])==NULL) { data/ngraph-gtk-6.08.00/src/object.c:3251:28: [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. if (arg_add(&argv2,((char **)argv)[i])==NULL) { data/ngraph-gtk-6.08.00/src/object.c:3270:3: [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[8]; data/ngraph-gtk-6.08.00/src/object.c:4010:3: [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 ids[11]; data/ngraph-gtk-6.08.00/src/object.c:4015:12: [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. if (oid) sprintf(ids,"^%d",id); data/ngraph-gtk-6.08.00/src/object.c:4016:8: [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. else sprintf(ids,"%d",id); data/ngraph-gtk-6.08.00/src/object.c:4207:39: [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. g_string_append_printf(str,"%s",((char **)arglist)[*(int *)po]); data/ngraph-gtk-6.08.00/src/object.c:4980:3: [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[8]; data/ngraph-gtk-6.08.00/src/object.c:5024:3: [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[8]; data/ngraph-gtk-6.08.00/src/odarray.c:60:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/odarray.c:76:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/odarray.c:380:10: [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. ptr = (char *) argv[2]; data/ngraph-gtk-6.08.00/src/odata.c:319:3: [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 *remark,*ifs, ifs_buf[256]; data/ngraph-gtk-6.08.00/src/odata.c:980:3: [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 *argv[2], *ptr; data/ngraph-gtk-6.08.00/src/odata.c:2491:3: [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 *file_constant[MATH_CONST_SIZE] = { data/ngraph-gtk-6.08.00/src/odata.c:2621:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/odata.c:2769:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/odata.c:2858: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. math=(char *)(argv[2]); data/ngraph-gtk-6.08.00/src/odata.c:2861:17: [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. if (strlen((char *)argv[2])==0) { data/ngraph-gtk-6.08.00/src/odata.c:3147:3: [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 msgbuf[32]; data/ngraph-gtk-6.08.00/src/odata.c:3185:3: [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 *argv[2]; data/ngraph-gtk-6.08.00/src/odata.c:5139:3: [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/ngraph-gtk-6.08.00/src/odata.c:5666: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[256]; data/ngraph-gtk-6.08.00/src/odata.c:5671: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(buf, "%d/%d", i + 1, n / 2); data/ngraph-gtk-6.08.00/src/odata.c:6496:3: [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 *weight, *argv[2]; data/ngraph-gtk-6.08.00/src/odata.c:6803:24: [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. if (_exeparent(obj, (char *)argv[1], inst, rval, argc, argv)) data/ngraph-gtk-6.08.00/src/odata.c:6907:14: [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. field = (char *)argv[1]; data/ngraph-gtk-6.08.00/src/odata.c:6921:30: [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. GRAaddlist(GC, obj, inst, (char *) argv[0], "redraw"); data/ngraph-gtk-6.08.00/src/odata.c:7200:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/odata.c:7219:29: [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. GRAaddlist(GC,obj,inst,(char *)argv[0],(char *)argv[1]); data/ngraph-gtk-6.08.00/src/odata.c:7219:45: [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. GRAaddlist(GC,obj,inst,(char *)argv[0],(char *)argv[1]); data/ngraph-gtk-6.08.00/src/odata.c:7902:16: [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. if (strcmp0((char *)argv[1],"opendatac")==0) f2dlocal->coord=TRUE; data/ngraph-gtk-6.08.00/src/odata.c:8678:3: [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 *argv2[2]; data/ngraph-gtk-6.08.00/src/odata.c:8683:10: [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. axiss=(char *)argv[2]; data/ngraph-gtk-6.08.00/src/odata.c:8782:3: [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 *argv2[4]; data/ngraph-gtk-6.08.00/src/odata.c:8843:3: [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 *argv2[2]; data/ngraph-gtk-6.08.00/src/odata.c:9044: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[257]; data/ngraph-gtk-6.08.00/src/odata.c:9091:3: [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 *argv2[2]; data/ngraph-gtk-6.08.00/src/odata.c:9482: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. file=(char *)argv[2]; data/ngraph-gtk-6.08.00/src/odata.c:9882:3: [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 *fit_argv[2]; data/ngraph-gtk-6.08.00/src/odouble.c:46:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/odouble.c:53:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/odraw.c:109:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/odraw.c:122:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/odraw.c:150:3: [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 *argv2[4]; data/ngraph-gtk-6.08.00/src/odraw.c:160:27: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/odraw.c:171:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,3,argv2)) { data/ngraph-gtk-6.08.00/src/odraw.c:242:3: [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[64]; data/ngraph-gtk-6.08.00/src/ofit.c:113:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/ofit.c:142:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/ofit.c:247: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. math=(char *)(argv[2]); data/ngraph-gtk-6.08.00/src/ofit.c:635:3: [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/ngraph-gtk-6.08.00/src/ofit.c:802:7: [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(buf,"fit:^%d Iteration = %d delta = %g", fitlocal->oid, count, dxxc); data/ngraph-gtk-6.08.00/src/ofit.c:904:3: [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 *equation,*func,prm[32]; data/ngraph-gtk-6.08.00/src/ofit.c:911:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/ogra.c:62:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/ogra.c:116:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/ogra.c:275:27: [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. GRAaddlist(GC,obj,inst,(char *)argv[0],(char *)argv[1]); data/ngraph-gtk-6.08.00/src/ogra.c:275:43: [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. GRAaddlist(GC,obj,inst,(char *)argv[0],(char *)argv[1]); data/ngraph-gtk-6.08.00/src/ogra.c:297:10: [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. field=(char *)(argv[1]); data/ngraph-gtk-6.08.00/src/ogra.c:318:10: [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. field=(char *)(argv[1]); data/ngraph-gtk-6.08.00/src/ogra.c:391:3: [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 *oGRAargv[2]; data/ngraph-gtk-6.08.00/src/ogra.c:438:3: [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 msgbuf[1024]; data/ngraph-gtk-6.08.00/src/ogra2.c:49:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/ogra2.c:68:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/ogra2fil.c:56:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/ogra2fil.c:72:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/ogra2fil.c:91:10: [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. code=*(char *)(argv[3]); data/ngraph-gtk-6.08.00/src/ogra2nul.c:52:24: [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. if (_exeparent(obj, (char *)argv[1], inst, rval, argc, argv)) return 1; data/ngraph-gtk-6.08.00/src/ogra2nul.c:60:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/ogra2nul.c:486: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. font = (char *) argv[5]; data/ngraph-gtk-6.08.00/src/ogra2nul.c:530: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. font=(char *)(argv[4]); data/ngraph-gtk-6.08.00/src/ogra2prn.c:62:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/ogra2prn.c:79:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/ogra2prn.c:115:10: [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. code=*(char *)(argv[3]); data/ngraph-gtk-6.08.00/src/oiarray.c:52:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oiarray.c:59:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oiarray.c:428:10: [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. ptr = (char *) argv[2]; data/ngraph-gtk-6.08.00/src/oint.c:45:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oint.c:52:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oio.c:104:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oio.c:155:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/olegend.c:50:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/olegend.c:57:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/olegend.c:82:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/olegend.c:190:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/olegend.c:310:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/olegend.c:336:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/omark.c:51:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/omark.c:70:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/omark.c:83:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/omark.c:107:27: [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. GRAaddlist(GC,obj,inst,(char *)argv[0],(char *)argv[1]); data/ngraph-gtk-6.08.00/src/omark.c:107:43: [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. GRAaddlist(GC,obj,inst,(char *)argv[0],(char *)argv[1]); data/ngraph-gtk-6.08.00/src/omark.c:148:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/omark.c:241:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/omark.c:287:12: [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. field = (char *) (argv[1]); data/ngraph-gtk-6.08.00/src/omark.c:313:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/omath.c:92:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/omath.c:152:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/omerge.c:200:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/omerge.c:230:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/omerge.c:494:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/omerge.c:570:32: [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. GRAaddlist(info.GC,obj,inst,(char *)argv[0],"redraw"); data/ngraph-gtk-6.08.00/src/omerge.c:582:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/omerge.c:617:29: [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. GRAaddlist(GC,obj,inst,(char *)argv[0],(char *)argv[1]); data/ngraph-gtk-6.08.00/src/omerge.c:617:45: [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. GRAaddlist(GC,obj,inst,(char *)argv[0],(char *)argv[1]); data/ngraph-gtk-6.08.00/src/omerge.c:701:3: [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 *argv2[2]; data/ngraph-gtk-6.08.00/src/omerge.c:766:3: [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[2]; data/ngraph-gtk-6.08.00/src/omerge.c:770:6: [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. s=(char *)argv[2]; data/ngraph-gtk-6.08.00/src/omerge.c:816:3: [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 *argv2[2]; data/ngraph-gtk-6.08.00/src/omerge.c:862:6: [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. s=(char *)argv[2]; data/ngraph-gtk-6.08.00/src/omerge.c:1086:10: [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. field=(char *)(argv[1]); data/ngraph-gtk-6.08.00/src/oprm.c:71:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oprm.c:78:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oprm.c:262:12: [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. j+=sprintf(s2+j,"%%{system:0:date:1}"); data/ngraph-gtk-6.08.00/src/oprm.c:266:12: [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. j+=sprintf(s2+j,"%%{system:0:date:0}"); data/ngraph-gtk-6.08.00/src/oprm.c:270:12: [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. j+=sprintf(s2+j,"%%{system:0:time:2}"); data/ngraph-gtk-6.08.00/src/oprm.c:274:12: [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. j+=sprintf(s2+j,"%%{system:0:time:3}"); data/ngraph-gtk-6.08.00/src/oprm.c:289:18: [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. j+=sprintf(s2+j,"%%{file:%d:file}",fnameid[file]); data/ngraph-gtk-6.08.00/src/oprm.c:291:18: [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. j+=sprintf(s2+j,"%%{file:%d:basename}",fnameid[file]); data/ngraph-gtk-6.08.00/src/oprm.c:296:14: [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. j+=sprintf(s2+j,"%%{file:%d:date:1}",fnameid[file]); data/ngraph-gtk-6.08.00/src/oprm.c:300:14: [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. j+=sprintf(s2+j,"%%{file:%d:date:0}",fnameid[file]); data/ngraph-gtk-6.08.00/src/oprm.c:304:14: [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. j+=sprintf(s2+j,"%%{file:%d:time:4}",fnameid[file]); data/ngraph-gtk-6.08.00/src/oprm.c:308:14: [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. j+=sprintf(s2+j,"%%{system:%d:time:3}",fnameid[file]); data/ngraph-gtk-6.08.00/src/oprm.c:316:16: [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. j+=sprintf(s2+j,"%%{file:%d:column:%d %d}", data/ngraph-gtk-6.08.00/src/oprm.c:355:7: [2] (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). Risk is low because the source is a constant string. strcpy(m+j,"CONT"); data/ngraph-gtk-6.08.00/src/oprm.c:359:7: [2] (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). Risk is low because the source is a constant string. strcpy(m+j,"BREAK"); data/ngraph-gtk-6.08.00/src/oprm.c:363:7: [2] (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). Risk is low because the source is a constant string. strcpy(m+j,"SUM"); data/ngraph-gtk-6.08.00/src/oprm.c:367:7: [2] (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). Risk is low because the source is a constant string. strcpy(m+j,"DIF"); data/ngraph-gtk-6.08.00/src/oprm.c:371:7: [2] (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). Risk is low because the source is a constant string. strcpy(m+j,"IF"); data/ngraph-gtk-6.08.00/src/oprm.c:375:7: [2] (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). Risk is low because the source is a constant string. strcpy(m+j,"LOG"); data/ngraph-gtk-6.08.00/src/oprm.c:497:1: [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[BUFSIZE]; data/ngraph-gtk-6.08.00/src/oprm.c:498:1: [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 buf2[BUFSIZE]; data/ngraph-gtk-6.08.00/src/oprm.c:518:3: [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 *argv2[5]; data/ngraph-gtk-6.08.00/src/oprm.c:526:3: [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 str4[5],*endptr; data/ngraph-gtk-6.08.00/src/oprm.c:531:3: [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 scfig[5]; data/ngraph-gtk-6.08.00/src/oprm.c:536:3: [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 format[10],*EOD; data/ngraph-gtk-6.08.00/src/oprm.c:544:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oprm.c:609:7: [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(s,"axis:%d",anameid[0]); data/ngraph-gtk-6.08.00/src/oprm.c:617:7: [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(s,"axis:%d",anameid[2]); data/ngraph-gtk-6.08.00/src/oprm.c:627:7: [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(s,"axis:%d",anameid[1]); data/ngraph-gtk-6.08.00/src/oprm.c:635:7: [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(s,"axis:%d",anameid[3]); data/ngraph-gtk-6.08.00/src/oprm.c:693:7: [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(s,"fit:^%d",nameid); data/ngraph-gtk-6.08.00/src/oprm.c:1476:17: [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. if (i==2) sprintf(s,"axis:^%d",anameoid[0]); data/ngraph-gtk-6.08.00/src/oprm.c:1477:12: [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. else sprintf(s,"axis:^%d",anameoid[1]); data/ngraph-gtk-6.08.00/src/oprm.c:1596: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(s,"axis:^%d",anameoid[0]); data/ngraph-gtk-6.08.00/src/oprm.c:1599: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(s,"axis:^%d",anameoid[1]); data/ngraph-gtk-6.08.00/src/oprm.c:1641: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(s,"axis:^%d",anameoid[1]); data/ngraph-gtk-6.08.00/src/oprm.c:1646: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(s,"axis:^%d",anameoid[0]); data/ngraph-gtk-6.08.00/src/orect.c:50:24: [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. if (_exeparent(obj, (char *)argv[1], inst, rval, argc, argv)) return 1; data/ngraph-gtk-6.08.00/src/orect.c:67:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/orect.c:100:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/orect.c:135:27: [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. GRAaddlist(GC,obj,inst,(char *)argv[0],(char *)argv[1]); data/ngraph-gtk-6.08.00/src/orect.c:135:43: [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. GRAaddlist(GC,obj,inst,(char *)argv[0],(char *)argv[1]); data/ngraph-gtk-6.08.00/src/orect.c:274:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/orect.c:299:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/orect.c:347:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/orect.c:404:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oregexp.c:49:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oregexp.c:75:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oregexp.c:100:10: [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. str = (char *) argv[2]; data/ngraph-gtk-6.08.00/src/oregexp.c:191:10: [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. str = (char *) argv[2]; data/ngraph-gtk-6.08.00/src/oregexp.c:234:10: [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. str = (char *) argv[2]; data/ngraph-gtk-6.08.00/src/oregexp.c:235:14: [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. replace = (char *) argv[3]; data/ngraph-gtk-6.08.00/src/oroot.c:191:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oroot.c:198:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oroot.c:343:3: [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[8], *list; data/ngraph-gtk-6.08.00/src/osarray.c:58:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/osarray.c:80:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/osarray.c:128:8: [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. val=(char *)argv[3]; data/ngraph-gtk-6.08.00/src/osarray.c:145:8: [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. val=(char *)argv[2]; data/ngraph-gtk-6.08.00/src/osarray.c:204:8: [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. val=(char *)argv[3]; data/ngraph-gtk-6.08.00/src/osarray.c:226:10: [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. val = (char *) argv[2]; data/ngraph-gtk-6.08.00/src/osarray.c:306:10: [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. str = (char *) argv[2]; data/ngraph-gtk-6.08.00/src/osarray.c:335:10: [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. str = (char *) argv[2]; data/ngraph-gtk-6.08.00/src/osarray.c:398:10: [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. ptr = (char *) argv[2]; data/ngraph-gtk-6.08.00/src/oshell.c:64:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/oshell.c:82:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/ostring.c:48:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/ostring.c:55:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/ostring.c:275:14: [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. pattern = (char *) argv[2]; data/ngraph-gtk-6.08.00/src/ostring.c:276:14: [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. replace = (char *) argv[3]; data/ngraph-gtk-6.08.00/src/ostring.c:324:14: [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. pattern = (char *) argv[2]; data/ngraph-gtk-6.08.00/src/ostring.c:376:14: [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. pattern = (char *) argv[2]; data/ngraph-gtk-6.08.00/src/ostring.c:430:14: [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. pattern = (char *) argv[2]; data/ngraph-gtk-6.08.00/src/osystem.c:92:22: [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). ngraph_plugin_open open; data/ngraph-gtk-6.08.00/src/osystem.c:123:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/osystem.c:182:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/osystem.c:349:13: [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. tmpfil=(char *)argv[2]; data/ngraph-gtk-6.08.00/src/osystem.c:583: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 (plugin->open) { data/ngraph-gtk-6.08.00/src/osystem.c:584:17: [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). r = plugin->open(); data/ngraph-gtk-6.08.00/src/otext.c:91:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/otext.c:112:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/otext.c:122:10: [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. field=(char *)(argv[1]); data/ngraph-gtk-6.08.00/src/otext.c:152:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/otext.c:179:27: [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. GRAaddlist(GC,obj,inst,(char *)argv[0],(char *)argv[1]); data/ngraph-gtk-6.08.00/src/otext.c:179:43: [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. GRAaddlist(GC,obj,inst,(char *)argv[0],(char *)argv[1]); data/ngraph-gtk-6.08.00/src/otext.c:309:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/otext.c:409:23: [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. if (_exeparent(obj,(char *)argv[1],inst,rval,argc,argv)) return 1; data/ngraph-gtk-6.08.00/src/shell.c:189:8: [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. static char writebuf[WRITEBUFSIZE]; data/ngraph-gtk-6.08.00/src/shell.c:389:3: [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[2]; data/ngraph-gtk-6.08.00/src/shell.c:474:3: [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[2]; data/ngraph-gtk-6.08.00/src/shell.c:615:3: [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/ngraph-gtk-6.08.00/src/shell.c:1782:22: [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. else if (po[i]==(char )0x01) snew[j++]=' '; data/ngraph-gtk-6.08.00/src/shell.c:1825:34: [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. if (((s2=nstrcat(s2,(char *)(namelist[j])))==NULL) data/ngraph-gtk-6.08.00/src/shell.c:1855:32: [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. if ((len!=0) && (s2[len-1]==(char )0x01)) s2[len-1]='\0'; data/ngraph-gtk-6.08.00/src/shell.c:1913:17: [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. if (po[i]==(char )0x01) po[j++]=' '; data/ngraph-gtk-6.08.00/src/shell.c:1914:22: [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. else if (po[i]!=(char )0x02) po[j++]=po[i]; data/ngraph-gtk-6.08.00/src/shell.c:2055:13: [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). num=atoi(name); data/ngraph-gtk-6.08.00/src/shell.c:2068:19: [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(name,"%d",nshell->argc-1); data/ngraph-gtk-6.08.00/src/shell.c:2072:19: [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(name,"%d",nshell->status); data/ngraph-gtk-6.08.00/src/shell.c:3082:3: [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[2]; data/ngraph-gtk-6.08.00/src/shellcm.c:649:3: [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 perm[4],type[10]; data/ngraph-gtk-6.08.00/src/shellcm.c:655:18: [2] (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). Risk is low because the source is a constant string. case NVOID: strcpy(type,"void"); break; data/ngraph-gtk-6.08.00/src/shellcm.c:656:18: [2] (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). Risk is low because the source is a constant string. case NBOOL: strcpy(type,"bool"); break; data/ngraph-gtk-6.08.00/src/shellcm.c:658:18: [2] (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). Risk is low because the source is a constant string. case NCHAR: strcpy(type,"char"); break; data/ngraph-gtk-6.08.00/src/shellcm.c:660:18: [2] (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). Risk is low because the source is a constant string. case NINT: strcpy(type,"int"); break; data/ngraph-gtk-6.08.00/src/shellcm.c:661:18: [2] (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). Risk is low because the source is a constant string. case NDOUBLE: strcpy(type,"double"); break; data/ngraph-gtk-6.08.00/src/shellcm.c:662:18: [2] (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). Risk is low because the source is a constant string. case NSTR: strcpy(type,"char*"); break; data/ngraph-gtk-6.08.00/src/shellcm.c:663:18: [2] (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). Risk is low because the source is a constant string. case NPOINTER: strcpy(type,"void*"); break; data/ngraph-gtk-6.08.00/src/shellcm.c:664:18: [2] (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). Risk is low because the source is a constant string. case NIARRAY: strcpy(type,"int[]"); break; data/ngraph-gtk-6.08.00/src/shellcm.c:665:18: [2] (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). Risk is low because the source is a constant string. case NDARRAY: strcpy(type,"double[]"); break; data/ngraph-gtk-6.08.00/src/shellcm.c:666:18: [2] (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). Risk is low because the source is a constant string. case NSARRAY: strcpy(type,"char*[]"); break; data/ngraph-gtk-6.08.00/src/shellcm.c:667:18: [2] (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). Risk is low because the source is a constant string. case NENUM: strcpy(type,"enum("); break; data/ngraph-gtk-6.08.00/src/shellcm.c:668:18: [2] (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). Risk is low because the source is a constant string. case NOBJ: strcpy(type,"obj"); break; data/ngraph-gtk-6.08.00/src/shellcm.c:670:18: [2] (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). Risk is low because the source is a constant string. case NLABEL: strcpy(type,"label"); break; data/ngraph-gtk-6.08.00/src/shellcm.c:672:18: [2] (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). Risk is low because the source is a constant string. case NVFUNC: strcpy(type,"void("); break; data/ngraph-gtk-6.08.00/src/shellcm.c:673:18: [2] (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). Risk is low because the source is a constant string. case NBFUNC: strcpy(type,"bool("); break; data/ngraph-gtk-6.08.00/src/shellcm.c:675:18: [2] (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). Risk is low because the source is a constant string. case NCFUNC: strcpy(type,"char("); break; data/ngraph-gtk-6.08.00/src/shellcm.c:677:18: [2] (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). Risk is low because the source is a constant string. case NIFUNC: strcpy(type,"int("); break; data/ngraph-gtk-6.08.00/src/shellcm.c:678:18: [2] (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). Risk is low because the source is a constant string. case NDFUNC: strcpy(type,"double("); break; data/ngraph-gtk-6.08.00/src/shellcm.c:679:18: [2] (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). Risk is low because the source is a constant string. case NSFUNC: strcpy(type,"char*("); break; data/ngraph-gtk-6.08.00/src/shellcm.c:680:18: [2] (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). Risk is low because the source is a constant string. case NIAFUNC: strcpy(type,"int[]("); break; data/ngraph-gtk-6.08.00/src/shellcm.c:681:18: [2] (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). Risk is low because the source is a constant string. case NDAFUNC: strcpy(type,"double[]("); break; data/ngraph-gtk-6.08.00/src/shellcm.c:682:18: [2] (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). Risk is low because the source is a constant string. case NSAFUNC: strcpy(type,"char*[]("); break; data/ngraph-gtk-6.08.00/src/shellcm.c:683:17: [2] (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). Risk is low because the source is a constant string. default: strcpy(type,"unknown"); break; data/ngraph-gtk-6.08.00/src/shellux.c:202:3: [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 *numbufc[20]; data/ngraph-gtk-6.08.00/src/shellux.c:203:3: [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 opbuf[20]; data/ngraph-gtk-6.08.00/src/terminal.c:38:3: [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 *ptr, buf[256] = {0}; data/ngraph-gtk-6.08.00/src/terminal.c:56:9: [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). fdo = open(argv[1], O_WRONLY); data/ngraph-gtk-6.08.00/src/terminal.c:57:9: [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). fdi = open(argv[2], O_RDONLY); data/ngraph-gtk-6.08.00/plugins/ruby.c:60:7: [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). n = strlen(plugin_path); data/ngraph-gtk-6.08.00/plugins/ruby/ngraph.c:52:7: [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). l = strlen(str); data/ngraph-gtk-6.08.00/plugins/ruby/ngraph.c:1775: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). len = strlen(file); data/ngraph-gtk-6.08.00/plugins/ruby/ngraph.c:1797:11: [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). len = strlen(str) + 1; data/ngraph-gtk-6.08.00/src/gettext.h:206: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). size_t msgctxt_len = strlen (msgctxt) + 1; data/ngraph-gtk-6.08.00/src/gettext.h:207:22: [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). size_t msgid_len = strlen (msgid) + 1; data/ngraph-gtk-6.08.00/src/gettext.h:252: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). size_t msgctxt_len = strlen (msgctxt) + 1; data/ngraph-gtk-6.08.00/src/gettext.h:253:22: [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). size_t msgid_len = strlen (msgid) + 1; data/ngraph-gtk-6.08.00/src/gra.c:705:41: [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 ((GRAClist[GC].textfont=g_malloc(strlen(cstr)+1))==NULL) return 0; data/ngraph-gtk-6.08.00/src/gra.c:2336: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). len = strlen(s); data/ngraph-gtk-6.08.00/src/gra.c:2495: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). len = strlen(c); data/ngraph-gtk-6.08.00/src/gra.c:2747: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). len = strlen(s); data/ngraph-gtk-6.08.00/src/gra.c:2810: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). len = strlen(c); data/ngraph-gtk-6.08.00/src/gra.c:3056: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). len = strlen(s); data/ngraph-gtk-6.08.00/src/gra.c:4102: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). if ((bbox->fontalias=g_malloc(strlen(cstr)+1))!=NULL) data/ngraph-gtk-6.08.00/src/gtk/gtk_entry_completion.c:154:38: [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 (comp == NULL || str == NULL || strlen(str) == 0) data/ngraph-gtk-6.08.00/src/gtk/init.c:196: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). len = strlen(s); data/ngraph-gtk-6.08.00/src/gtk/init.c:228: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). len = strlen(mes); data/ngraph-gtk-6.08.00/src/gtk/init.c:236:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). r = read(consolefdin, buf, 1); data/ngraph-gtk-6.08.00/src/gtk/init.c:243:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). r = read(consolefdin, buf, 1); data/ngraph-gtk-6.08.00/src/gtk/init.c:479:23: [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 (write(fdo, buf, strlen(buf) + 1) < 0) { data/ngraph-gtk-6.08.00/src/gtk/init.c:488:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(fdi, ttyname + i, 1) != 1) data/ngraph-gtk-6.08.00/src/gtk/init.c:502:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(fdi, buf + i, 1) != 1) data/ngraph-gtk-6.08.00/src/gtk/init.c:1200: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). len = strlen(member); data/ngraph-gtk-6.08.00/src/gtk/init.c:1231: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). len = strlen(val); data/ngraph-gtk-6.08.00/src/gtk/init.c:1257: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). len = strlen(val); data/ngraph-gtk-6.08.00/src/gtk/init.c:1294: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). len = strlen(val); data/ngraph-gtk-6.08.00/src/gtk/init.c:1374:14: [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). text_len = strlen(text); data/ngraph-gtk-6.08.00/src/gtk/init.c:1408:14: [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). text_len = strlen(text); data/ngraph-gtk-6.08.00/src/gtk/init.c:1520: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). len = strlen(text) + 1; data/ngraph-gtk-6.08.00/src/gtk/ogra2cairo.c:971:7: [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). l = strlen(cstr); data/ngraph-gtk-6.08.00/src/gtk/ogra2emf.c:906:3: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). wcsncpy(id_font.lfFaceName, ustr, LF_FACESIZE - 1); data/ngraph-gtk-6.08.00/src/gtk/sourcecompletionwords.c:75:28: [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). gchar *cur_char = text + strlen (text); data/ngraph-gtk-6.08.00/src/gtk/sourcecompletionwords.c:176: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). ret = words->priv->populate_func(word, strlen(word), &iter); data/ngraph-gtk-6.08.00/src/gtk/x11commn.c:420:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(group3, group, sizeof(group3) - 1); data/ngraph-gtk-6.08.00/src/gtk/x11commn.c:887: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). nwrite(hFile, s, strlen(s)); data/ngraph-gtk-6.08.00/src/gtk/x11commn.c:893: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). nwrite(hFile, s, strlen(s)); data/ngraph-gtk-6.08.00/src/gtk/x11commn.c:945:19: [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). nwrite(hFile, s, strlen(s)); data/ngraph-gtk-6.08.00/src/gtk/x11commn.c:961: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). nwrite(hFile, s, strlen(s)); data/ngraph-gtk-6.08.00/src/gtk/x11commn.c:1016: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). nwrite(hFile, s, strlen(s)); data/ngraph-gtk-6.08.00/src/gtk/x11commn.c:1055:23: [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). nwrite(hFile, s, strlen(s)); data/ngraph-gtk-6.08.00/src/gtk/x11commn.c:1111:10: [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). len = strlen(s); data/ngraph-gtk-6.08.00/src/gtk/x11file.c:1218:13: [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). len = strlen(s); data/ngraph-gtk-6.08.00/src/gtk/x11file.c:2314:7: [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). l = strlen(ifs); data/ngraph-gtk-6.08.00/src/gtk/x11file.c:2404:7: [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). l = strlen(ifs); data/ngraph-gtk-6.08.00/src/gtk/x11graph.c:895:12: [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 (s && strlen(s) > 0) { data/ngraph-gtk-6.08.00/src/gtk/x11gui.c:886: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). if (tmp == NULL || strlen(tmp) < 1) { data/ngraph-gtk-6.08.00/src/gtk/x11gui.c:893:14: [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 = strlen(file) - 1; (i > 0) && (file[i] != '/') && (file[i] != '.'); i--); data/ngraph-gtk-6.08.00/src/gtk/x11gui.c:895:13: [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). len = strlen(data->ext) + 1; data/ngraph-gtk-6.08.00/src/gtk/x11gui.c:992:13: [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). ext_len = strlen(ext); data/ngraph-gtk-6.08.00/src/gtk/x11gui.c:993: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). len = strlen(basename); data/ngraph-gtk-6.08.00/src/gtk/x11menu.c:4441:8: [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(NGRAPH_TEXT_MIME))) { data/ngraph-gtk-6.08.00/src/gtk/x11menu.c:5296: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). len = strlen(s); data/ngraph-gtk-6.08.00/src/gtk/x11menu.c:5311: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). len = strlen(s); data/ngraph-gtk-6.08.00/src/gtk/x11opt.c:220:7: [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). n = strlen(str); data/ngraph-gtk-6.08.00/src/gtk/x11opt.c:325:14: [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 (msg && strlen(buf) == 0) { data/ngraph-gtk-6.08.00/src/gtk/x11opt.c:349:14: [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 (msg && strlen(buf) == 0) { data/ngraph-gtk-6.08.00/src/gtk/x11opt.c:567:7: [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(buf) == 0) { data/ngraph-gtk-6.08.00/src/gtk/x11print.c:98:6: [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). l = strlen(NgraphApp.FileName); data/ngraph-gtk-6.08.00/src/gtk/x11view.c:660:7: [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). l = strlen(str); data/ngraph-gtk-6.08.00/src/ioutil.c:242:23: [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). cwd2 = g_malloc(strlen(cwd) + 2); data/ngraph-gtk-6.08.00/src/ioutil.c:250: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). i=strlen(cwd2); data/ngraph-gtk-6.08.00/src/ioutil.c:267:14: [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 (j=strlen(cwd2); j != i; j--) { data/ngraph-gtk-6.08.00/src/ioutil.c:395:10: [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=strlen(name);(name[i]!='.') && (name[i]!=':') && (i!=0);i--); data/ngraph-gtk-6.08.00/src/ioutil.c:406:13: [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). dir_len = strlen(dir); data/ngraph-gtk-6.08.00/src/ioutil.c:408:26: [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). s = g_malloc(dir_len + strlen(sep) + strlen(file) + 1); data/ngraph-gtk-6.08.00/src/ioutil.c:408:40: [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). s = g_malloc(dir_len + strlen(sep) + strlen(file) + 1); data/ngraph-gtk-6.08.00/src/ioutil.c:469: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). if ((cmdname=g_malloc(strlen(name)+len+2))==NULL) return NULL; data/ngraph-gtk-6.08.00/src/ioutil.c:470:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(cmdname,tok,len); data/ngraph-gtk-6.08.00/src/ioutil.c:486: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 ((cmdname=g_malloc(strlen(name)+1))==NULL) return NULL; data/ngraph-gtk-6.08.00/src/ioutil.c:579:23: [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 ((s=g_malloc(strlen(path)+1))==NULL) return -1; data/ngraph-gtk-6.08.00/src/ioutil.c:588:19: [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). s3 = g_malloc(strlen(path) - i + 1); data/ngraph-gtk-6.08.00/src/ioutil.c:595:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(s1,path,p1); data/ngraph-gtk-6.08.00/src/ioutil.c:597:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(s2,path+p1,i-p1); data/ngraph-gtk-6.08.00/src/ioutil.c:600: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(s1)==0) scannum=nscandir("./",&namelist,nalphasort); data/ngraph-gtk-6.08.00/src/ioutil.c:604:13: [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). len=strlen(namelist[i]); data/ngraph-gtk-6.08.00/src/ioutil.c:605: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). if ((path2=g_malloc(strlen(s1)+len+strlen(s3)+1))!=NULL) { data/ngraph-gtk-6.08.00/src/ioutil.c:605:44: [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 ((path2=g_malloc(strlen(s1)+len+strlen(s3)+1))!=NULL) { data/ngraph-gtk-6.08.00/src/ioutil.c:610: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). if ((s=g_malloc(strlen(path2)+1))!=NULL) { data/ngraph-gtk-6.08.00/src/ioutil.c:655:21: [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 ((s=g_malloc(strlen(path)+1))==NULL) return -1; data/ngraph-gtk-6.08.00/src/ioutil.c:677:8: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ch = fgetc(fp); data/ngraph-gtk-6.08.00/src/ioutil.c:696:7: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ch = fgetc(fp); data/ngraph-gtk-6.08.00/src/ioutil.c:719:12: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ch = fgetc(fp); data/ngraph-gtk-6.08.00/src/ioutil.c:739:10: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ch = fgetc(fp); data/ngraph-gtk-6.08.00/src/ioutil.c:760:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(buf, ptr, len); data/ngraph-gtk-6.08.00/src/ioutil.c:774:8: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ch=fgetc(fp); data/ngraph-gtk-6.08.00/src/ioutil.c:900:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return read(fd,buf,len); data/ngraph-gtk-6.08.00/src/ioutil.c:974: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). len = strlen(path); data/ngraph-gtk-6.08.00/src/ioutil.c:987:15: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). mask_prev = umask(S_IRWXG | S_IRWXO); data/ngraph-gtk-6.08.00/src/ioutil.c:993:3: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). umask(mask_prev); data/ngraph-gtk-6.08.00/src/math/math_error.c:43: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). len = strlen(code); data/ngraph-gtk-6.08.00/src/math/math_parser.c:138: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). } else if (token->data.sym[0] == '_' || strlen(token->data.sym) < 3) { data/ngraph-gtk-6.08.00/src/nconfig.c:421:18: [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). len2 = strlen(data[i]); data/ngraph-gtk-6.08.00/src/nstring.c:53:7: [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). len=strlen(po); data/ngraph-gtk-6.08.00/src/nstring.c:96: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). len = strlen(po); data/ngraph-gtk-6.08.00/src/nstring.c:142:8: [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). len1=strlen(s1); data/ngraph-gtk-6.08.00/src/nstring.c:143:8: [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). len2=strlen(s2); data/ngraph-gtk-6.08.00/src/nstring.c:255:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(po,s2,*len); data/ngraph-gtk-6.08.00/src/nstring.c:340: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). len = strlen(str); data/ngraph-gtk-6.08.00/src/nstring.c:492:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(po,s2,*len); data/ngraph-gtk-6.08.00/src/oaxis.c:631: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). len = strlen(group); data/ngraph-gtk-6.08.00/src/oaxis.c:652:11: [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). len = strlen(group2); data/ngraph-gtk-6.08.00/src/oaxis.c:1976:11: [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). len = strlen(format); data/ngraph-gtk-6.08.00/src/oaxis.c:2093:13: [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). *nlen = strlen(num); data/ngraph-gtk-6.08.00/src/oaxis.c:2492:22: [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). headlen = (head) ? strlen(head) : 0; data/ngraph-gtk-6.08.00/src/object.c:177:5: [1] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source is a constant character. sprintf(errormsg2,"."); data/ngraph-gtk-6.08.00/src/object.c:199:5: [1] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source is a constant character. sprintf(errormsg2,"."); data/ngraph-gtk-6.08.00/src/object.c:3303:23: [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 ((s=g_malloc(strlen(*(char **)po)+1))==NULL) return -1; data/ngraph-gtk-6.08.00/src/object.c:4017:25: [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 (field!=NULL) flen=strlen(field); data/ngraph-gtk-6.08.00/src/object.c:4019:19: [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 ((s=g_malloc(strlen(objname)+strlen(ids)+flen+3))==NULL) data/ngraph-gtk-6.08.00/src/object.c:4019: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). if ((s=g_malloc(strlen(objname)+strlen(ids)+flen+3))==NULL) data/ngraph-gtk-6.08.00/src/object.c:4022:7: [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). len=strlen(s); data/ngraph-gtk-6.08.00/src/object.c:4026: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). len=strlen(s); data/ngraph-gtk-6.08.00/src/object.c:4091: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 ((newlist=g_malloc(strlen(olist)+1))==NULL) return NULL; data/ngraph-gtk-6.08.00/src/object.c:4747:15: [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). len = strlen(list); data/ngraph-gtk-6.08.00/src/object.c:4757:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(s2,s,len); data/ngraph-gtk-6.08.00/src/object.c:4764:23: [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 ((p=g_malloc(strlen(s2)+1))==NULL) goto errexit; data/ngraph-gtk-6.08.00/src/object.c:4789:23: [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 ((p=g_malloc(strlen(s2)+1))==NULL) goto errexit; data/ngraph-gtk-6.08.00/src/object.c:4799:25: [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 ((p=g_malloc(strlen(s2)+1))==NULL) goto errexit; data/ngraph-gtk-6.08.00/src/object.c:4857:11: [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(s2)>1) { data/ngraph-gtk-6.08.00/src/object.c:5335:28: [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). dest2 = (char *) g_malloc(strlen(chkobjectname(dobj)) + 10); data/ngraph-gtk-6.08.00/src/object.c:5429:12: [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). else len=strlen(prefix); data/ngraph-gtk-6.08.00/src/odata.c:2861: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((char *)argv[2])==0) { data/ngraph-gtk-6.08.00/src/odata.c:7279:17: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(buf2,po,po2-po); data/ngraph-gtk-6.08.00/src/odata.c:7299:15: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(buf2,po,po2-po); data/ngraph-gtk-6.08.00/src/odata.c:7528: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). if (strncmp(f2dtypechar[i], po + 2, strlen(f2dtypechar[i])) == 0) { data/ngraph-gtk-6.08.00/src/odata.c:7547:52: [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 (strncmp(intpchar[j], po + 2 + 6, strlen(intpchar[j])) == 0) data/ngraph-gtk-6.08.00/src/odata.c:7555:25: [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). po=po+2+6+strlen(intpchar[j]); data/ngraph-gtk-6.08.00/src/odata.c:7559:21: [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). po=po+2+strlen(f2dtypechar[i]); data/ngraph-gtk-6.08.00/src/odata.c:7714:46: [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 (strncmp(axistypechar[i],po+3,strlen(axistypechar[i]))==0) break; data/ngraph-gtk-6.08.00/src/odata.c:7720:21: [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). po=po+3+strlen(axistypechar[i]); data/ngraph-gtk-6.08.00/src/odata.c:7733:6: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(s,po+3,i-3); data/ngraph-gtk-6.08.00/src/odata.c:8939:7: [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). i = strlen(s); data/ngraph-gtk-6.08.00/src/odata.c:9029:11: [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). len = strlen(fullname) + 256; data/ngraph-gtk-6.08.00/src/odata.c:9524:7: [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). n = strlen(str); data/ngraph-gtk-6.08.00/src/odraw.c:184:26: [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 ((name=g_malloc(strlen(file)+1))==NULL) goto errexit; data/ngraph-gtk-6.08.00/src/oio.c:311:11: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). rcode = fgetc(fp); data/ngraph-gtk-6.08.00/src/oio.c:419: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). len = strlen(buf); data/ngraph-gtk-6.08.00/src/omerge.c:785:23: [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 ((mes=g_malloc(strlen(file)+256))==NULL) { data/ngraph-gtk-6.08.00/src/oprm.c:191:17: [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). s2 = g_malloc(strlen(s) + 200); data/ngraph-gtk-6.08.00/src/oprm.c:350:19: [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 ((m=g_malloc(strlen(math)+100))==NULL) return NULL; data/ngraph-gtk-6.08.00/src/oprm.c:589:21: [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 ((s=g_malloc(strlen(buf)+1))==NULL) goto errexit; data/ngraph-gtk-6.08.00/src/oprm.c:745:10: [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(buf)!=0) && (strcmp(buf,"X")!=0)) { data/ngraph-gtk-6.08.00/src/oprm.c:750:10: [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(buf)!=0) && (strcmp(buf,"Y")!=0)) { data/ngraph-gtk-6.08.00/src/oprm.c:1047:10: [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(buf)!=0) data/ngraph-gtk-6.08.00/src/oprm.c:1078:23: [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 ((s=g_malloc(strlen(fontchar[fff[j]])+1))==NULL) goto errexit; data/ngraph-gtk-6.08.00/src/oprm.c:1096:10: [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(buf)!=0) data/ngraph-gtk-6.08.00/src/oprm.c:1112:23: [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 ((s=g_malloc(strlen(fontchar[fff[2]])+1))==NULL) goto errexit; data/ngraph-gtk-6.08.00/src/oprm.c:1570:23: [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 ((s=g_malloc(strlen(format)+1))==NULL) data/ngraph-gtk-6.08.00/src/oprm.c:1574:23: [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 ((s=g_malloc(strlen(fontchar[fff[3+i]])+1))==NULL) data/ngraph-gtk-6.08.00/src/oprm.c:1672: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(buf)!=0) { data/ngraph-gtk-6.08.00/src/oprm.c:1674:23: [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 ((s=g_malloc(strlen(buf)+1))==NULL) goto errexit; data/ngraph-gtk-6.08.00/src/oprm.c:1703:11: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(filename,buf+1,s2-buf-1); data/ngraph-gtk-6.08.00/src/oroot.c:145:18: [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). buf = g_malloc(strlen(field) + 2 + 20 * num); data/ngraph-gtk-6.08.00/src/osarray.c:114:21: [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 ((buf=g_malloc(strlen(*po)+1))==NULL) return 1; data/ngraph-gtk-6.08.00/src/ostring.c:65:12: [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). byte = strlen(str); data/ngraph-gtk-6.08.00/src/shell.c:395:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). byte=read(stdinfd(),buf,1); data/ngraph-gtk-6.08.00/src/shell.c:400:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). byte=read(stdinfd(),buf,1); data/ngraph-gtk-6.08.00/src/shell.c:486:17: [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). } else if(strlen(str_ptr) > 0) { data/ngraph-gtk-6.08.00/src/shell.c:522:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). byte=read(nshell->fd,buf,1); data/ngraph-gtk-6.08.00/src/shell.c:528:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). byte=read(nshell->fd,buf,1); data/ngraph-gtk-6.08.00/src/shell.c:547: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). len = strlen(localized); data/ngraph-gtk-6.08.00/src/shell.c:574:7: [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). len=strlen(s); data/ngraph-gtk-6.08.00/src/shell.c:972:30: [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 ((valnew->name=g_malloc(strlen(name)+1))==NULL) { data/ngraph-gtk-6.08.00/src/shell.c:976: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). if ((valnew->val=g_malloc(strlen(val)+1))==NULL) { data/ngraph-gtk-6.08.00/src/shell.c:1043:30: [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 ((valnew->name=g_malloc(strlen(name)+1))==NULL) { data/ngraph-gtk-6.08.00/src/shell.c:1047: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). if ((valnew->val=g_malloc(strlen(val)+1))==NULL) { data/ngraph-gtk-6.08.00/src/shell.c:1189: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). if ((valnew->val=g_malloc(strlen(name)+1))==NULL) { data/ngraph-gtk-6.08.00/src/shell.c:1310:30: [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 ((valnew->name=g_malloc(strlen(name)+1))==NULL) { data/ngraph-gtk-6.08.00/src/shell.c:1448:30: [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 ((snew=g_malloc(strlen(prmcur->str)+1))==NULL) { data/ngraph-gtk-6.08.00/src/shell.c:1606:15: [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(tok)!=0) { data/ngraph-gtk-6.08.00/src/shell.c:1666:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(tok,str+*istr,i-*istr); data/ngraph-gtk-6.08.00/src/shell.c:1689:11: [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). l=strlen(prmcur->str); data/ngraph-gtk-6.08.00/src/shell.c:1694:24: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). if (spo!=NULL) strncpy(po+l,spo,len); data/ngraph-gtk-6.08.00/src/shell.c:1711:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(prmcur->str,spo,len); data/ngraph-gtk-6.08.00/src/shell.c:1746:22: [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 ((snew=g_malloc(strlen(s)+num+1))==NULL) return NULL; data/ngraph-gtk-6.08.00/src/shell.c:1766:22: [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 ((snew=g_malloc(strlen(s)+1))==NULL) return NULL; data/ngraph-gtk-6.08.00/src/shell.c:1809:7: [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). len=strlen(po); data/ngraph-gtk-6.08.00/src/shell.c:1821:11: [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(s)!=0) { data/ngraph-gtk-6.08.00/src/shell.c:1854:7: [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). len=strlen(s2); data/ngraph-gtk-6.08.00/src/shell.c:2019:8: [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). n = strlen(sb); data/ngraph-gtk-6.08.00/src/shell.c:2025:18: [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 (j=strlen(sb)-1;(j>=0) && (sb[j]==' ');j--); data/ngraph-gtk-6.08.00/src/shell.c:2053:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(name,po+i+1,j-i-1); data/ngraph-gtk-6.08.00/src/shell.c:2115:11: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(name,po+i+2,j-i-2); data/ngraph-gtk-6.08.00/src/shell.c:2134:13: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(name,po+i+2,j-i-2); data/ngraph-gtk-6.08.00/src/shell.c:2167:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(name,po+i+1,j-i-1); data/ngraph-gtk-6.08.00/src/shell.c:2251:22: [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 (k=strlen(c2);k>=0;k--) { data/ngraph-gtk-6.08.00/src/shell.c:2261:38: [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 (k = 0; k <= (int) strlen(c2); k++) { data/ngraph-gtk-6.08.00/src/shell.c:2271: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 (k > (int) strlen(c2)) { data/ngraph-gtk-6.08.00/src/shell.c:2290:14: [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). len = strlen(c2) - 1; data/ngraph-gtk-6.08.00/src/shell.c:2295:22: [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 (k=strlen(c2);k>=0;k--) { data/ngraph-gtk-6.08.00/src/shell.c:2299: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). if (k<0) k=strlen(c2); data/ngraph-gtk-6.08.00/src/shell.c:2478:26: [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). eoflen=strlen(eof); data/ngraph-gtk-6.08.00/src/shell.c:2542: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). if (strlen(s)!=0) { data/ngraph-gtk-6.08.00/src/shell.c:2558: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). len=strlen(s); data/ngraph-gtk-6.08.00/src/shell.c:2940:10: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. return usleep(ms * 1000); data/ngraph-gtk-6.08.00/src/shell.c:2995:12: [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). len += strlen(args[i]) * 2 + 3; data/ngraph-gtk-6.08.00/src/shell.c:3383: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). if ((str=g_malloc(strlen(prmcur->str)+1))==NULL) goto errexit; data/ngraph-gtk-6.08.00/src/shell.c:3496:6: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(name,prmcur->str,po-prmcur->str); data/ngraph-gtk-6.08.00/src/shell.c:3498: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). if ((val=g_malloc(strlen(prmcur->str)-(po-prmcur->str)))==NULL) { data/ngraph-gtk-6.08.00/src/shell.c:3548:12: [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). len=strlen(valcur->name); data/ngraph-gtk-6.08.00/src/shell.c:3551:28: [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 ((s=g_malloc(len+strlen(val)+2))==NULL) goto errexit; data/ngraph-gtk-6.08.00/src/shell.c:3607: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). len=strlen(s); data/ngraph-gtk-6.08.00/src/shell.c:3665:22: [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 ((s=g_malloc(strlen((nshell->argv)[0])+1))==NULL) data/ngraph-gtk-6.08.00/src/shell.c:3675: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). if ((s=g_malloc(strlen(prmcur->str)+1))==NULL) { data/ngraph-gtk-6.08.00/src/shell.c:3706:19: [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 ((s=g_malloc(strlen((nshell->argv)[0])+1))==NULL) data/ngraph-gtk-6.08.00/src/shell.c:3716:21: [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 ((s=g_malloc(strlen(prmcur->str)+1))==NULL) { data/ngraph-gtk-6.08.00/src/shell.c:3853:13: [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). len+=strlen(prm->str)+1; data/ngraph-gtk-6.08.00/src/shell.c:3861:29: [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. if (prm->next!=NULL) strcat(str," "); data/ngraph-gtk-6.08.00/src/shellcm.c:108:11: [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). len = strlen(bname); data/ngraph-gtk-6.08.00/src/shellcm.c:110:11: [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). len = strlen(bname); data/ngraph-gtk-6.08.00/src/shellcm.c:111:15: [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). ext_len = strlen(argv[2]); data/ngraph-gtk-6.08.00/src/shellcm.c:464:6: [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). n = strlen(argv[j]); data/ngraph-gtk-6.08.00/src/shellcm.c:482:23: [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 ((s=g_malloc(strlen((nshell->argv)[0])+1))==NULL) return ERR; data/ngraph-gtk-6.08.00/src/shellcm.c:490:25: [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 ((s=g_malloc(strlen(argv[j])+1))==NULL) return ERR; data/ngraph-gtk-6.08.00/src/shellux.c:262:23: [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). numbuf[numpo]=strlen(argv[i]); data/ngraph-gtk-6.08.00/src/strconv.c:25:10: [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). slen = strlen(src); data/ngraph-gtk-6.08.00/src/strconv.c:46:11: [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). len = strlen(ch); data/ngraph-gtk-6.08.00/src/strconv.c:72:10: [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). slen = strlen(str); data/ngraph-gtk-6.08.00/src/terminal.c:61:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). n = read(fdi,buf,1); data/ngraph-gtk-6.08.00/src/terminal.c:72: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). len = strlen(ptr) + 1; ANALYSIS SUMMARY: Hits = 833 Lines analyzed = 124007 in approximately 2.73 seconds (45475 lines/second) Physical Source Lines of Code (SLOC) = 104184 Hits@level = [0] 349 [1] 221 [2] 528 [3] 6 [4] 78 [5] 0 Hits@level+ = [0+] 1182 [1+] 833 [2+] 612 [3+] 84 [4+] 78 [5+] 0 Hits/KSLOC@level+ = [0+] 11.3453 [1+] 7.99547 [2+] 5.87422 [3+] 0.806266 [4+] 0.748675 [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.