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/libcdk5-5.0.20190303/histogram.c
Examining data/libcdk5-5.0.20190303/button.c
Examining data/libcdk5-5.0.20190303/view_info.c
Examining data/libcdk5-5.0.20190303/alphalist.c
Examining data/libcdk5-5.0.20190303/cli/cdkdialog.c
Examining data/libcdk5-5.0.20190303/cli/cdkscroll.c
Examining data/libcdk5-5.0.20190303/cli/cdkmentry.c
Examining data/libcdk5-5.0.20190303/cli/cdkalphalist.c
Examining data/libcdk5-5.0.20190303/cli/cdkslider.c
Examining data/libcdk5-5.0.20190303/cli/cdkfselect.c
Examining data/libcdk5-5.0.20190303/cli/cdkentry.c
Examining data/libcdk5-5.0.20190303/cli/cdkcalendar.c
Examining data/libcdk5-5.0.20190303/cli/cdkitemlist.c
Examining data/libcdk5-5.0.20190303/cli/cdklabel.c
Examining data/libcdk5-5.0.20190303/cli/cdkscale.c
Examining data/libcdk5-5.0.20190303/cli/cdkmatrix.c
Examining data/libcdk5-5.0.20190303/cli/cdkselection.c
Examining data/libcdk5-5.0.20190303/cli/cdkviewer.c
Examining data/libcdk5-5.0.20190303/cli/cdkradio.c
Examining data/libcdk5-5.0.20190303/cli/cdktemplate.c
Examining data/libcdk5-5.0.20190303/swindow.c
Examining data/libcdk5-5.0.20190303/template.c
Examining data/libcdk5-5.0.20190303/cdk_display.c
Examining data/libcdk5-5.0.20190303/viewer.c
Examining data/libcdk5-5.0.20190303/select_file.c
Examining data/libcdk5-5.0.20190303/draw.c
Examining data/libcdk5-5.0.20190303/get_index.c
Examining data/libcdk5-5.0.20190303/view_file.c
Examining data/libcdk5-5.0.20190303/label.c
Examining data/libcdk5-5.0.20190303/include/cdk_int.h
Examining data/libcdk5-5.0.20190303/include/dialog.h
Examining data/libcdk5-5.0.20190303/include/binding.h
Examining data/libcdk5-5.0.20190303/include/histogram.h
Examining data/libcdk5-5.0.20190303/include/gen-scale.h
Examining data/libcdk5-5.0.20190303/include/viewer.h
Examining data/libcdk5-5.0.20190303/include/button.h
Examining data/libcdk5-5.0.20190303/include/marquee.h
Examining data/libcdk5-5.0.20190303/include/cdk_test.h
Examining data/libcdk5-5.0.20190303/include/mentry.h
Examining data/libcdk5-5.0.20190303/include/cdk.h
Examining data/libcdk5-5.0.20190303/include/buttonbox.h
Examining data/libcdk5-5.0.20190303/include/cdk_compat.h
Examining data/libcdk5-5.0.20190303/include/fselect.h
Examining data/libcdk5-5.0.20190303/include/entry.h
Examining data/libcdk5-5.0.20190303/include/itemlist.h
Examining data/libcdk5-5.0.20190303/include/cdk_objs.h
Examining data/libcdk5-5.0.20190303/include/alphalist.h
Examining data/libcdk5-5.0.20190303/include/selection.h
Examining data/libcdk5-5.0.20190303/include/scroll.h
Examining data/libcdk5-5.0.20190303/include/traverse.h
Examining data/libcdk5-5.0.20190303/include/template.h
Examining data/libcdk5-5.0.20190303/include/menu.h
Examining data/libcdk5-5.0.20190303/include/gen-slider.h
Examining data/libcdk5-5.0.20190303/include/cdk_params.h
Examining data/libcdk5-5.0.20190303/include/graph.h
Examining data/libcdk5-5.0.20190303/include/curdefs.h
Examining data/libcdk5-5.0.20190303/include/radio.h
Examining data/libcdk5-5.0.20190303/include/draw.h
Examining data/libcdk5-5.0.20190303/include/matrix.h
Examining data/libcdk5-5.0.20190303/include/cdk_util.h
Examining data/libcdk5-5.0.20190303/include/calendar.h
Examining data/libcdk5-5.0.20190303/include/scroller.h
Examining data/libcdk5-5.0.20190303/include/cdkscreen.h
Examining data/libcdk5-5.0.20190303/include/label.h
Examining data/libcdk5-5.0.20190303/include/swindow.h
Examining data/libcdk5-5.0.20190303/entry.c
Examining data/libcdk5-5.0.20190303/debug.c
Examining data/libcdk5-5.0.20190303/examples/viewer_ex2.c
Examining data/libcdk5-5.0.20190303/examples/radio_ex.c
Examining data/libcdk5-5.0.20190303/examples/position_ex.c
Examining data/libcdk5-5.0.20190303/examples/selection_ex.c
Examining data/libcdk5-5.0.20190303/examples/itemlist_ex.c
Examining data/libcdk5-5.0.20190303/examples/hello_ex.c
Examining data/libcdk5-5.0.20190303/examples/label_ex.c
Examining data/libcdk5-5.0.20190303/examples/entry_ex.c
Examining data/libcdk5-5.0.20190303/examples/mentry_ex.c
Examining data/libcdk5-5.0.20190303/examples/cdkscreen_ex.c
Examining data/libcdk5-5.0.20190303/examples/fscale_ex.c
Examining data/libcdk5-5.0.20190303/examples/histogram_ex.c
Examining data/libcdk5-5.0.20190303/examples/radio1_ex.c
Examining data/libcdk5-5.0.20190303/examples/alphalist_ex.c
Examining data/libcdk5-5.0.20190303/examples/raiseCDKObject_ex.c
Examining data/libcdk5-5.0.20190303/examples/scale_ex.c
Examining data/libcdk5-5.0.20190303/examples/lowerCDKObject_ex.c
Examining data/libcdk5-5.0.20190303/examples/fslider_ex.c
Examining data/libcdk5-5.0.20190303/examples/scroll_ex.c
Examining data/libcdk5-5.0.20190303/examples/fselect_ex.c
Examining data/libcdk5-5.0.20190303/examples/graph_ex.c
Examining data/libcdk5-5.0.20190303/examples/menu_ex.c
Examining data/libcdk5-5.0.20190303/examples/traverse_ex.c
Examining data/libcdk5-5.0.20190303/examples/template_ex.c
Examining data/libcdk5-5.0.20190303/examples/swindow_ex.c
Examining data/libcdk5-5.0.20190303/examples/preprocess_ex.c
Examining data/libcdk5-5.0.20190303/examples/slider_ex.c
Examining data/libcdk5-5.0.20190303/examples/mentry_ex2.c
Examining data/libcdk5-5.0.20190303/examples/scroll_ex2.c
Examining data/libcdk5-5.0.20190303/examples/matrix_ex.c
Examining data/libcdk5-5.0.20190303/examples/viewer_ex.c
Examining data/libcdk5-5.0.20190303/examples/bind_ex.c
Examining data/libcdk5-5.0.20190303/examples/uslider_ex.c
Examining data/libcdk5-5.0.20190303/examples/buttonbox_ex.c
Examining data/libcdk5-5.0.20190303/examples/subwindow_ex.c
Examining data/libcdk5-5.0.20190303/examples/marquee_ex.c
Examining data/libcdk5-5.0.20190303/examples/dialog_ex.c
Examining data/libcdk5-5.0.20190303/examples/calendar_ex.c
Examining data/libcdk5-5.0.20190303/buttonbox.c
Examining data/libcdk5-5.0.20190303/traverse.c
Examining data/libcdk5-5.0.20190303/binding.c
Examining data/libcdk5-5.0.20190303/get_string.c
Examining data/libcdk5-5.0.20190303/dialog.c
Examining data/libcdk5-5.0.20190303/graph.c
Examining data/libcdk5-5.0.20190303/cdk.c
Examining data/libcdk5-5.0.20190303/cdkscreen.c
Examining data/libcdk5-5.0.20190303/matrix.c
Examining data/libcdk5-5.0.20190303/gen-scale.c
Examining data/libcdk5-5.0.20190303/c++/cdkscreen.cc
Examining data/libcdk5-5.0.20190303/c++/cdkscreen.h
Examining data/libcdk5-5.0.20190303/cdk_compat.c
Examining data/libcdk5-5.0.20190303/scroller.c
Examining data/libcdk5-5.0.20190303/radio.c
Examining data/libcdk5-5.0.20190303/mentry.c
Examining data/libcdk5-5.0.20190303/menu.c
Examining data/libcdk5-5.0.20190303/version.c
Examining data/libcdk5-5.0.20190303/itemlist.c
Examining data/libcdk5-5.0.20190303/fselect.c
Examining data/libcdk5-5.0.20190303/demos/fileview.c
Examining data/libcdk5-5.0.20190303/demos/rolodex.h
Examining data/libcdk5-5.0.20190303/demos/clock.c
Examining data/libcdk5-5.0.20190303/demos/appointment.c
Examining data/libcdk5-5.0.20190303/demos/rolodex.c
Examining data/libcdk5-5.0.20190303/demos/syb.c
Examining data/libcdk5-5.0.20190303/demos/stopSign.c
Examining data/libcdk5-5.0.20190303/demos/serial.c
Examining data/libcdk5-5.0.20190303/demos/vinstall.c
Examining data/libcdk5-5.0.20190303/demos/command.c
Examining data/libcdk5-5.0.20190303/scroll.c
Examining data/libcdk5-5.0.20190303/marquee.c
Examining data/libcdk5-5.0.20190303/popup_dialog.c
Examining data/libcdk5-5.0.20190303/position.c
Examining data/libcdk5-5.0.20190303/popup_label.c
Examining data/libcdk5-5.0.20190303/cdk_params.c
Examining data/libcdk5-5.0.20190303/calendar.c
Examining data/libcdk5-5.0.20190303/cdk_objs.c
Examining data/libcdk5-5.0.20190303/gen-slider.c
Examining data/libcdk5-5.0.20190303/selection.c

FINAL RESULTS:

data/libcdk5-5.0.20190303/alphalist.c:662: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 (pattern, entry->info);
data/libcdk5-5.0.20190303/alphalist.c:669: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 (pattern + currPos, entry->info + currPos + 1);
data/libcdk5-5.0.20190303/alphalist.c:674: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 (pattern + currPos + 1, entry->info + currPos);
data/libcdk5-5.0.20190303/calendar.c:556:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (temp, "%s %d,", monthName, calendar->day);
data/libcdk5-5.0.20190303/cdk.c:195: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 (newstring, original);
data/libcdk5-5.0.20190303/cdk.c:1364: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 (base, pathname + x + 1);
data/libcdk5-5.0.20190303/cdk_objs.c:207:9:  [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 (result, MARKUP_NEWLINE);
data/libcdk5-5.0.20190303/cdk_objs.c:209:9:  [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 (result, format);
data/libcdk5-5.0.20190303/cdk_objs.c:210:6:  [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 (result, title);
data/libcdk5-5.0.20190303/cli/cdklabel.c:140:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (tempCommand, fmt, (int)(sizeof (tempCommand) - strlen (fmt)), command);
data/libcdk5-5.0.20190303/cli/cdklabel.c:141: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 (tempCommand);
data/libcdk5-5.0.20190303/cli/cdkviewer.c:104:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (tempTitle, "<C>Filename: </U>%s<!U>", filename);
data/libcdk5-5.0.20190303/cli/cdkviewer.c:221:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (temp, "<C>(%s)", filename);
data/libcdk5-5.0.20190303/cli/cdkviewer.c:234:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (temp, "<C>(%s)", filename);
data/libcdk5-5.0.20190303/demos/appointment.c:472:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	 sprintf (temp, " Appointment Type: %s", type);
data/libcdk5-5.0.20190303/demos/appointment.c:476:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	 sprintf (temp, "    %s", appointmentInfo->appointment[x].description);
data/libcdk5-5.0.20190303/demos/command.c:194:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	 sprintf (temp, "Command: </R>%s", command);
data/libcdk5-5.0.20190303/demos/fileview.c:125:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf (vtitle, "<C></B/22>%20s<!22!B>", filename);
data/libcdk5-5.0.20190303/demos/rolodex.c:13:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (target, format, limit, source);
data/libcdk5-5.0.20190303/demos/rolodex.c:482:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf (temp, "%s/%s.phl", GDBMDir, groupList[groupCount].name);
data/libcdk5-5.0.20190303/demos/rolodex.c:769:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (temp, "</B/29>%s (%s)", phoneRecord->name, GLineType[phoneRecord->lineType]);
data/libcdk5-5.0.20190303/demos/rolodex.c:1664:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (command, "lpr -P%s %s", printer, tempFilename);
data/libcdk5-5.0.20190303/demos/rolodex.c:1665: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 (command);
data/libcdk5-5.0.20190303/demos/rolodex.c:1722:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (temp, "%s (%s)", phoneRecord->name, GLineType[phoneRecord->lineType]);
data/libcdk5-5.0.20190303/demos/serial.c:51:4:  [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 (port, DEFAULT_PORT);
data/libcdk5-5.0.20190303/demos/serial.c:66: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 (port, optarg);
data/libcdk5-5.0.20190303/demos/serial.c:86:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf (temp, "<C>Serial Port Monitor (%s)", port);
data/libcdk5-5.0.20190303/demos/serial.c:145:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf (temp, "<C>Serial Port Monitor (%s)", port);
data/libcdk5-5.0.20190303/demos/syb.c:141:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf (temp, "</B/24>[%s] Command >", dsquery);
data/libcdk5-5.0.20190303/demos/syb.c:151:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	 sprintf (temp, "</B/24>[%s] Command >", server);
data/libcdk5-5.0.20190303/demos/syb.c:294:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf (temp, "</R>%d><!R> %s", count+1, command);
data/libcdk5-5.0.20190303/demos/syb.c:323:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf (temp, "</R>%d><!R> %s", count+1, command);
data/libcdk5-5.0.20190303/demos/syb.c:344:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf (temp, "</R>%d><!R> %s", count+1, command);
data/libcdk5-5.0.20190303/demos/syb.c:392:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (temp, "Command: %s", command);
data/libcdk5-5.0.20190303/demos/syb.c:402:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (temp, "Command: %s", command);
data/libcdk5-5.0.20190303/demos/syb.c:413:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf (temp, "Command: %s", command);
data/libcdk5-5.0.20190303/demos/syb.c:415:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf (temp, "Default Database set to %s", GPCurrentDatabase);
data/libcdk5-5.0.20190303/demos/syb.c:514:21:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
      hostAccount = getlogin();
data/libcdk5-5.0.20190303/demos/syb.c:547:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (temp, "\n<C></B/5>%s's Password\n", login);
data/libcdk5-5.0.20190303/demos/syb.c:680:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	 sprintf (row, "%s %s%s", row, colName, temp);
data/libcdk5-5.0.20190303/demos/syb.c:685:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	 sprintf (row, "%s %s", row, colName);
data/libcdk5-5.0.20190303/demos/syb.c:722:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	 sprintf (value, format, (int)object_id);
data/libcdk5-5.0.20190303/demos/syb.c:728:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	 sprintf (value, format, (int)object_id);
data/libcdk5-5.0.20190303/demos/syb.c:734:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	 sprintf (value, format, (int)object_id);
data/libcdk5-5.0.20190303/demos/syb.c:740:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	 sprintf (value, format, object_id);
data/libcdk5-5.0.20190303/demos/syb.c:746:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	 sprintf (value, format, object_id);
data/libcdk5-5.0.20190303/demos/syb.c:768:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	 sprintf  (row, "%s %s%s", row, value, temp);
data/libcdk5-5.0.20190303/demos/syb.c:772:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	 sprintf  (row, "%s %s", row, value);
data/libcdk5-5.0.20190303/demos/syb.c:925:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (temp, "<C>%s", dberrstr);
data/libcdk5-5.0.20190303/demos/syb.c:956:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf (temp, "</R>Message       <!R> %s", mesgText);
data/libcdk5-5.0.20190303/demos/syb.c:1095:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf (filename, "%s/.sybrc", home);
data/libcdk5-5.0.20190303/demos/syb.c:1124:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf (filename, "%s/.sybrc", home);
data/libcdk5-5.0.20190303/demos/vinstall.c:266:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	 sprintf (oldPath, "%s/%s", sourceDir, files[0]);
data/libcdk5-5.0.20190303/demos/vinstall.c:267:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	 sprintf (newPath, "%s/%s", destDir, files[1]);
data/libcdk5-5.0.20190303/demos/vinstall.c:272:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	 sprintf (oldPath, "%s/%s", sourceDir, fileList[x]);
data/libcdk5-5.0.20190303/demos/vinstall.c:273:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	 sprintf (newPath, "%s/%s", destDir, fileList[x]);
data/libcdk5-5.0.20190303/demos/vinstall.c:408:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf (command, "rm -f %s", dest);
data/libcdk5-5.0.20190303/demos/vinstall.c:409:4:  [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 (command);
data/libcdk5-5.0.20190303/demos/vinstall.c:426:4:  [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 (command);
data/libcdk5-5.0.20190303/entry.c:917: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 (entry->info, (char *)ReturnOf (entry));
data/libcdk5-5.0.20190303/entry.c:944: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 ((char *)ReturnOf (entry), entry->info);
data/libcdk5-5.0.20190303/examples/bind_ex.c:120:15:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
	 loginName = getlogin ();
data/libcdk5-5.0.20190303/examples/fselect_ex.c:291:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf (vTitle, "<C></B/21>Filename:<!21></22>%20s<!22!B>", filename);
data/libcdk5-5.0.20190303/examples/marquee_ex.c:45:7:  [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 (startAttr, starting);
data/libcdk5-5.0.20190303/examples/marquee_ex.c:46:7:  [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 (endAttr, ending);
data/libcdk5-5.0.20190303/examples/marquee_ex.c:130:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	 sprintf (message, "%s%s%s (This Space For Rent) ",
data/libcdk5-5.0.20190303/examples/marquee_ex.c:137:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	 sprintf (message, "%s (This Space For Rent) ", currentTime);
data/libcdk5-5.0.20190303/examples/marquee_ex.c:144:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	 sprintf (message, "%s%s%s ", startAttr, mesg, endAttr);
data/libcdk5-5.0.20190303/examples/marquee_ex.c:148:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	 sprintf (message, "%s ", mesg);
data/libcdk5-5.0.20190303/examples/scroll_ex.c:13:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf (result, "%s%d", prefix, ++count);
data/libcdk5-5.0.20190303/examples/viewer_ex.c:124:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (info[0], "<F=%s>", filename);
data/libcdk5-5.0.20190303/examples/viewer_ex.c:142:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf (vTitle, "<C></B/21>Filename:<!21></22>%20s<!22!B>", filename);
data/libcdk5-5.0.20190303/examples/viewer_ex2.c:97:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf (vTitle, "<C></B/21>Filename:<!21></22>%20s<!22!B>", filename);
data/libcdk5-5.0.20190303/fselect.c:1122:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	 sprintf (result, "/%s", filename);
data/libcdk5-5.0.20190303/fselect.c:1124:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	 sprintf (result, "%s/%s", directory, filename);
data/libcdk5-5.0.20190303/fselect.c:1462:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (result, format, trim1Char (temp));
data/libcdk5-5.0.20190303/fselect.c:1472:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (result, format, value);
data/libcdk5-5.0.20190303/fselect.c:1487:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (result, format, s1, s2, s3);
data/libcdk5-5.0.20190303/fselect.c:1496:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (result, format, string);
data/libcdk5-5.0.20190303/fselect.c:1505:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (result, format, string, value);
data/libcdk5-5.0.20190303/gen-scale.c:379:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	  && sscanf (temp, SCANF_FMT, &value, &test) == 2
data/libcdk5-5.0.20190303/gen-scale.c:642:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (temp, format, widget->current);
data/libcdk5-5.0.20190303/gen-slider.c:400:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	  && sscanf (temp, SCANF_FMT, &value, &test) == 2
data/libcdk5-5.0.20190303/gen-slider.c:676:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (temp, format, widget->current);
data/libcdk5-5.0.20190303/gen-slider.c:763:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
   sprintf (temp, format, value);
data/libcdk5-5.0.20190303/matrix.c:745: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 (CurMatrixInfo (widget), GPasteBuffer);
data/libcdk5-5.0.20190303/scroll.c:789:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (*work, NUMBER_FMT, number, value);
data/libcdk5-5.0.20190303/scroll.c:951:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	 sprintf (source, NUMBER_FMT, j + 1, "");
data/libcdk5-5.0.20190303/swindow.c:924:14:  [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 ((ps = popen (command, "r")) != 0)
data/libcdk5-5.0.20190303/swindow.c:956:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf (temp, "<C>(%s)", filename);
data/libcdk5-5.0.20190303/template.c:153:4:  [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 (cdktemplate->plate, plate);
data/libcdk5-5.0.20190303/template.c:470: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 (test, cdktemplate->info);
data/libcdk5-5.0.20190303/template.c:476: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 (test + mark - 1, cdktemplate->info + mark);
data/libcdk5-5.0.20190303/template.c:489: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 (test + mark, cdktemplate->info + mark + 1);
data/libcdk5-5.0.20190303/template.c:502: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 (test + mark + 1, cdktemplate->info + mark + 1);
data/libcdk5-5.0.20190303/template.c:515: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 (cdktemplate->info, test);
data/libcdk5-5.0.20190303/viewer.c:367:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	       sprintf (temp, FOPEN_FMT, filename);
data/libcdk5-5.0.20190303/viewer.c:502:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (temp, "</U/5>Pattern '%s' not found.<!U!5>", pattern);
data/libcdk5-5.0.20190303/cdk_params.c:118:19:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
   while ((code = getopt (argc, argv, options)) != EOF)
data/libcdk5-5.0.20190303/cli/cdkalphalist.c:119:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((temp = getenv ("CDK_SCREEN_COLOR")) != 0)
data/libcdk5-5.0.20190303/cli/cdkalphalist.c:128:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((CDK_WIDGET_COLOR = getenv ("CDK_WIDGET_COLOR")) == 0)
data/libcdk5-5.0.20190303/cli/cdkcalendar.c:85:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((temp = getenv ("CDK_SCREEN_COLOR")) != 0)
data/libcdk5-5.0.20190303/cli/cdkcalendar.c:94:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((CDK_WIDGET_COLOR = getenv ("CDK_WIDGET_COLOR")) == 0)
data/libcdk5-5.0.20190303/cli/cdkdialog.c:117:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((temp = getenv ("CDK_SCREEN_COLOR")) != 0)
data/libcdk5-5.0.20190303/cli/cdkdialog.c:126:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((CDK_WIDGET_COLOR = getenv ("CDK_WIDGET_COLOR")) == 0)
data/libcdk5-5.0.20190303/cli/cdkentry.c:100:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((temp = getenv ("CDK_SCREEN_COLOR")) != 0)
data/libcdk5-5.0.20190303/cli/cdkentry.c:109:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((CDK_WIDGET_COLOR = getenv ("CDK_WIDGET_COLOR")) == 0)
data/libcdk5-5.0.20190303/cli/cdkfselect.c:87:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((temp = getenv ("CDK_SCREEN_COLOR")) != 0)
data/libcdk5-5.0.20190303/cli/cdkfselect.c:96:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((CDK_WIDGET_COLOR = getenv ("CDK_WIDGET_COLOR")) == 0)
data/libcdk5-5.0.20190303/cli/cdkitemlist.c:115:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((temp = getenv ("CDK_SCREEN_COLOR")) != 0)
data/libcdk5-5.0.20190303/cli/cdkitemlist.c:124:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((CDK_WIDGET_COLOR = getenv ("CDK_WIDGET_COLOR")) == 0)
data/libcdk5-5.0.20190303/cli/cdklabel.c:96:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((temp = getenv ("CDK_SCREEN_COLOR")) != 0)
data/libcdk5-5.0.20190303/cli/cdklabel.c:105:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((CDK_WIDGET_COLOR = getenv ("CDK_WIDGET_COLOR")) == 0)
data/libcdk5-5.0.20190303/cli/cdkmatrix.c:158:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((temp = getenv ("CDK_SCREEN_COLOR")) != 0)
data/libcdk5-5.0.20190303/cli/cdkmatrix.c:167:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((CDK_WIDGET_COLOR = getenv ("CDK_WIDGET_COLOR")) == 0)
data/libcdk5-5.0.20190303/cli/cdkmentry.c:102:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((temp = getenv ("CDK_SCREEN_COLOR")) != 0)
data/libcdk5-5.0.20190303/cli/cdkmentry.c:111:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((CDK_WIDGET_COLOR = getenv ("CDK_WIDGET_COLOR")) == 0)
data/libcdk5-5.0.20190303/cli/cdkradio.c:127:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((temp = getenv ("CDK_SCREEN_COLOR")) != 0)
data/libcdk5-5.0.20190303/cli/cdkradio.c:136:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((CDK_WIDGET_COLOR = getenv ("CDK_WIDGET_COLOR")) == 0)
data/libcdk5-5.0.20190303/cli/cdkscale.c:131:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((temp = getenv ("CDK_SCREEN_COLOR")) != 0)
data/libcdk5-5.0.20190303/cli/cdkscale.c:140:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((CDK_WIDGET_COLOR = getenv ("CDK_WIDGET_COLOR")) == 0)
data/libcdk5-5.0.20190303/cli/cdkscroll.c:122:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((temp = getenv ("CDK_SCREEN_COLOR")) != 0)
data/libcdk5-5.0.20190303/cli/cdkscroll.c:131:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((CDK_WIDGET_COLOR = getenv ("CDK_WIDGET_COLOR")) == 0)
data/libcdk5-5.0.20190303/cli/cdkselection.c:179:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((temp = getenv ("CDK_SCREEN_COLOR")) != 0)
data/libcdk5-5.0.20190303/cli/cdkselection.c:188:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((CDK_WIDGET_COLOR = getenv ("CDK_WIDGET_COLOR")) == 0)
data/libcdk5-5.0.20190303/cli/cdkslider.c:132:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((temp = getenv ("CDK_SCREEN_COLOR")) != 0)
data/libcdk5-5.0.20190303/cli/cdkslider.c:141:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((CDK_WIDGET_COLOR = getenv ("CDK_WIDGET_COLOR")) == 0)
data/libcdk5-5.0.20190303/cli/cdktemplate.c:95:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((temp = getenv ("CDK_SCREEN_COLOR")) != 0)
data/libcdk5-5.0.20190303/cli/cdktemplate.c:104:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((CDK_WIDGET_COLOR = getenv ("CDK_WIDGET_COLOR")) == 0)
data/libcdk5-5.0.20190303/cli/cdkviewer.c:114:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((temp = getenv ("CDK_SCREEN_COLOR")) != 0)
data/libcdk5-5.0.20190303/cli/cdkviewer.c:123:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((CDK_WIDGET_COLOR = getenv ("CDK_WIDGET_COLOR")) == 0)
data/libcdk5-5.0.20190303/demos/appointment.c:97:18:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      if ((ret = getopt (argc, argv, "d:m:y:t:f:")) == -1)
data/libcdk5-5.0.20190303/demos/appointment.c:130:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      char *home = getenv ("HOME");
data/libcdk5-5.0.20190303/demos/clock.c:21:18:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
   while ((ret = getopt (argc, argv, "b")) != -1)
data/libcdk5-5.0.20190303/demos/command.c:64:18:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      if ((ret = getopt (argc, argv, "t:p:")) == -1)
data/libcdk5-5.0.20190303/demos/fileview.c:30:17:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      int ret = getopt (argc, argv, "d:f:");
data/libcdk5-5.0.20190303/demos/rolodex.c:89:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   home = getenv ("HOME");
data/libcdk5-5.0.20190303/demos/rolodex.c:1528:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	 defaultPrinter = getenv ("PRINTER");
data/libcdk5-5.0.20190303/demos/serial.c:58:18:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      if ((ret = getopt (argc, argv, "p:h")) == -1)
data/libcdk5-5.0.20190303/demos/syb.c:104:18:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      if ((ret = getopt (argc, argv, "p:U:P:S:h")) == -1)
data/libcdk5-5.0.20190303/demos/syb.c:139:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	 if ((dsquery = getenv ("DSQUERY")) != 0)
data/libcdk5-5.0.20190303/demos/syb.c:1091:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((home = getenv ("HOME")) == 0)
data/libcdk5-5.0.20190303/demos/syb.c:1120:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if ((home = getenv ("HOME")) == 0)
data/libcdk5-5.0.20190303/demos/vinstall.c:57:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      ret = getopt (argc, argv, "d:s:f:t:o:q");
data/libcdk5-5.0.20190303/fselect.c:1572:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	 home = getenv ("HOME");
data/libcdk5-5.0.20190303/calendar.c:509: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 temp[30];
data/libcdk5-5.0.20190303/calendar.c:526:6:  [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 (temp, "%02d", day);
data/libcdk5-5.0.20190303/calendar.c:562: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 (temp, "%d", calendar->year);
data/libcdk5-5.0.20190303/cdk.c:285: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 temp[BUFSIZ];
data/libcdk5-5.0.20190303/cdk.c:290:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   if ((fd = fopen (filename, "r")) == 0)
data/libcdk5-5.0.20190303/cdk.c:389: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 temp[80];
data/libcdk5-5.0.20190303/cdk.c:435:9:  [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 (result, "%d", oldpair);
data/libcdk5-5.0.20190303/cdk.c:440:9:  [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 (result, "%d", newpair);
data/libcdk5-5.0.20190303/cdk.c:1018:6:  [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 (temp, first, need);
data/libcdk5-5.0.20190303/cli/cdkalphalist.c:76:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((fp = fopen (outputFile, "w")) == 0)
data/libcdk5-5.0.20190303/cli/cdkcalendar.c:72:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((fp = fopen (outputFile, "w")) == 0)
data/libcdk5-5.0.20190303/cli/cdkdialog.c:59:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((fp = fopen (outputFile, "w")) == 0)
data/libcdk5-5.0.20190303/cli/cdkentry.c:87:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((fp = fopen (outputFile, "w")) == 0)
data/libcdk5-5.0.20190303/cli/cdkfselect.c:62:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((fp = fopen (outputFile, "w")) == 0)
data/libcdk5-5.0.20190303/cli/cdkitemlist.c:72:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((fp = fopen (outputFile, "w")) == 0)
data/libcdk5-5.0.20190303/cli/cdklabel.c:31: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 tempCommand[1000];
data/libcdk5-5.0.20190303/cli/cdkmatrix.c:87:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((fp = fopen (outputFile, "w")) == 0)
data/libcdk5-5.0.20190303/cli/cdkmatrix.c:127:26:  [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).
      colWidths[x + 1] = atoi (kolTemp[x]);
data/libcdk5-5.0.20190303/cli/cdkmentry.c:89:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((fp = fopen (outputFile, "w")) == 0)
data/libcdk5-5.0.20190303/cli/cdkradio.c:84:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((fp = fopen (outputFile, "w")) == 0)
data/libcdk5-5.0.20190303/cli/cdkscale.c:92:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((fp = fopen (outputFile, "w")) == 0)
data/libcdk5-5.0.20190303/cli/cdkscroll.c:79:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((fp = fopen (outputFile, "w")) == 0)
data/libcdk5-5.0.20190303/cli/cdkselection.c:84:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((fp = fopen (outputFile, "w")) == 0)
data/libcdk5-5.0.20190303/cli/cdkselection.c:129:32:  [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).
	       choiceValues[x] = (int)atoi (items[1]);
data/libcdk5-5.0.20190303/cli/cdkselection.c:137:32:  [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).
	       choiceValues[x] = (int)atoi (items[1]);
data/libcdk5-5.0.20190303/cli/cdkselection.c:138:29:  [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).
	       editModes[x] = (int)atoi (items[2]);
data/libcdk5-5.0.20190303/cli/cdkslider.c:94:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((fp = fopen (outputFile, "w")) == 0)
data/libcdk5-5.0.20190303/cli/cdktemplate.c:82:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((fp = fopen (outputFile, "w")) == 0)
data/libcdk5-5.0.20190303/cli/cdkviewer.c:38: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 tempTitle[256];
data/libcdk5-5.0.20190303/cli/cdkviewer.c:183: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 temp[256];
data/libcdk5-5.0.20190303/cli/cdkviewer.c:184: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.
   const char *mesg[10];
data/libcdk5-5.0.20190303/cli/cdkviewer.c:232: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 (temp, "<C>There were %d lines saved to the file", linesSaved);
data/libcdk5-5.0.20190303/cli/cdkviewer.c:260:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   if ((outputFile = fopen (filename, "w")) == 0)
data/libcdk5-5.0.20190303/debug.c:26:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   return (fopen (filename, "w"));
data/libcdk5-5.0.20190303/demos/appointment.c:105: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).
	 day = atoi (optarg);
data/libcdk5-5.0.20190303/demos/appointment.c:109: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).
	 month = atoi (optarg);
data/libcdk5-5.0.20190303/demos/appointment.c:113:10:  [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).
	 year = atoi (optarg);
data/libcdk5-5.0.20190303/demos/appointment.c:129: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 temp[1000];
data/libcdk5-5.0.20190303/demos/appointment.c:133: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 (temp, "%.*s/.appointment", (int)sizeof (temp) - 20, home);
data/libcdk5-5.0.20190303/demos/appointment.c:137:3:  [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 (temp, ".appointment");
data/libcdk5-5.0.20190303/demos/appointment.c:242:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	 int eType = atoi (temp[3]);
data/libcdk5-5.0.20190303/demos/appointment.c:245:50:  [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).
	 appInfo->appointment[appointments].day       = atoi (temp[0]);
data/libcdk5-5.0.20190303/demos/appointment.c:246:50:  [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).
	 appInfo->appointment[appointments].month     = atoi (temp[1]);
data/libcdk5-5.0.20190303/demos/appointment.c:247:50:  [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).
	 appInfo->appointment[appointments].year      = atoi (temp[2]);
data/libcdk5-5.0.20190303/demos/appointment.c:270:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   if ((fd = fopen (filename, "w")) == 0)
data/libcdk5-5.0.20190303/demos/appointment.c:430: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 *mesg[10], temp[256];
data/libcdk5-5.0.20190303/demos/appointment.c:467: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 (temp, "<C>Appointment Date: %02d/%02d/%d", day, month, year);
data/libcdk5-5.0.20190303/demos/appointment.c:491: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 (temp, "<C>There is no appointment for %02d/%02d/%d",
data/libcdk5-5.0.20190303/demos/clock.c:15: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.
   const char *mesg[4];
data/libcdk5-5.0.20190303/demos/clock.c:16: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 temp[256];
data/libcdk5-5.0.20190303/demos/clock.c:69: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 (temp, "<C></B/29>%02d:%02d:%02d",
data/libcdk5-5.0.20190303/demos/command.c:22: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 *command[MAXHISTORY];
data/libcdk5-5.0.20190303/demos/command.c:51: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 temp[600];
data/libcdk5-5.0.20190303/demos/command.c:382: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.
   const char *mesg[25];
data/libcdk5-5.0.20190303/demos/fileview.c:21: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.
   const char *button[5];
data/libcdk5-5.0.20190303/demos/fileview.c:22: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.
   const char *mesg[4];
data/libcdk5-5.0.20190303/demos/fileview.c:23: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 vtitle[256];
data/libcdk5-5.0.20190303/demos/fileview.c:24: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 temp[256];
data/libcdk5-5.0.20190303/demos/fileview.c:143: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 (temp, "<C>You selected button %d", selected);
data/libcdk5-5.0.20190303/demos/rolodex.c:28: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.
   const char *menulist[MAX_MENU_ITEMS][MAX_SUB_ITEMS];
data/libcdk5-5.0.20190303/demos/rolodex.c:29: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.
   const char *title[5];
data/libcdk5-5.0.20190303/demos/rolodex.c:30: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 *home, temp[MYSIZE];
data/libcdk5-5.0.20190303/demos/rolodex.c:31: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.
   const char *mesg[15];
data/libcdk5-5.0.20190303/demos/rolodex.c:142: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 (temp, "<C></24>There was 1 group loaded from the RC file.");
data/libcdk5-5.0.20190303/demos/rolodex.c:146: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 (temp,
data/libcdk5-5.0.20190303/demos/rolodex.c:296: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 *mesg[5];
data/libcdk5-5.0.20190303/demos/rolodex.c:297: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 temp[MYSIZE];
data/libcdk5-5.0.20190303/demos/rolodex.c:303:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   if ((fd = fopen (filename, "w")) == 0)
data/libcdk5-5.0.20190303/demos/rolodex.c:310: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 (temp, "<C></B/16>Unknown reason.");
data/libcdk5-5.0.20190303/demos/rolodex.c:343: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 (temp, "There was 1 group saved to file");
data/libcdk5-5.0.20190303/demos/rolodex.c:348: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 (temp, "There were %d groups saved to file", groupCount);
data/libcdk5-5.0.20190303/demos/rolodex.c:373: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 *mesg[MAXGROUPS];
data/libcdk5-5.0.20190303/demos/rolodex.c:374: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 temp[MYSIZE];
data/libcdk5-5.0.20190303/demos/rolodex.c:419: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.
   const char *mesg[4];
data/libcdk5-5.0.20190303/demos/rolodex.c:422: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 temp[MYSIZE];
data/libcdk5-5.0.20190303/demos/rolodex.c:501: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 *mesg[6], temp[MYSIZE];
data/libcdk5-5.0.20190303/demos/rolodex.c:504:4:  [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 (temp, "<C></U>Rolodex Statistics");
data/libcdk5-5.0.20190303/demos/rolodex.c:508:4:  [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 (temp, "</B/5>Group Count          <!B!5> </U>%d<!U>", groupCount);
data/libcdk5-5.0.20190303/demos/rolodex.c:572: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 *filename, *mesg[10];
data/libcdk5-5.0.20190303/demos/rolodex.c:610: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 temp[MYSIZE];
data/libcdk5-5.0.20190303/demos/rolodex.c:709: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 *Index[MAX_ITEMS];
data/libcdk5-5.0.20190303/demos/rolodex.c:710: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.
   const char *title[3];
data/libcdk5-5.0.20190303/demos/rolodex.c:711: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.
   const char *mesg[3];
data/libcdk5-5.0.20190303/demos/rolodex.c:712: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 temp[MYSIZE];
data/libcdk5-5.0.20190303/demos/rolodex.c:869:19:  [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).
	    int myType = atoi (items[1]);
data/libcdk5-5.0.20190303/demos/rolodex.c:909:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   if ((fd = fopen (filename, "w")) == 0)
data/libcdk5-5.0.20190303/demos/rolodex.c:961: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 *mesg[10], temp[MYSIZE];
data/libcdk5-5.0.20190303/demos/rolodex.c:1044: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.
   const char *mesg[15];
data/libcdk5-5.0.20190303/demos/rolodex.c:1070: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 *mesg[10];
data/libcdk5-5.0.20190303/demos/rolodex.c:1071: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.
   const char *buttons[5];
data/libcdk5-5.0.20190303/demos/rolodex.c:1072: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 temp[MYSIZE];
data/libcdk5-5.0.20190303/demos/rolodex.c:1153: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.
   const char *titleMesg[3];
data/libcdk5-5.0.20190303/demos/rolodex.c:1154: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 *types[GLINETYPECOUNT];
data/libcdk5-5.0.20190303/demos/rolodex.c:1155: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 temp[MYSIZE];
data/libcdk5-5.0.20190303/demos/rolodex.c:1229: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.
   const char *buttons[5];
data/libcdk5-5.0.20190303/demos/rolodex.c:1230: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.
   const char *mesg[15];
data/libcdk5-5.0.20190303/demos/rolodex.c:1359: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.
   const char *buttons[5];
data/libcdk5-5.0.20190303/demos/rolodex.c:1360: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.
   const char *mesg[15];
data/libcdk5-5.0.20190303/demos/rolodex.c:1458: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 *itemList[MAX_ITEMS], *mesg[10], temp[MYSIZE];
data/libcdk5-5.0.20190303/demos/rolodex.c:1604: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 tempFilename[MYSIZE];
data/libcdk5-5.0.20190303/demos/rolodex.c:1619: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 (tempFilename, "/tmp/rolodex.%d", (int)uid);
data/libcdk5-5.0.20190303/demos/rolodex.c:1623:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   if ((fd = fopen (tempFilename, "a+")) == 0)
data/libcdk5-5.0.20190303/demos/rolodex.c:1662: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 command[MYSIZE * 4];
data/libcdk5-5.0.20190303/demos/rolodex.c:1714: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 temp[MYSIZE];
data/libcdk5-5.0.20190303/demos/rolodex.c:1740: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.
   const char *mesg[3];
data/libcdk5-5.0.20190303/demos/rolodex.c:1741: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 temp[MYSIZE], *hold;
data/libcdk5-5.0.20190303/demos/rolodex.c:1803: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 *mesg[10], temp[100];
data/libcdk5-5.0.20190303/demos/rolodex.c:1806:4:  [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 (temp, "<C></R>Rolodex Phone Editor");
data/libcdk5-5.0.20190303/demos/rolodex.c:1809:4:  [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 (temp, "<B=i     > Inserts a new phone entry.");
data/libcdk5-5.0.20190303/demos/rolodex.c:1812:4:  [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 (temp, "<B=d     > Deletes the currently selected phone entry.");
data/libcdk5-5.0.20190303/demos/rolodex.c:1815:4:  [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 (temp, "<B=Escape> Exits the scrolling list.");
data/libcdk5-5.0.20190303/demos/rolodex.c:1818:4:  [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 (temp, "<B=?     > Pops up this help window.");
data/libcdk5-5.0.20190303/demos/rolodex.c:1839: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.
   const char *mesg[20];
data/libcdk5-5.0.20190303/demos/rolodex.c:1842: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 temp[100];
data/libcdk5-5.0.20190303/demos/rolodex.c:1915: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 *mesg[5];
data/libcdk5-5.0.20190303/demos/rolodex.c:1916: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 temp[100];
data/libcdk5-5.0.20190303/demos/serial.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 port[256];
data/libcdk5-5.0.20190303/demos/serial.c:47: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 *info[256], temp[256];
data/libcdk5-5.0.20190303/demos/serial.c:106: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 ((LFD = open (port, O_RDONLY | O_NDELAY, 0)) == -1)
data/libcdk5-5.0.20190303/demos/serial.c:142: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 *info[256], temp[256];
data/libcdk5-5.0.20190303/demos/stopSign.c:15: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.
   const char *mesg[5];
data/libcdk5-5.0.20190303/demos/stopSign.c:16: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.
   const char *sign[4];
data/libcdk5-5.0.20190303/demos/syb.c:92: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 *mesg[5], temp[1000];
data/libcdk5-5.0.20190303/demos/syb.c:288:6:  [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 (command, "select * from sysobjects where type = 'U'");
data/libcdk5-5.0.20190303/demos/syb.c:370: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 temp[256];
data/libcdk5-5.0.20190303/demos/syb.c:429: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 *mesg[5];
data/libcdk5-5.0.20190303/demos/syb.c:498: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 *mesg[10], temp[256];
data/libcdk5-5.0.20190303/demos/syb.c:659: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 temp[MAXWIDTH];
data/libcdk5-5.0.20190303/demos/syb.c:660: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 row[MAXWIDTH];
data/libcdk5-5.0.20190303/demos/syb.c:701: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 value[MAXWIDTH];
data/libcdk5-5.0.20190303/demos/syb.c:702: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 temp[MAXWIDTH];
data/libcdk5-5.0.20190303/demos/syb.c:703: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 row[MAXWIDTH];
data/libcdk5-5.0.20190303/demos/syb.c:704: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 format[20];
data/libcdk5-5.0.20190303/demos/syb.c:721: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 (format, "%%-%dd", colWidth);
data/libcdk5-5.0.20190303/demos/syb.c:727: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 (format, "%%-%dd", colWidth);
data/libcdk5-5.0.20190303/demos/syb.c:733: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 (format, "%%-%dd", colWidth);
data/libcdk5-5.0.20190303/demos/syb.c:739: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 (format, "%%-%d.2f", colWidth);
data/libcdk5-5.0.20190303/demos/syb.c:745: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 (format, "%%-%d.2f", colWidth);
data/libcdk5-5.0.20190303/demos/syb.c:831: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 *mesg[10];
data/libcdk5-5.0.20190303/demos/syb.c:850: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 *mesg[25];
data/libcdk5-5.0.20190303/demos/syb.c:910: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 *mesg[10], temp[256];
data/libcdk5-5.0.20190303/demos/syb.c:946: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 *mesg[10], temp[256];
data/libcdk5-5.0.20190303/demos/syb.c:950:4:  [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 (temp, "</R>Message Number<!R> %ld", mesgNumber);
data/libcdk5-5.0.20190303/demos/syb.c:952:4:  [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 (temp, "</R>State         <!R> %d", mesgState);
data/libcdk5-5.0.20190303/demos/syb.c:954:4:  [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 (temp, "</R>Severity      <!R> %d", severity);
data/libcdk5-5.0.20190303/demos/syb.c:1088: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 filename[1000];
data/libcdk5-5.0.20190303/demos/syb.c:1116: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 filename[1000];
data/libcdk5-5.0.20190303/demos/syb.c:1127:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   if ((fd = fopen (filename, "w")) == 0)
data/libcdk5-5.0.20190303/demos/vinstall.c:48: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 *titleMessage[10];
data/libcdk5-5.0.20190303/demos/vinstall.c:50: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.
   const char *mesg[20];
data/libcdk5-5.0.20190303/demos/vinstall.c:51: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 oldPath[512], newPath[512], temp[2000];
data/libcdk5-5.0.20190303/demos/vinstall.c:123: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 (temp, "<C></32/B>CDK Installer");
data/libcdk5-5.0.20190303/demos/vinstall.c:127: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 (temp, "<C></32/B>%.256s", title);
data/libcdk5-5.0.20190303/demos/vinstall.c:281: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 (temp,
data/libcdk5-5.0.20190303/demos/vinstall.c:287: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 (temp,
data/libcdk5-5.0.20190303/demos/vinstall.c:293: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 (temp, "</24>%.256s -> %.256s", oldPath, newPath);
data/libcdk5-5.0.20190303/demos/vinstall.c:394: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 command[MYSIZE * 5];
data/libcdk5-5.0.20190303/demos/vinstall.c:398:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   if ((fd = fopen (src, "r")) == 0)
data/libcdk5-5.0.20190303/demos/vinstall.c:412:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   if ((fd = fopen (dest, "w")) == 0)
data/libcdk5-5.0.20190303/demos/vinstall.c:424:4:  [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 (command, "rm -f %.*s; cp %.*s %.*s; chmod 444 %.*s",
data/libcdk5-5.0.20190303/demos/vinstall.c:442: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 temp[512];
data/libcdk5-5.0.20190303/demos/vinstall.c:455: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.
	 const char *mesg[10];
data/libcdk5-5.0.20190303/demos/vinstall.c:456: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 *error[10];
data/libcdk5-5.0.20190303/demos/vinstall.c:460: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 (temp, "<C>%.256s", directory);
data/libcdk5-5.0.20190303/demos/vinstall.c:479:9:  [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 (temp, "<C>%.256s", directory);
data/libcdk5-5.0.20190303/demos/vinstall.c:483:9:  [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 (temp, "<C>%.256s", strerror (errno));
data/libcdk5-5.0.20190303/demos/vinstall.c:485:9:  [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 (temp, "<C>Check the permissions and try again.");
data/libcdk5-5.0.20190303/entry.c:920: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 (entry->info, "%d", *((int *)ReturnOf (entry)));
data/libcdk5-5.0.20190303/entry.c:923: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 (entry->info, "%g", *((float *)ReturnOf (entry)));
data/libcdk5-5.0.20190303/entry.c:926: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 (entry->info, "%g", *((double *)ReturnOf (entry)));
data/libcdk5-5.0.20190303/entry.c:947:32:  [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).
	 *((int *)ReturnOf (entry)) = atoi (entry->info);
data/libcdk5-5.0.20190303/examples/alphalist_ex.c:204: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.
   const char *mesg[5];
data/libcdk5-5.0.20190303/examples/alphalist_ex.c:205: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 temp[256];
data/libcdk5-5.0.20190303/examples/alphalist_ex.c:278: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 (temp, "<C>(%.*s)", (int)(sizeof (temp) - 10), word);
data/libcdk5-5.0.20190303/examples/bind_ex.c:15: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.
   const char *mesg[5];
data/libcdk5-5.0.20190303/examples/bind_ex.c:53: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.
   const char	*buttons[40];
data/libcdk5-5.0.20190303/examples/bind_ex.c:54: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.
   const char	*message[40];
data/libcdk5-5.0.20190303/examples/bind_ex.c:55: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.
   const char	*info[5];
data/libcdk5-5.0.20190303/examples/bind_ex.c:57: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		temp[256];
data/libcdk5-5.0.20190303/examples/bind_ex.c:124:6:  [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 (temp, "<C></R>Unknown");
data/libcdk5-5.0.20190303/examples/bind_ex.c:128:6:  [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 (temp, "<C><%.*s>", (int)(sizeof (temp) - 10), loginName);
data/libcdk5-5.0.20190303/examples/bind_ex.c:137: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 (temp, "<C>%2d:%02d:%02d",
data/libcdk5-5.0.20190303/examples/bind_ex.c:149: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 (temp, "<C>%d/%02d/%02d",
data/libcdk5-5.0.20190303/examples/calendar_ex.c:20: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.
   const char *mesg[5];
data/libcdk5-5.0.20190303/examples/calendar_ex.c:21: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 temp[256];
data/libcdk5-5.0.20190303/examples/calendar_ex.c:100: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 (temp, "<C></B/16>%02d/%02d/%d (dd/mm/yyyy)",
data/libcdk5-5.0.20190303/examples/cdkscreen_ex.c:22: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.
   const char *title1Mesg[4];
data/libcdk5-5.0.20190303/examples/cdkscreen_ex.c:23: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.
   const char *title2Mesg[4];
data/libcdk5-5.0.20190303/examples/cdkscreen_ex.c:24: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.
   const char *title3Mesg[4];
data/libcdk5-5.0.20190303/examples/cdkscreen_ex.c:25: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.
   const char *title4Mesg[4];
data/libcdk5-5.0.20190303/examples/cdkscreen_ex.c:26: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.
   const char *dialogMesg[10];
data/libcdk5-5.0.20190303/examples/dialog_ex.c:19: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.
   const char *message[10];
data/libcdk5-5.0.20190303/examples/dialog_ex.c:20: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.
   const char *mesg[3];
data/libcdk5-5.0.20190303/examples/dialog_ex.c:21: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 temp[100];
data/libcdk5-5.0.20190303/examples/dialog_ex.c:77: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 (temp, "<C>You selected button #%d", selection);
data/libcdk5-5.0.20190303/examples/entry_ex.c:22: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.
   const char *mesg[10];
data/libcdk5-5.0.20190303/examples/entry_ex.c:23: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 temp[256];
data/libcdk5-5.0.20190303/examples/entry_ex.c:82: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 (temp, "<C>(%.*s)", (int)(sizeof (temp) - 10), info);
data/libcdk5-5.0.20190303/examples/fscale_ex.c:29: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 temp[256];
data/libcdk5-5.0.20190303/examples/fscale_ex.c:30: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.
   const char *mesg[5];
data/libcdk5-5.0.20190303/examples/fscale_ex.c:84: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 (temp, "<C>You selected %f", selection);
data/libcdk5-5.0.20190303/examples/fselect_ex.c:180: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.
   const char *button[5];
data/libcdk5-5.0.20190303/examples/fselect_ex.c:181: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.
   const char *mesg[4];
data/libcdk5-5.0.20190303/examples/fselect_ex.c:183: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 vTitle[256];
data/libcdk5-5.0.20190303/examples/fselect_ex.c:184: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 temp[256];
data/libcdk5-5.0.20190303/examples/fselect_ex.c:314: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 (temp, "<C>You selected button %d", selected);
data/libcdk5-5.0.20190303/examples/fslider_ex.c:19: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 temp[256];
data/libcdk5-5.0.20190303/examples/fslider_ex.c:20: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.
   const char *mesg[5];
data/libcdk5-5.0.20190303/examples/fslider_ex.c:90: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 (temp, "<C>You selected %.*f", digits, selection);
data/libcdk5-5.0.20190303/examples/graph_ex.c:19: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.
   const char *mesg[2];
data/libcdk5-5.0.20190303/examples/hello_ex.c:13: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.
   const char *mesg[4];
data/libcdk5-5.0.20190303/examples/itemlist_ex.c:24: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.
   const char *info[MONTHS];
data/libcdk5-5.0.20190303/examples/itemlist_ex.c:25: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.
   const char *mesg[10];
data/libcdk5-5.0.20190303/examples/itemlist_ex.c:26: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 temp[256];
data/libcdk5-5.0.20190303/examples/itemlist_ex.c:108: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 (temp, "<C>You selected the %dth item which is", choice);
data/libcdk5-5.0.20190303/examples/label_ex.c:13: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.
   const char *mesg[10];
data/libcdk5-5.0.20190303/examples/lowerCDKObject_ex.c:13: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.
   const char *mesg[1];
data/libcdk5-5.0.20190303/examples/lowerCDKObject_ex.c:14: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.
   const char *mesg1[10];
data/libcdk5-5.0.20190303/examples/lowerCDKObject_ex.c:15: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.
   const char *mesg2[10];
data/libcdk5-5.0.20190303/examples/marquee_ex.c:9: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 startAttr[100];
data/libcdk5-5.0.20190303/examples/marquee_ex.c:10: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 endAttr[100];
data/libcdk5-5.0.20190303/examples/marquee_ex.c:35: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 starting[3];
data/libcdk5-5.0.20190303/examples/marquee_ex.c:36: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 ending[3];
data/libcdk5-5.0.20190303/examples/marquee_ex.c:43: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 (starting, "/%c", upper);
data/libcdk5-5.0.20190303/examples/marquee_ex.c:44: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 (ending, "!%c", upper);
data/libcdk5-5.0.20190303/examples/marquee_ex.c:55: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		message[1024];
data/libcdk5-5.0.20190303/examples/matrix_ex.c:28: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.
   const char *coltitle[MY_COLS];
data/libcdk5-5.0.20190303/examples/matrix_ex.c:29: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.
   const char *rowtitle[MY_COLS];
data/libcdk5-5.0.20190303/examples/matrix_ex.c:30: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.
   const char *mesg[MY_COLS];
data/libcdk5-5.0.20190303/examples/matrix_ex.c:129: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 temp[80];
data/libcdk5-5.0.20190303/examples/matrix_ex.c:131: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 (temp, "Current cell (%d,%d)", courseList->crow, courseList->ccol);
data/libcdk5-5.0.20190303/examples/menu_ex.c:12: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.
static const char *menulist[MAX_MENU_ITEMS][MAX_SUB_ITEMS];
data/libcdk5-5.0.20190303/examples/menu_ex.c:13: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.
static const char *menuInfo[3][4] =
data/libcdk5-5.0.20190303/examples/menu_ex.c:44: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.
   const char *mesg[5];
data/libcdk5-5.0.20190303/examples/menu_ex.c:45: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 temp[256];
data/libcdk5-5.0.20190303/examples/menu_ex.c:108: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 (temp, "<C>You selected menu #%d, submenu #%d",
data/libcdk5-5.0.20190303/examples/menu_ex.c:135: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 *mesg[10];
data/libcdk5-5.0.20190303/examples/menu_ex.c:136: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 temp[256];
data/libcdk5-5.0.20190303/examples/menu_ex.c:139:4:  [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 (temp, "Title: %.*s",
data/libcdk5-5.0.20190303/examples/menu_ex.c:143:4:  [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 (temp, "Sub-Title: %.*s",
data/libcdk5-5.0.20190303/examples/menu_ex.c:148:4:  [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 (temp, "<C>%.*s",
data/libcdk5-5.0.20190303/examples/position_ex.c:19: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.
   const char *mesg[10];
data/libcdk5-5.0.20190303/examples/position_ex.c:20: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 temp[256];
data/libcdk5-5.0.20190303/examples/position_ex.c:70: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 (temp, "<C>(%.*s)", (int)(sizeof (temp) - 20), info);
data/libcdk5-5.0.20190303/examples/preprocess_ex.c:21: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.
   const char *mesg[10];
data/libcdk5-5.0.20190303/examples/preprocess_ex.c:22: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 temp[256];
data/libcdk5-5.0.20190303/examples/preprocess_ex.c:61: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 (temp, "<C>(%.*s)", (int)(sizeof (temp) - 20), info);
data/libcdk5-5.0.20190303/examples/preprocess_ex.c:92: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.
      const char *mesg[5];
data/libcdk5-5.0.20190303/examples/radio1_ex.c:16: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.
   const char *item[5] =
data/libcdk5-5.0.20190303/examples/radio1_ex.c:22: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.
   const char *mesg[5];
data/libcdk5-5.0.20190303/examples/radio1_ex.c:23: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 temp[100];
data/libcdk5-5.0.20190303/examples/radio1_ex.c:76: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 (temp, "<C>%.*s", (int)(sizeof (temp) - 20), item[selection]);
data/libcdk5-5.0.20190303/examples/radio_ex.c:25: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.
   const char *mesg[5];
data/libcdk5-5.0.20190303/examples/radio_ex.c:26: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 temp[256];
data/libcdk5-5.0.20190303/examples/radio_ex.c:104:6:  [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 (temp, "<C>%.*s", (int)(sizeof (temp) - 20), item[selection]);
data/libcdk5-5.0.20190303/examples/radio_ex.c:121:6:  [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 (temp, "<C>%.*s", (int)(sizeof (temp) - 20), item[selection]);
data/libcdk5-5.0.20190303/examples/raiseCDKObject_ex.c:15: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.
   const char *mesg[1];
data/libcdk5-5.0.20190303/examples/raiseCDKObject_ex.c:16: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.
   const char *mesg1[10];
data/libcdk5-5.0.20190303/examples/raiseCDKObject_ex.c:17: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.
   const char *mesg2[10];
data/libcdk5-5.0.20190303/examples/raiseCDKObject_ex.c:18: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.
   const char *mesg3[10];
data/libcdk5-5.0.20190303/examples/raiseCDKObject_ex.c:19: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.
   const char *mesg4[10];
data/libcdk5-5.0.20190303/examples/scale_ex.c:19: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 temp[256];
data/libcdk5-5.0.20190303/examples/scale_ex.c:20: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.
   const char *mesg[5];
data/libcdk5-5.0.20190303/examples/scale_ex.c:74: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 (temp, "<C>You selected %d", selection);
data/libcdk5-5.0.20190303/examples/scroll_ex.c:12: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.
   static char result[80];
data/libcdk5-5.0.20190303/examples/scroll_ex.c:71: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.
   const char *mesg[5];
data/libcdk5-5.0.20190303/examples/scroll_ex.c:72: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 temp[256];
data/libcdk5-5.0.20190303/examples/scroll_ex.c:163: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 (temp, "<C>%.*s", (int)(sizeof (temp) - 20), theItem);
data/libcdk5-5.0.20190303/examples/selection_ex.c:33: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 temp[256];
data/libcdk5-5.0.20190303/examples/selection_ex.c:34: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.
   const char *mesg[200];
data/libcdk5-5.0.20190303/examples/selection_ex.c:64: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.
      const char *list[2];
data/libcdk5-5.0.20190303/examples/selection_ex.c:81: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.
      const char *list[2];
data/libcdk5-5.0.20190303/examples/selection_ex.c:151:6:  [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 (temp, "<C></5>%.*s", (int)(sizeof (temp) - 20), item[x]);
data/libcdk5-5.0.20190303/examples/slider_ex.c:19: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 temp[256];
data/libcdk5-5.0.20190303/examples/slider_ex.c:20: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.
   const char *mesg[5];
data/libcdk5-5.0.20190303/examples/slider_ex.c:74: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 (temp, "<C>You selected %d", selection);
data/libcdk5-5.0.20190303/examples/subwindow_ex.c:28: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.
   const char *mesg[5];
data/libcdk5-5.0.20190303/examples/swindow_ex.c:22: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.
   const char *mesg[5];
data/libcdk5-5.0.20190303/examples/template_ex.c:23: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 temp[256];
data/libcdk5-5.0.20190303/examples/template_ex.c:24: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.
   const char *mesg[5];
data/libcdk5-5.0.20190303/examples/template_ex.c:75: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 (temp, "Phone Number with out plate mixing  : %.*s",
data/libcdk5-5.0.20190303/examples/template_ex.c:79: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 (temp, "Phone Number with the plate mixed in: %.*s",
data/libcdk5-5.0.20190303/examples/traverse_ex.c:277: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.
   const char *coltitle[NUMCOLS + 1];
data/libcdk5-5.0.20190303/examples/traverse_ex.c:278: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.
   const char *rowtitle[NUMROWS + 1];
data/libcdk5-5.0.20190303/examples/traverse_ex.c:279: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 temp[80];
data/libcdk5-5.0.20190303/examples/traverse_ex.c:291: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 (temp, "row%d", n);
data/libcdk5-5.0.20190303/examples/traverse_ex.c:296: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 (temp, "col%d", n);
data/libcdk5-5.0.20190303/examples/traverse_ex.c:426: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 temp[80];
data/libcdk5-5.0.20190303/examples/traverse_ex.c:427: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 (temp, "Line %d", n);
data/libcdk5-5.0.20190303/examples/traverse_ex.c:486: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.
   static const char *button[1] =
data/libcdk5-5.0.20190303/examples/traverse_ex.c:693: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.
   const char *mesg[3];
data/libcdk5-5.0.20190303/examples/traverse_ex.c:694: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.
   static const char *menulist[MAX_MENU_ITEMS][MAX_SUB_ITEMS] =
data/libcdk5-5.0.20190303/examples/uslider_ex.c:17: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 title[256];
data/libcdk5-5.0.20190303/examples/uslider_ex.c:19: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.
   const char *mesg[5];
data/libcdk5-5.0.20190303/examples/uslider_ex.c:20: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 temp[256];
data/libcdk5-5.0.20190303/examples/uslider_ex.c:34:4:  [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 (title, "<C></U>Enter a value:\nLow  %#x\nHigh %#x", low, high);
data/libcdk5-5.0.20190303/examples/uslider_ex.c:77: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 (temp, "<C>You selected %u", selection);
data/libcdk5-5.0.20190303/examples/viewer_ex.c:19: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.
   const char *button[5];
data/libcdk5-5.0.20190303/examples/viewer_ex.c:20: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 vTitle[256];
data/libcdk5-5.0.20190303/examples/viewer_ex.c:21: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.
   const char *mesg[4];
data/libcdk5-5.0.20190303/examples/viewer_ex.c:22: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 temp[256];
data/libcdk5-5.0.20190303/examples/viewer_ex.c:165: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 (temp, "<C>You selected button %d", selected);
data/libcdk5-5.0.20190303/examples/viewer_ex2.c:17: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.
   const char *button[5];
data/libcdk5-5.0.20190303/examples/viewer_ex2.c:18: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 vTitle[256];
data/libcdk5-5.0.20190303/examples/viewer_ex2.c:19: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.
   const char *mesg[4];
data/libcdk5-5.0.20190303/examples/viewer_ex2.c:20: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 temp[256];
data/libcdk5-5.0.20190303/examples/viewer_ex2.c:105:4:  [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 (temp, "<C>You selected button %d", selected);
data/libcdk5-5.0.20190303/fselect.c:508: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 *mesg[10];
data/libcdk5-5.0.20190303/fselect.c:1023: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 *mesg[10];
data/libcdk5-5.0.20190303/fselect.c:1024: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 stringMode[15];
data/libcdk5-5.0.20190303/fselect.c:1334: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 *mesg[10], *filename;
data/libcdk5-5.0.20190303/fselect.c:1594: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 buffer[512];
data/libcdk5-5.0.20190303/gen-scale.c:632: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 temp[256];
data/libcdk5-5.0.20190303/gen-scale.c:639: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 format[256];
data/libcdk5-5.0.20190303/gen-scale.c:641: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 (format, "%%.%i<PRINT>", digits);
data/libcdk5-5.0.20190303/gen-scale.c:646:4:  [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 (temp, "%<PRINT>", widget->current);
data/libcdk5-5.0.20190303/gen-slider.c:655: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 temp[256];
data/libcdk5-5.0.20190303/gen-slider.c:673: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 format[256];
data/libcdk5-5.0.20190303/gen-slider.c:675: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 (format, "%%.%i<PRINT>", digits);
data/libcdk5-5.0.20190303/gen-slider.c:680:4:  [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 (temp, "%<PRINT>", widget->current);
data/libcdk5-5.0.20190303/gen-slider.c:758: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 temp[256];
data/libcdk5-5.0.20190303/gen-slider.c:760: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 format[256];
data/libcdk5-5.0.20190303/gen-slider.c:762:4:  [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 (format, "%%.%i<PRINT>", digits);
data/libcdk5-5.0.20190303/gen-slider.c:767:4:  [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 (temp, "%<PRINT>", value);
data/libcdk5-5.0.20190303/graph.c:396: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 temp[100];
data/libcdk5-5.0.20190303/graph.c:437:4:  [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 (temp, "%d", widget->maxx);
data/libcdk5-5.0.20190303/graph.c:449:4:  [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 (temp, "%d", widget->minx);
data/libcdk5-5.0.20190303/graph.c:474:4:  [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 (temp, "%d", widget->count);
data/libcdk5-5.0.20190303/histogram.c:169: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 string[100];
data/libcdk5-5.0.20190303/histogram.c:183:6:  [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 (string, "%d", widget->low);
data/libcdk5-5.0.20190303/histogram.c:190:6:  [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 (string, "%d", widget->high);
data/libcdk5-5.0.20190303/histogram.c:198:9:  [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 (string, "%3.1f%%", (float)(widget->percent * 100));
data/libcdk5-5.0.20190303/histogram.c:202:9:  [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 (string, "%d/%d", widget->value, widget->high);
data/libcdk5-5.0.20190303/histogram.c:206:9:  [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 (string, "%d", widget->value);
data/libcdk5-5.0.20190303/histogram.c:222:6:  [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 (string, "%d", widget->low);
data/libcdk5-5.0.20190303/histogram.c:229:6:  [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 (string, "%d", widget->high);
data/libcdk5-5.0.20190303/histogram.c:237:9:  [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 (string, "%3.2f%%", (float)(widget->percent * 100));
data/libcdk5-5.0.20190303/histogram.c:241:9:  [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 (string, "%d/%d", widget->value, widget->high);
data/libcdk5-5.0.20190303/histogram.c:245:9:  [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 (string, "%d", widget->value);
data/libcdk5-5.0.20190303/histogram.c:263:6:  [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 (string, "%d", widget->low);
data/libcdk5-5.0.20190303/histogram.c:270:6:  [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 (string, "%d", widget->high);
data/libcdk5-5.0.20190303/histogram.c:278:9:  [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 (string, "%3.2f%%", (float)(widget->percent * 100));
data/libcdk5-5.0.20190303/histogram.c:282:9:  [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 (string, "%d/%d", widget->value, widget->high);
data/libcdk5-5.0.20190303/histogram.c:286:9:  [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 (string, "%d", widget->value);
data/libcdk5-5.0.20190303/histogram.c:308:6:  [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 (string, "%d", widget->low);
data/libcdk5-5.0.20190303/histogram.c:314:6:  [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 (string, "%d", widget->high);
data/libcdk5-5.0.20190303/histogram.c:323:9:  [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 (string, "%3.1f%%", (float)(widget->percent * 100));
data/libcdk5-5.0.20190303/histogram.c:327:9:  [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 (string, "%d/%d", widget->value, widget->high);
data/libcdk5-5.0.20190303/histogram.c:331:9:  [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 (string, "%d", widget->value);
data/libcdk5-5.0.20190303/histogram.c:347:6:  [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 (string, "%d", widget->low);
data/libcdk5-5.0.20190303/histogram.c:355:6:  [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 (string, "%d", widget->high);
data/libcdk5-5.0.20190303/histogram.c:366:9:  [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 (string, "%3.1f%%", (float)(widget->percent * 100));
data/libcdk5-5.0.20190303/histogram.c:370:9:  [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 (string, "%d/%d", widget->value, widget->high);
data/libcdk5-5.0.20190303/histogram.c:374:9:  [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 (string, "%d", widget->value);
data/libcdk5-5.0.20190303/histogram.c:392:6:  [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 (string, "%d", widget->low);
data/libcdk5-5.0.20190303/histogram.c:398:6:  [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 (string, "%d", widget->high);
data/libcdk5-5.0.20190303/histogram.c:407:9:  [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 (string, "%3.1f%%", (float)(widget->percent * 100));
data/libcdk5-5.0.20190303/histogram.c:411:9:  [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 (string, "%d/%d", widget->value, widget->high);
data/libcdk5-5.0.20190303/histogram.c:415:9:  [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 (string, "%d", widget->value);
data/libcdk5-5.0.20190303/include/calendar.h:101: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 *	MonthName[MAX_MONTHS];
data/libcdk5-5.0.20190303/include/cdk_params.h:74: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 *	allParams[MAX_CDK_PARAMS];
data/libcdk5-5.0.20190303/include/matrix.h:92: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 *	info[CELL_LIMIT];
data/libcdk5-5.0.20190303/menu.c:22: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.
		     const char *menulist[MAX_MENU_ITEMS][MAX_SUB_ITEMS],
data/libcdk5-5.0.20190303/scroll.c:948: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 source[80];
data/libcdk5-5.0.20190303/swindow.c:926: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 temp[BUFSIZ];
data/libcdk5-5.0.20190303/swindow.c:950: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 *mesg[10];
data/libcdk5-5.0.20190303/swindow.c:989: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.
      const char *mesg[10];
data/libcdk5-5.0.20190303/swindow.c:1017: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 temp[256];
data/libcdk5-5.0.20190303/swindow.c:1020: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 (temp, "<C>There were %d lines saved to the file", linesSaved);
data/libcdk5-5.0.20190303/swindow.c:1042: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.
   const char *mesg[15];
data/libcdk5-5.0.20190303/swindow.c:1083: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.
      const char *button[5];
data/libcdk5-5.0.20190303/swindow.c:1146:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   if ((outputFile = fopen (filename, "w")) == 0)
data/libcdk5-5.0.20190303/viewer.c:293: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 filename[CDK_PATHMAX + 2];
data/libcdk5-5.0.20190303/viewer.c:513: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 *fileInfo[10];
data/libcdk5-5.0.20190303/viewer.c:515: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 temp[500];
data/libcdk5-5.0.20190303/viewer.c:521:4:  [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 (temp, "</5>      </U>File Statistics<!U>     <!5>");
data/libcdk5-5.0.20190303/viewer.c:523:4:  [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 (temp, "</5>                          <!5>");
data/libcdk5-5.0.20190303/viewer.c:525:4:  [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 (temp, "</5/R>Character Count:<!R> %-4ld     <!5>", widget->characters);
data/libcdk5-5.0.20190303/viewer.c:527:4:  [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 (temp, "</5/R>Line Count     :<!R> %-4d     <!5>", widget->listSize);
data/libcdk5-5.0.20190303/viewer.c:529:4:  [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 (temp, "</5>                          <!5>");
data/libcdk5-5.0.20190303/viewer.c:531:4:  [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 (temp, "<C></5>Press Any Key To Continue.<!5>");
data/libcdk5-5.0.20190303/viewer.c:751:9:  [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 (temp, "</5>There is no pattern in the buffer.<!5>");
data/libcdk5-5.0.20190303/viewer.c:1170: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 temp[256];
data/libcdk5-5.0.20190303/viewer.c:1175:3:  [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 (temp, "processing...");
data/libcdk5-5.0.20190303/viewer.c:1179: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 (temp, "%d/%d %2.0f%%",
data/libcdk5-5.0.20190303/viewer.c:1187: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 (temp, "%d/%d %2.0f%%", 0, 0, 0.0);
data/libcdk5-5.0.20190303/alphalist.c:636: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).
			      ? (int)strlen (entry->info)
data/libcdk5-5.0.20190303/alphalist.c:682:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      else if (strlen (pattern) == 0)
data/libcdk5-5.0.20190303/alphalist.c:756: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).
   wordLength = (int)strlen (entry->info);
data/libcdk5-5.0.20190303/calendar.c:462: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).
   int headerLen = (int)strlen (calendar->DayName);
data/libcdk5-5.0.20190303/calendar.c:558: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).
		 temp, HORIZONTAL, 0, (int)strlen (temp));
data/libcdk5-5.0.20190303/calendar.c:563: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).
      yearLen = (int)strlen (temp);
data/libcdk5-5.0.20190303/cdk.c:194:43:  [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 ((newstring = typeMallocN (char, strlen (original) + 1)) != 0)
data/libcdk5-5.0.20190303/cdk.c:297: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).
      size_t len = strlen (temp);
data/libcdk5-5.0.20190303/cdk.c:442:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    result += strlen (result);
data/libcdk5-5.0.20190303/cdk.c:474: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).
      int len = (int)strlen (string);
data/libcdk5-5.0.20190303/cdk.c:949: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).
       && (stringLength = strlen (string)) != 0)
data/libcdk5-5.0.20190303/cdk.c:970: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).
	 stringLength = strlen (string);
data/libcdk5-5.0.20190303/cdk.c:1273: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).
      size_t len = strlen (pattern);
data/libcdk5-5.0.20190303/cdk.c:1318: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 = (int)strlen (line);
data/libcdk5-5.0.20190303/cdk.c:1355: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 ((pathLen = strlen (pathname)) != 0)
data/libcdk5-5.0.20190303/cdk.c:1385: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).
       && (pathLen = strlen (pathname)) != 0)
data/libcdk5-5.0.20190303/cdk_objs.c:99: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).
   size_t need = strlen (MARKUP_NEWLINE);
data/libcdk5-5.0.20190303/cdk_objs.c:192: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).
	 need += strlen (title);
data/libcdk5-5.0.20190303/cdk_objs.c:203: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).
	    need += strlen (format);
data/libcdk5-5.0.20190303/cli/cdklabel.c:140:63:  [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).
      sprintf (tempCommand, fmt, (int)(sizeof (tempCommand) - strlen (fmt)), command);
data/libcdk5-5.0.20190303/demos/command.c:422: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).
   length = (int)strlen (word);
data/libcdk5-5.0.20190303/demos/rolodex.c:11:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   int limit = MYSIZE - (int)(strlen (format) + strlen (source));
data/libcdk5-5.0.20190303/demos/rolodex.c:11:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   int limit = MYSIZE - (int)(strlen (format) + strlen (source));
data/libcdk5-5.0.20190303/demos/rolodex.c:658: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 (lines[x]) != 0 && lines[x][0] != '#')
data/libcdk5-5.0.20190303/demos/syb.c:179: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).
   width	= COLS - strlen (prompt) - 1;
data/libcdk5-5.0.20190303/demos/syb.c:381: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 (words[x]) != 0)
data/libcdk5-5.0.20190303/demos/syb.c:558:3:  [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(password) == 0))
data/libcdk5-5.0.20190303/demos/syb.c:670: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).
      colNameLen	= strlen (colName);
data/libcdk5-5.0.20190303/demos/syb.c:752:6:  [1] (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 character.
	    strcpy (value, " ");
data/libcdk5-5.0.20190303/demos/syb.c:758:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy (value, dataValue, valueLen);
data/libcdk5-5.0.20190303/demos/syb.c:786: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).
   int colNameLen	= strlen(colName);
data/libcdk5-5.0.20190303/demos/syb.c:882: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).
   int length	= strlen (word);
data/libcdk5-5.0.20190303/entry.c:225: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).
   stringLen = (int)strlen (entry->info);
data/libcdk5-5.0.20190303/entry.c:283: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).
	 int infoLength = (int)strlen (widget->info);
data/libcdk5-5.0.20190303/entry.c:563: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).
       ((int)strlen (entry->info) >= entry->max))
data/libcdk5-5.0.20190303/entry.c:574: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).
	 for (x = (int)strlen (entry->info);
data/libcdk5-5.0.20190303/entry.c:586: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).
	 size_t temp = strlen (entry->info);
data/libcdk5-5.0.20190303/entry.c:670: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).
      int infoLength = (int)strlen (entry->info);
data/libcdk5-5.0.20190303/entry.c:774:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	 int copychars = MINIMUM ((int)strlen (newValue), entry->max);
data/libcdk5-5.0.20190303/entry.c:778:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	 strncpy (entry->info, newValue, (unsigned)copychars);
data/libcdk5-5.0.20190303/entry.c:929: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).
      entry->screenCol = strlen (entry->info);
data/libcdk5-5.0.20190303/examples/marquee_ex.c:85:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      strcat (startAttr, ">");
data/libcdk5-5.0.20190303/examples/marquee_ex.c:86:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      strcat (endAttr, ">");
data/libcdk5-5.0.20190303/examples/marquee_ex.c:125: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).
      currentTime[strlen (currentTime) - 1] = 0;
data/libcdk5-5.0.20190303/examples/marquee_ex.c:129: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).
	 currentTime[strlen (currentTime) - 1] = '\0';
data/libcdk5-5.0.20190303/examples/mentry_ex2.c:63: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 (widget->info) > 1)
data/libcdk5-5.0.20190303/examples/traverse_ex.c:298: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).
      colwidth[n] = (int)strlen (temp);
data/libcdk5-5.0.20190303/examples/viewer_ex.c:123:37:  [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).
      info[0] = (char *)malloc (5 + strlen (filename));
data/libcdk5-5.0.20190303/fselect.c:1113: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).
   size_t need = strlen (filename) + 2;
data/libcdk5-5.0.20190303/fselect.c:1118: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).
      need += strlen (directory);
data/libcdk5-5.0.20190303/fselect.c:1173: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).
       (filenameLen = strlen (filename)) == 0)
data/libcdk5-5.0.20190303/fselect.c:1450: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 ((len = strlen (source)) != 0)
data/libcdk5-5.0.20190303/fselect.c:1460:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if ((result = (char *)malloc (strlen (format) + strlen (temp) + 1)) != 0)
data/libcdk5-5.0.20190303/fselect.c:1460: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 ((result = (char *)malloc (strlen (format) + strlen (temp) + 1)) != 0)
data/libcdk5-5.0.20190303/fselect.c:1471:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if ((result = (char *)malloc (strlen (format) + 20)) != 0)
data/libcdk5-5.0.20190303/fselect.c:1483:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if ((result = (char *)malloc (strlen (format) +
data/libcdk5-5.0.20190303/fselect.c:1484: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).
				 strlen (s1) +
data/libcdk5-5.0.20190303/fselect.c:1485: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).
				 strlen (s2) +
data/libcdk5-5.0.20190303/fselect.c:1486: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).
				 strlen (s3))) != 0)
data/libcdk5-5.0.20190303/fselect.c:1495:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if ((result = (char *)malloc (strlen (format) + strlen (string))) != 0)
data/libcdk5-5.0.20190303/fselect.c:1495: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 ((result = (char *)malloc (strlen (format) + strlen (string))) != 0)
data/libcdk5-5.0.20190303/fselect.c:1504:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if ((result = (char *)malloc (strlen (format) + strlen (string) + 20)) != 0)
data/libcdk5-5.0.20190303/fselect.c:1504: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 ((result = (char *)malloc (strlen (format) + strlen (string) + 20)) != 0)
data/libcdk5-5.0.20190303/fselect.c:1532: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).
       (len = (int)strlen (filename)) != 0 &&
data/libcdk5-5.0.20190303/fselect.c:1565: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 (account) != 0 &&
data/libcdk5-5.0.20190303/fselect.c:1597:7:  [1] (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 character.
      strcpy (buffer, ".");
data/libcdk5-5.0.20190303/gen-scale.c:361:7:  [1] (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 character.
      strcpy (temp + need, " ");
data/libcdk5-5.0.20190303/gen-scale.c:649:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    widget->fieldWidth - (int)strlen (temp) - 1,
data/libcdk5-5.0.20190303/gen-scale.c:655: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).
		    (int)strlen (temp));
data/libcdk5-5.0.20190303/gen-slider.c:382:7:  [1] (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 character.
      strcpy (temp + need, " ");
data/libcdk5-5.0.20190303/gen-slider.c:689: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).
		    (int)strlen (temp));
data/libcdk5-5.0.20190303/gen-slider.c:769: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).
   return (int) strlen (temp);
data/libcdk5-5.0.20190303/get_index.c:35: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).
      int temp = (int)strlen (list[x]) + 10;
data/libcdk5-5.0.20190303/get_index.c:40: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).
      len = (int)strlen (title);
data/libcdk5-5.0.20190303/graph.c:438: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 = (int)strlen (temp);
data/libcdk5-5.0.20190303/graph.c:450: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 = (int)strlen (temp);
data/libcdk5-5.0.20190303/graph.c:475: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 = (int)strlen (temp);
data/libcdk5-5.0.20190303/graph.c:486:4:  [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 (temp, "0");
data/libcdk5-5.0.20190303/graph.c:494: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).
		    (int)strlen (temp));
data/libcdk5-5.0.20190303/histogram.c:184:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    len                = (int)strlen (string);
data/libcdk5-5.0.20190303/histogram.c:208: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).
	    len = (int)strlen (string);
data/libcdk5-5.0.20190303/histogram.c:223:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    len                = (int)strlen (string);
data/libcdk5-5.0.20190303/histogram.c:248:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    len                = (int)strlen (string);
data/libcdk5-5.0.20190303/histogram.c:264:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    len                = (int)strlen (string);
data/libcdk5-5.0.20190303/histogram.c:289:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    len                = (int)strlen (string);
data/libcdk5-5.0.20190303/histogram.c:315:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    len                = (int)strlen (string);
data/libcdk5-5.0.20190303/histogram.c:334:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    len                = (int)strlen (string);
data/libcdk5-5.0.20190303/histogram.c:356:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    len                = (int)strlen (string);
data/libcdk5-5.0.20190303/histogram.c:377:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    len                = (int)strlen (string);
data/libcdk5-5.0.20190303/histogram.c:399:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    len                = (int)strlen (string);
data/libcdk5-5.0.20190303/histogram.c:597: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).
	 int len = (int)strlen (widget->lowString);
data/libcdk5-5.0.20190303/histogram.c:610: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).
	 int len = (int)strlen (widget->curString);
data/libcdk5-5.0.20190303/histogram.c:623: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).
	 int len = (int)strlen (widget->highString);
data/libcdk5-5.0.20190303/marquee.c:132: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).
   padding = (mesg[strlen (mesg) - 1] == ' ') ? 0 : 1;
data/libcdk5-5.0.20190303/matrix.c:440: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).
   int charcount     = (int)strlen (MATRIX_INFO (widget, widget->row, widget->col));
data/libcdk5-5.0.20190303/matrix.c:457: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).
	     (int)strlen (MATRIX_INFO (widget, widget->row, widget->col)) + 1);
data/libcdk5-5.0.20190303/matrix.c:739: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).
		(int)strlen (GPasteBuffer) > widget->colwidths[widget->ccol])
data/libcdk5-5.0.20190303/matrix.c:870: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).
	       int infolen = (int)strlen (CurMatrixInfo (widget));
data/libcdk5-5.0.20190303/matrix.c:910: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).
   int charcount = (int)strlen (MATRIX_INFO (matrix, matrix->row, matrix->col));
data/libcdk5-5.0.20190303/matrix.c:925: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).
	     (int)strlen (MATRIX_INFO (matrix, matrix->row, matrix->col)) + 1);
data/libcdk5-5.0.20190303/matrix.c:947:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   int infolen           = (int)strlen (MATRIX_INFO (matrix, matrix->row, matrix->col));
data/libcdk5-5.0.20190303/matrix.c:1052:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   int infolen          = (int)strlen (MATRIX_INFO (matrix, vrow, vcol));
data/libcdk5-5.0.20190303/matrix.c:1445:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	       strncpy (MATRIX_INFO (matrix, x, y),
data/libcdk5-5.0.20190303/matrix.c:1717:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (MATRIX_INFO (matrix, row, col),
data/libcdk5-5.0.20190303/mentry.c:322: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).
	 int infoLength = (int)strlen (widget->info);
data/libcdk5-5.0.20190303/mentry.c:654: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).
   length = (int)strlen (mentry->info);
data/libcdk5-5.0.20190303/mentry.c:702: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).
   int infoLength = (int)strlen (mentry->info);
data/libcdk5-5.0.20190303/mentry.c:871: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 = (int)strlen (newValue);
data/libcdk5-5.0.20190303/mentry.c:876:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (mentry->info, newValue, (size_t) copychars);
data/libcdk5-5.0.20190303/scroll.c:21: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).
#define NUMBER_LEN(s)   (8 + strlen (s))
data/libcdk5-5.0.20190303/swindow.c:931:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	 size_t len = strlen (temp);
data/libcdk5-5.0.20190303/swindow.c:951: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).
   char *temp = (char *)malloc (80 + strlen (filename));
data/libcdk5-5.0.20190303/template.c:52: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).
   fieldWidth = (int)strlen (plate) + 2 * BorderOf (cdktemplate);
data/libcdk5-5.0.20190303/template.c:137:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   cdktemplate->plateLen = (int)strlen (plate);
data/libcdk5-5.0.20190303/template.c:146: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).
   plateLen = (int)strlen (plate);
data/libcdk5-5.0.20190303/template.c:269: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 (widget->info) != 0)
data/libcdk5-5.0.20190303/template.c:277: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 ((int)strlen (widget->info) != 0)
data/libcdk5-5.0.20190303/template.c:291: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 ((int)strlen (widget->info) != 0)
data/libcdk5-5.0.20190303/template.c:310: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).
	       length = (int)strlen (GPasteBuffer);
data/libcdk5-5.0.20190303/template.c:325: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 ((int)strlen (widget->info) < (int)widget->min)
data/libcdk5-5.0.20190303/template.c:438: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).
   size_t have = strlen (cdktemplate->info);
data/libcdk5-5.0.20190303/template.c:577:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   int infolen          = (int)strlen (info);
data/libcdk5-5.0.20190303/template.c:685:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   int infolen          = (int)strlen (cdktemplate->info);
data/libcdk5-5.0.20190303/template.c:835: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 = (int)strlen (newValue);
data/libcdk5-5.0.20190303/template.c:840:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (cdktemplate->info, newValue, (size_t) copychars);
data/libcdk5-5.0.20190303/viewer.c:219: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).
      int len = (int)strlen (list);
data/libcdk5-5.0.20190303/viewer.c:366:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	       char *temp = (char *)malloc (80 + strlen (filename));
data/libcdk5-5.0.20190303/viewer.c:499: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).
      char *temp = (char *)malloc (80 + strlen (pattern));
data/libcdk5-5.0.20190303/viewer.c:850: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 ((list != 0) && (strlen (list) != 0))
data/libcdk5-5.0.20190303/viewer.c:869:37:  [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 (pattern != 0 && (plen = (int)strlen (pattern)) != 0)
data/libcdk5-5.0.20190303/viewer.c:1197: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).
	  || TitlePosOf (viewer)[0] < ((int)strlen (temp) + 2))
data/libcdk5-5.0.20190303/viewer.c:1202: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).
		 temp, HORIZONTAL, 0, (int)strlen (temp));

ANALYSIS SUMMARY:

Hits = 663
Lines analyzed = 48482 in approximately 1.77 seconds (27387 lines/second)
Physical Source Lines of Code (SLOC) = 32681
Hits@level = [0] 171 [1] 132 [2] 386 [3]  47 [4]  98 [5]   0
Hits@level+ = [0+] 834 [1+] 663 [2+] 531 [3+] 145 [4+]  98 [5+]   0
Hits/KSLOC@level+ = [0+] 25.5194 [1+] 20.287 [2+] 16.248 [3+] 4.43683 [4+] 2.99868 [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.