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/acm-6.0+20200416/src/acm/players.h
Examining data/acm-6.0+20200416/src/acm/weapon.c
Examining data/acm-6.0+20200416/src/acm/drone.h
Examining data/acm-6.0+20200416/src/acm/planes.h
Examining data/acm-6.0+20200416/src/acm/aps.c
Examining data/acm-6.0+20200416/src/acm/ccip.c
Examining data/acm-6.0+20200416/src/acm/runway.h
Examining data/acm-6.0+20200416/src/acm/terrain.h
Examining data/acm-6.0+20200416/src/acm/weapon.h
Examining data/acm-6.0+20200416/src/acm/events.h
Examining data/acm-6.0+20200416/src/acm/instruments.h
Examining data/acm-6.0+20200416/src/acm/inventory.h
Examining data/acm-6.0+20200416/src/acm/astro.c
Examining data/acm-6.0+20200416/src/acm/dis_if.c
Examining data/acm-6.0+20200416/src/acm/vpath_gallery.h
Examining data/acm-6.0+20200416/src/acm/windows.h
Examining data/acm-6.0+20200416/src/acm/effects.c
Examining data/acm-6.0+20200416/src/acm/planes.c
Examining data/acm-6.0+20200416/src/acm/place.h
Examining data/acm-6.0+20200416/src/acm/missile.h
Examining data/acm-6.0+20200416/src/acm/aps.h
Examining data/acm-6.0+20200416/src/acm/init.h
Examining data/acm-6.0+20200416/src/acm/missile.c
Examining data/acm-6.0+20200416/src/acm/instruments.c
Examining data/acm-6.0+20200416/src/acm/place.c
Examining data/acm-6.0+20200416/src/acm/joystick.h
Examining data/acm-6.0+20200416/src/acm/scale.c
Examining data/acm-6.0+20200416/src/acm/alarm.h
Examining data/acm-6.0+20200416/src/acm/interpolate.h
Examining data/acm-6.0+20200416/src/acm/render.h
Examining data/acm-6.0+20200416/src/acm/flaps.c
Examining data/acm-6.0+20200416/src/acm/hsi.c
Examining data/acm-6.0+20200416/src/acm/radar.h
Examining data/acm-6.0+20200416/src/acm/effects.h
Examining data/acm-6.0+20200416/src/acm/damage.c
Examining data/acm-6.0+20200416/src/acm/hud.h
Examining data/acm-6.0+20200416/src/acm/draw.h
Examining data/acm-6.0+20200416/src/acm/flaps.h
Examining data/acm-6.0+20200416/src/acm/drone.c
Examining data/acm-6.0+20200416/src/acm/windows.c
Examining data/acm-6.0+20200416/src/acm/panel.c
Examining data/acm-6.0+20200416/src/acm/magnetic_compass.h
Examining data/acm-6.0+20200416/src/acm/prompt.h
Examining data/acm-6.0+20200416/src/acm/manifest.h
Examining data/acm-6.0+20200416/src/acm/magnetic_compass.c
Examining data/acm-6.0+20200416/src/acm/weapon_null.h
Examining data/acm-6.0+20200416/src/acm/scale.h
Examining data/acm-6.0+20200416/src/acm/patchlevel.c
Examining data/acm-6.0+20200416/src/acm/hsi.h
Examining data/acm-6.0+20200416/src/acm/gear.h
Examining data/acm-6.0+20200416/src/acm/vpath.h
Examining data/acm-6.0+20200416/src/acm/sounds.h
Examining data/acm-6.0+20200416/src/acm/m61a1.h
Examining data/acm-6.0+20200416/src/acm/navaid.h
Examining data/acm-6.0+20200416/src/acm/render.c
Examining data/acm-6.0+20200416/src/acm/commands.h
Examining data/acm-6.0+20200416/src/acm/zones.h
Examining data/acm-6.0+20200416/src/acm/aim9m.h
Examining data/acm-6.0+20200416/src/acm/zone.c
Examining data/acm-6.0+20200416/src/acm/aim120.c
Examining data/acm-6.0+20200416/src/acm/panel.h
Examining data/acm-6.0+20200416/src/acm/patchlevel.h
Examining data/acm-6.0+20200416/src/acm/browse.h
Examining data/acm-6.0+20200416/src/acm/vpath.c
Examining data/acm-6.0+20200416/src/acm/alarm.c
Examining data/acm-6.0+20200416/src/acm/pm.h
Examining data/acm-6.0+20200416/src/acm/commands.c
Examining data/acm-6.0+20200416/src/acm/m61a1.c
Examining data/acm-6.0+20200416/src/acm/dis_if.h
Examining data/acm-6.0+20200416/src/acm/adf.c
Examining data/acm-6.0+20200416/src/acm/events.c
Examining data/acm-6.0+20200416/src/acm/terminal.c
Examining data/acm-6.0+20200416/src/acm/viewer.h
Examining data/acm-6.0+20200416/src/acm/list.h
Examining data/acm-6.0+20200416/src/acm/damage.h
Examining data/acm-6.0+20200416/src/acm/update.h
Examining data/acm-6.0+20200416/src/acm/terrain.c
Examining data/acm-6.0+20200416/src/acm/mouse.c
Examining data/acm-6.0+20200416/src/acm/update.c
Examining data/acm-6.0+20200416/src/acm/air.c
Examining data/acm-6.0+20200416/src/acm/radar.c
Examining data/acm-6.0+20200416/src/acm/joystick.c
Examining data/acm-6.0+20200416/src/acm/manifest.c
Examining data/acm-6.0+20200416/src/acm/zones.c
Examining data/acm-6.0+20200416/src/acm/astro.h
Examining data/acm-6.0+20200416/src/acm/aim9m.c
Examining data/acm-6.0+20200416/src/acm/weapon_null.c
Examining data/acm-6.0+20200416/src/acm/prompt.c
Examining data/acm-6.0+20200416/src/acm/list.c
Examining data/acm-6.0+20200416/src/acm/adf.h
Examining data/acm-6.0+20200416/src/acm/aim120.h
Examining data/acm-6.0+20200416/src/acm/interpolate.c
Examining data/acm-6.0+20200416/src/acm/viewer.c
Examining data/acm-6.0+20200416/src/acm/terminal.h
Examining data/acm-6.0+20200416/src/acm/browse.c
Examining data/acm-6.0+20200416/src/acm/sounds.c
Examining data/acm-6.0+20200416/src/acm/zone.h
Examining data/acm-6.0+20200416/src/acm/players.c
Examining data/acm-6.0+20200416/src/acm/draw.c
Examining data/acm-6.0+20200416/src/acm/hud.c
Examining data/acm-6.0+20200416/src/acm/vpath_gallery.c
Examining data/acm-6.0+20200416/src/acm/box.h
Examining data/acm-6.0+20200416/src/acm/gear.c
Examining data/acm-6.0+20200416/src/acm/box.c
Examining data/acm-6.0+20200416/src/acm/air.h
Examining data/acm-6.0+20200416/src/acm/pm.c
Examining data/acm-6.0+20200416/src/acm/runway.c
Examining data/acm-6.0+20200416/src/acm/ccip.h
Examining data/acm-6.0+20200416/src/acm/navaid.c
Examining data/acm-6.0+20200416/src/acm/acm.c
Examining data/acm-6.0+20200416/src/acm/inventory.c
Examining data/acm-6.0+20200416/src/acm/mouse.h
Examining data/acm-6.0+20200416/src/acm/init.c
Examining data/acm-6.0+20200416/src/dis/dis/datum.h
Examining data/acm-6.0+20200416/src/dis/dis/dis.c
Examining data/acm-6.0+20200416/src/dis/dis/xdr.h
Examining data/acm-6.0+20200416/src/dis/dis/datum.c
Examining data/acm-6.0+20200416/src/dis/dis/disx.h
Examining data/acm-6.0+20200416/src/dis/dis/xdr.c
Examining data/acm-6.0+20200416/src/dis/dis/xdr_dis.c
Examining data/acm-6.0+20200416/src/dis/dis/earth.c
Examining data/acm-6.0+20200416/src/dis/dis/earth.h
Examining data/acm-6.0+20200416/src/dis/dis/dis.h
Examining data/acm-6.0+20200416/src/dis/dis/xdr_dis.h
Examining data/acm-6.0+20200416/src/dis/dis/disx.c
Examining data/acm-6.0+20200416/src/dis/server/dis_relay.c
Examining data/acm-6.0+20200416/src/dis/test/disscope.c
Examining data/acm-6.0+20200416/src/dis/test/decoy.c
Examining data/acm-6.0+20200416/src/V/VGlyph.c
Examining data/acm-6.0+20200416/src/V/VObjects.h
Examining data/acm-6.0+20200416/src/V/Vlib.h
Examining data/acm-6.0+20200416/src/V/Vlibmath.c
Examining data/acm-6.0+20200416/src/V/VGlyph.h
Examining data/acm-6.0+20200416/src/V/VColor.c
Examining data/acm-6.0+20200416/src/V/VObjects.c
Examining data/acm-6.0+20200416/src/V/Vlibmath.h
Examining data/acm-6.0+20200416/src/V/VRoman.c
Examining data/acm-6.0+20200416/src/V/Vlib.c
Examining data/acm-6.0+20200416/src/V/VPoly.h
Examining data/acm-6.0+20200416/src/V/VRoman.h
Examining data/acm-6.0+20200416/src/V/VColor.h
Examining data/acm-6.0+20200416/src/V/Alib.c
Examining data/acm-6.0+20200416/src/V/Alib.h
Examining data/acm-6.0+20200416/src/V/VPoly.c
Examining data/acm-6.0+20200416/src/gedit/gutil.h
Examining data/acm-6.0+20200416/src/gedit/VReadObject.c
Examining data/acm-6.0+20200416/src/gedit/shared.h
Examining data/acm-6.0+20200416/src/gedit/actions.h
Examining data/acm-6.0+20200416/src/gedit/CrExFormDlg.c
Examining data/acm-6.0+20200416/src/gedit/io.h
Examining data/acm-6.0+20200416/src/gedit/gutil1.h
Examining data/acm-6.0+20200416/src/gedit/balance.c
Examining data/acm-6.0+20200416/src/gedit/edit.c
Examining data/acm-6.0+20200416/src/gedit/dialog.c
Examining data/acm-6.0+20200416/src/gedit/actions.c
Examining data/acm-6.0+20200416/src/gedit/VWriteObject.h
Examining data/acm-6.0+20200416/src/gedit/VReadObject.h
Examining data/acm-6.0+20200416/src/gedit/balance.h
Examining data/acm-6.0+20200416/src/gedit/VWriteObject.c
Examining data/acm-6.0+20200416/src/gedit/cell.c
Examining data/acm-6.0+20200416/src/gedit/gutil1.c
Examining data/acm-6.0+20200416/src/gedit/circle.c
Examining data/acm-6.0+20200416/src/gedit/CrExFormDlg.h
Examining data/acm-6.0+20200416/src/gedit/cell.h
Examining data/acm-6.0+20200416/src/gedit/shared.c
Examining data/acm-6.0+20200416/src/gedit/dialog.h
Examining data/acm-6.0+20200416/src/gedit/edit.h
Examining data/acm-6.0+20200416/src/gedit/circle.h
Examining data/acm-6.0+20200416/src/gedit/gedit.c
Examining data/acm-6.0+20200416/src/gedit/gutil.c
Examining data/acm-6.0+20200416/src/gedit/io.c
Examining data/acm-6.0+20200416/src/wmm/wmm.h
Examining data/acm-6.0+20200416/src/wmm/wmm.c
Examining data/acm-6.0+20200416/src/wmm/Geomagnetism.h
Examining data/acm-6.0+20200416/src/wmm/Geomagnetism.c
Examining data/acm-6.0+20200416/src/util/reader.h
Examining data/acm-6.0+20200416/src/util/varray.h
Examining data/acm-6.0+20200416/src/util/prng.h
Examining data/acm-6.0+20200416/src/util/reader.c
Examining data/acm-6.0+20200416/src/util/audio.c
Examining data/acm-6.0+20200416/src/util/units.h
Examining data/acm-6.0+20200416/src/util/wav.c
Examining data/acm-6.0+20200416/src/util/timer.h
Examining data/acm-6.0+20200416/src/util/gui.h
Examining data/acm-6.0+20200416/src/util/varray.c
Examining data/acm-6.0+20200416/src/util/error.h
Examining data/acm-6.0+20200416/src/util/hashtable.c
Examining data/acm-6.0+20200416/src/util/error.c
Examining data/acm-6.0+20200416/src/util/units.c
Examining data/acm-6.0+20200416/src/util/timer.c
Examining data/acm-6.0+20200416/src/util/memory.h
Examining data/acm-6.0+20200416/src/util/audio.h
Examining data/acm-6.0+20200416/src/util/zulu.h
Examining data/acm-6.0+20200416/src/util/prng.c
Examining data/acm-6.0+20200416/src/util/sparsearray.h
Examining data/acm-6.0+20200416/src/util/gui.c
Examining data/acm-6.0+20200416/src/util/hashtable.h
Examining data/acm-6.0+20200416/src/util/memory.c
Examining data/acm-6.0+20200416/src/util/sparsearray.c
Examining data/acm-6.0+20200416/src/util/wav.h
Examining data/acm-6.0+20200416/src/util/zulu.c
Examining data/acm-6.0+20200416/tools/create-ils.c
Examining data/acm-6.0+20200416/tools/chart/ps.c
Examining data/acm-6.0+20200416/tools/chart/ps.h
Examining data/acm-6.0+20200416/tools/chart/ratnest.h
Examining data/acm-6.0+20200416/tools/chart/ratnest.c
Examining data/acm-6.0+20200416/tools/chart/chart.c
Examining data/acm-6.0+20200416/tools/faaairports/faaairports.c
Examining data/acm-6.0+20200416/tools/create-ufo-obv.c
Examining data/acm-6.0+20200416/tools/ourairports_com/ourairports_com.c
Examining data/acm-6.0+20200416/test/acm/astro-test.c
Examining data/acm-6.0+20200416/test/acm/dis_if-test.c
Examining data/acm-6.0+20200416/test/dis/dis/xdr_dis-stress-test.c
Examining data/acm-6.0+20200416/test/dis/dis/dis-test.c
Examining data/acm-6.0+20200416/test/dis/dis/xdr-test.c
Examining data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c
Examining data/acm-6.0+20200416/test/dis/dis/earth-test.c
Examining data/acm-6.0+20200416/test/V/animate.c
Examining data/acm-6.0+20200416/test/V/app.c
Examining data/acm-6.0+20200416/test/V/Vlibmath-test.c
Examining data/acm-6.0+20200416/test/wmm/wmm-test.c
Examining data/acm-6.0+20200416/test/util/audio-test.c
Examining data/acm-6.0+20200416/test/util/statistics.h
Examining data/acm-6.0+20200416/test/util/zulu-test.c
Examining data/acm-6.0+20200416/test/util/varray-test.c
Examining data/acm-6.0+20200416/test/util/sparsearray-test.c
Examining data/acm-6.0+20200416/test/util/timer-test.c
Examining data/acm-6.0+20200416/test/util/prng-test.c
Examining data/acm-6.0+20200416/test/util/gui-test.c
Examining data/acm-6.0+20200416/test/util/hashtable-test.c
Examining data/acm-6.0+20200416/test/util/statistics.c

FINAL RESULTS:

data/acm-6.0+20200416/src/V/VObjects.c:1047:19:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define PDEBUG(a)	printf a
data/acm-6.0+20200416/src/V/VObjects.c:1189: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(cp_value, buf2);
data/acm-6.0+20200416/src/V/VObjects.c:1190: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(string, buf2);
data/acm-6.0+20200416/src/V/VObjects.c:1304: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(cp_value, cp_la);
data/acm-6.0+20200416/src/V/VObjects.c:1305: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(string, string_la);
data/acm-6.0+20200416/src/V/VObjects.c:1321: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(cp_la, cp_value);
data/acm-6.0+20200416/src/V/VObjects.c:1322: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(string_la, string);
data/acm-6.0+20200416/src/V/VObjects.c:1828:11:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
										strcpy(insert_title, cp);
data/acm-6.0+20200416/src/V/VObjects.c:1892:12:  [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(object->name, title);
data/acm-6.0+20200416/src/V/VObjects.c:1937:12:  [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(title, cp);
data/acm-6.0+20200416/src/acm/adf.c:284:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(s, adf->id);
data/acm-6.0+20200416/src/acm/aim120.c:286:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(s, "%d %s", count[c->pIndex], weapon_idToName(weapon_AIM120));
data/acm-6.0+20200416/src/acm/aim120.c:287:2:  [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(c->leftHUD[3], s);
data/acm-6.0+20200416/src/acm/aim120.c:342:2:  [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(c->leftHUD[2], s);
data/acm-6.0+20200416/src/acm/aim9m.c:139:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(s, "%d %s", count[c->pIndex], weapon_idToName(weapon_AIM9M));
data/acm-6.0+20200416/src/acm/aim9m.c:140:2:  [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(c->leftHUD[3], s);
data/acm-6.0+20200416/src/acm/aim9m.c:206:2:  [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(c->leftHUD[2], s);
data/acm-6.0+20200416/src/acm/browse.c:106:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf (browse_info[bcount].info, "%s%d,%d,%d",
data/acm-6.0+20200416/src/acm/ccip.c:338:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(s, "%d %s", count[c->pIndex], weapon_idToName(weapon_MK82));
data/acm-6.0+20200416/src/acm/ccip.c:339:2:  [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(c->leftHUD[3], s);
data/acm-6.0+20200416/src/acm/dis_if.c:1446:19:  [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.
		memory_zero(em->system);
data/acm-6.0+20200416/src/acm/dis_if.c:1449:10:  [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.
	s = em->system;
data/acm-6.0+20200416/src/acm/dis_if.c:1752:30:  [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.
			for (j = 0; j < e->em->em.system[0].num_beams; ++j) {
data/acm-6.0+20200416/src/acm/dis_if.c:1753:15:  [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.
				e->em->em.system[i].beam[j].fundamental.beam_sweep_sync += (float) delta;
data/acm-6.0+20200416/src/acm/dis_if.c:2075:20:  [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.
		return e->em->em.system[0].num_beams;
data/acm-6.0+20200416/src/acm/dis_if.c:2086:32:  [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.
	dis_beam_info *b = &e->em->em.system[0].beam[j];
data/acm-6.0+20200416/src/acm/drone.c:339:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(s, "%s drone generated for %s practice [%d]", c->name,
data/acm-6.0+20200416/src/acm/events.c:544:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			sprintf("Error opening the file " FLIGHT_STATE_FILE
data/acm-6.0+20200416/src/acm/events.c:562:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			sprintf("Error opening the file " FLIGHT_STATE_FILE
data/acm-6.0+20200416/src/acm/events.c:617:3:  [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("xwd -name " manifest_ACM " -out /tmp/acm-dump-`date +%s`");
data/acm-6.0+20200416/src/acm/hsi.c:637:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(s, wp->station->id);
data/acm-6.0+20200416/src/acm/hud.c:1007:2:  [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 (buf, buf1);
data/acm-6.0+20200416/src/acm/init.c:77:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
FILE * init_fopen(char *path, char *access)
data/acm-6.0+20200416/src/acm/init.c:79:36:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	return fopen(init_findFile(path), access);
data/acm-6.0+20200416/src/acm/init.h:63:44:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
EXTERN FILE * init_fopen(char *path, char *access);
data/acm-6.0+20200416/src/acm/inventory.c:1423:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(s, "invalid syntax for %s\
data/acm-6.0+20200416/src/acm/m61a1.c:144:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(s, "%.3d %s", c->station[0].info, weapon_idToName(weapon_M61A1));
data/acm-6.0+20200416/src/acm/m61a1.c:145:2:  [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(c->leftHUD[3], s);
data/acm-6.0+20200416/src/acm/panel.c:817:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(s, "%3d%s", percento, ab? "AB" : "  ");
data/acm-6.0+20200416/src/acm/runway.c:560:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(s, hdg1);   strcpy(hdg1, hdg2);   strcpy(hdg2, s);
data/acm-6.0+20200416/src/acm/runway.c:560:22:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(s, hdg1);   strcpy(hdg1, hdg2);   strcpy(hdg2, s);
data/acm-6.0+20200416/src/acm/runway.c:560:44:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(s, hdg1);   strcpy(hdg1, hdg2);   strcpy(hdg2, s);
data/acm-6.0+20200416/src/acm/runway.c:561:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(s, side1);   strcpy(side1, side2);   strcpy(side2, s);
data/acm-6.0+20200416/src/acm/runway.c:561:23:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(s, side1);   strcpy(side1, side2);   strcpy(side2, s);
data/acm-6.0+20200416/src/acm/runway.c:561:47:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(s, side1);   strcpy(side1, side2);   strcpy(side2, s);
data/acm-6.0+20200416/src/acm/runway.c:591:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(s, hdg1);   strcpy(hdg1, hdg2);   strcpy(hdg2, s);
data/acm-6.0+20200416/src/acm/runway.c:591:22:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(s, hdg1);   strcpy(hdg1, hdg2);   strcpy(hdg2, s);
data/acm-6.0+20200416/src/acm/runway.c:591:44:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(s, hdg1);   strcpy(hdg1, hdg2);   strcpy(hdg2, s);
data/acm-6.0+20200416/src/acm/runway.c:592:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(s, side1);   strcpy(side1, side2);   strcpy(side2, s);
data/acm-6.0+20200416/src/acm/runway.c:592:23:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(s, side1);   strcpy(side1, side2);   strcpy(side2, s);
data/acm-6.0+20200416/src/acm/runway.c:592:47:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(s, side1);   strcpy(side1, side2);   strcpy(side2, s);
data/acm-6.0+20200416/src/acm/scale.c:117:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			sprintf(str, s->format, (double) v / s->divisor);
data/acm-6.0+20200416/src/acm/scale.c:228:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			sprintf(str, s->format, (double) v / s->divisor);
data/acm-6.0+20200416/src/acm/zone.c:270:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		fprintf(stderr, __VA_ARGS__); \
data/acm-6.0+20200416/src/dis/dis/dis.c:739:33:  [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.
			dis_em_system_info *s = pdu->system;
data/acm-6.0+20200416/src/dis/dis/dis.c:754:25:  [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.
				memory_dispose(pdu->system);
data/acm-6.0+20200416/src/dis/dis/dis.c:809:33:  [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.
			dis_em_system_info *s = pdu->system;
data/acm-6.0+20200416/src/dis/dis/dis.c:816:26:  [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.
				for (j = 0; j < pdu->system[i].num_beams; ++j, ++b) {
data/acm-6.0+20200416/src/dis/dis/dis.h:667:11:  [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.
	uint16_t system;
data/acm-6.0+20200416/src/dis/dis/dis.h:1048:22:  [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.
	dis_em_system_info *system;
data/acm-6.0+20200416/src/dis/dis/xdr_dis.c:1579:43:  [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.
	if (!xdr_var_array(xdrs, (void **)&objp->system,
data/acm-6.0+20200416/src/dis/server/dis_relay.c:149:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(str, portstr);
data/acm-6.0+20200416/src/dis/server/dis_relay.c:161:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(str, portstr);
data/acm-6.0+20200416/src/dis/test/disscope.c:281:27:  [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.
		    		(&pdu.em_emission.system[i]);
data/acm-6.0+20200416/src/gedit/VReadObject.c:32:2:  [4] (buffer) fscanf:
  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.
	fscanf(f, "%s\n", name);
data/acm-6.0+20200416/src/gedit/VReadObject.c:50:3:  [4] (buffer) fscanf:
  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.
		fscanf(f, "%s %hd", str, &(vertices));
data/acm-6.0+20200416/src/gedit/cell.c:67:2:  [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 (value, s);
data/acm-6.0+20200416/src/gedit/gedit.c:678:2:  [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 (filename, value);
data/acm-6.0+20200416/src/gedit/gedit.c:1115:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		sprintf (name, button_list[i].pixmap_file,
data/acm-6.0+20200416/src/gedit/shared.c:181:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (s, "   %s :   %f", "X", extent.x);
data/acm-6.0+20200416/src/gedit/shared.c:188:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (s, "   %s :   %f", "Y", extent.y);
data/acm-6.0+20200416/src/gedit/shared.c:195:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (s, "   %s :   %f", "Z", extent.z);
data/acm-6.0+20200416/src/util/error.c:60:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(s, sizeof(s), fmt, ap);
data/acm-6.0+20200416/src/util/error.c:74:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(s, sizeof(s), fmt, ap);
data/acm-6.0+20200416/src/util/error.c:89:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(s, sizeof(s), fmt, ap);
data/acm-6.0+20200416/src/util/memory.c:294:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(buf[idx], 1000, fmt, ap);
data/acm-6.0+20200416/src/util/reader.c:144:2:  [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(res, to);
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:313: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((*MagneticModel)->ModelName, ModelName);
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:638:13:  [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.
            sscanf(buffer, "%s", OutputFile);
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1266: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(model->ModelName, values[MODELNAME]);
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1684:5:  [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.
    sscanf(c_str, "%lf%s", &epoch, MagneticModel->ModelName);
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1759:5:  [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.
    sscanf(c_str, "%lf%s", &epoch, MagneticModel->ModelName);
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1909:21:  [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(paramvalues[i], paramvalue);
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:2304:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tempstring, "%4d%4s", DMS[i], tempstring2);
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:2305: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(DMSstring, tempstring);
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:3749: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(TimedMagneticModel->ModelName, MagneticModel->ModelName);
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:349:24:  [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.
	cmp(__LINE__, &em_out.system[0].sys_data_length, sizeof(em_out.system[0].sys_data_length), &em_in.system[0].sys_data_length, sizeof(em_in.system[0].sys_data_length));
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:349:65:  [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.
	cmp(__LINE__, &em_out.system[0].sys_data_length, sizeof(em_out.system[0].sys_data_length), &em_in.system[0].sys_data_length, sizeof(em_in.system[0].sys_data_length));
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:349:100:  [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.
	cmp(__LINE__, &em_out.system[0].sys_data_length, sizeof(em_out.system[0].sys_data_length), &em_in.system[0].sys_data_length, sizeof(em_in.system[0].sys_data_length));
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:349:140:  [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.
	cmp(__LINE__, &em_out.system[0].sys_data_length, sizeof(em_out.system[0].sys_data_length), &em_in.system[0].sys_data_length, sizeof(em_in.system[0].sys_data_length));
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:350:24:  [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.
	cmp(__LINE__, &em_out.system[0].num_beams, sizeof(em_out.system[0].num_beams), &em_in.system[0].num_beams, sizeof(em_in.system[0].num_beams));
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:350:59:  [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.
	cmp(__LINE__, &em_out.system[0].num_beams, sizeof(em_out.system[0].num_beams), &em_in.system[0].num_beams, sizeof(em_in.system[0].num_beams));
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:350:88:  [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.
	cmp(__LINE__, &em_out.system[0].num_beams, sizeof(em_out.system[0].num_beams), &em_in.system[0].num_beams, sizeof(em_in.system[0].num_beams));
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:350:122:  [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.
	cmp(__LINE__, &em_out.system[0].num_beams, sizeof(em_out.system[0].num_beams), &em_in.system[0].num_beams, sizeof(em_in.system[0].num_beams));
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:351:24:  [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.
	cmp(__LINE__, &em_out.system[0].emitter_system, sizeof(em_out.system[0].emitter_system), &em_in.system[0].emitter_system, sizeof(em_in.system[0].emitter_system));
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:351:64:  [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.
	cmp(__LINE__, &em_out.system[0].emitter_system, sizeof(em_out.system[0].emitter_system), &em_in.system[0].emitter_system, sizeof(em_in.system[0].emitter_system));
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:351:98:  [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.
	cmp(__LINE__, &em_out.system[0].emitter_system, sizeof(em_out.system[0].emitter_system), &em_in.system[0].emitter_system, sizeof(em_in.system[0].emitter_system));
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:351:137:  [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.
	cmp(__LINE__, &em_out.system[0].emitter_system, sizeof(em_out.system[0].emitter_system), &em_in.system[0].emitter_system, sizeof(em_in.system[0].emitter_system));
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:352:24:  [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.
	cmp(__LINE__, &em_out.system[0].location, sizeof(em_out.system[0].location), &em_in.system[0].location, sizeof(em_in.system[0].location));
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:352:58:  [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.
	cmp(__LINE__, &em_out.system[0].location, sizeof(em_out.system[0].location), &em_in.system[0].location, sizeof(em_in.system[0].location));
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:352:86:  [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.
	cmp(__LINE__, &em_out.system[0].location, sizeof(em_out.system[0].location), &em_in.system[0].location, sizeof(em_in.system[0].location));
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:352:119:  [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.
	cmp(__LINE__, &em_out.system[0].location, sizeof(em_out.system[0].location), &em_in.system[0].location, sizeof(em_in.system[0].location));
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:353:36:  [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.
	dis_beam_info *beam_out = &em_out.system[0].beam[0];
data/acm-6.0+20200416/tools/create-ufo-obv.c:44:2:  [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(this_polygon_color, colors);
data/acm-6.0+20200416/tools/create-ufo-obv.c:57:2:  [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(points, s);
data/acm-6.0+20200416/tools/create-ufo-obv.c:60:2:  [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(this_polygon_vertices, s);
data/acm-6.0+20200416/tools/create-ufo-obv.c:68:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(s, "%s %d%s\n", this_polygon_color, this_polygon_no_vertices,
data/acm-6.0+20200416/tools/create-ufo-obv.c:70:2:  [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(polygons, s);
data/acm-6.0+20200416/src/dis/test/decoy.c:241:7:  [3] (buffer) getopt_long:
  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.
		c = getopt_long ( argc, argv, "hR:P:f:a:s:e:E:l:L:A:t:",
data/acm-6.0+20200416/src/dis/test/decoy.c:244:7:  [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.
		c = getopt ( argc, argv, "hR:P:f:a:s:e:E:l:L:A:t:" );
data/acm-6.0+20200416/src/util/gui.c:829:12:  [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.
	display = getenv("DISPLAY");
data/acm-6.0+20200416/src/util/memory.c:274:6:  [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.
	k = getenv(name);
data/acm-6.0+20200416/src/util/prng.c:22:26:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#define prng_SRAND(seed) srand(seed)
data/acm-6.0+20200416/src/V/Alib.c:2001:2:  [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(copy->pts, poly->pts, copy->npts * sizeof(Alib_Point));
data/acm-6.0+20200416/src/V/VColor.c:90: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.
	static char s[8];
data/acm-6.0+20200416/src/V/VColor.c:91:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(s, "#%02u%02u%02u", c->red, c->green, c->blue);
data/acm-6.0+20200416/src/V/VObjects.c:224:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy((char *) newObj->order, (char *) obj->order,
data/acm-6.0+20200416/src/V/VObjects.c:393: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 token[256];
data/acm-6.0+20200416/src/V/VObjects.c:520:30:  [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).
						lex_value.long_value = atoi(token);
data/acm-6.0+20200416/src/V/VObjects.c:803:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      line[256];
data/acm-6.0+20200416/src/V/VObjects.c:1149:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf1[512], buf2[512], *r1, *r2;
data/acm-6.0+20200416/src/V/VObjects.c:1294: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 cp_la[256], string_la[256];
data/acm-6.0+20200416/src/V/VObjects.c:1401:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cp[256], title[256], insert_title[256], *stop_block = "<none>";
data/acm-6.0+20200416/src/V/VObjects.c:1406:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char string[256];
data/acm-6.0+20200416/src/V/VObjects.c:1461:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(object->polygon, poly, ptop * sizeof(VPolygon *));
data/acm-6.0+20200416/src/V/VObjects.c:1538:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
						strcpy (title, "*none*");
data/acm-6.0+20200416/src/V/VObjects.c:1554:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
						strcpy (insert_title, "*not-specified*");
data/acm-6.0+20200416/src/V/VObjects.c:1896:12:  [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((char *) object->polygon,
data/acm-6.0+20200416/src/V/VPoly.c:262:2:  [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((char *) p->vertex,
data/acm-6.0+20200416/src/acm/acm.c:202:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char     reason[1000];
data/acm-6.0+20200416/src/acm/acm.c:290:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char commands[4096];
data/acm-6.0+20200416/src/acm/acm.c:291:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *argv[100];
data/acm-6.0+20200416/src/acm/acm.c:299:6:  [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).
	f = fopen (fname, "r");
data/acm-6.0+20200416/src/acm/acm.c:529:20:  [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).
		    frame_rate = atoi(args->arr[i]);
data/acm-6.0+20200416/src/acm/adf.c:248:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[100];
data/acm-6.0+20200416/src/acm/adf.c:276:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(s, "%d", adf->frequency);
data/acm-6.0+20200416/src/acm/adf.c:286: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(s, "----");
data/acm-6.0+20200416/src/acm/aim120.c:282:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      s[16];
data/acm-6.0+20200416/src/acm/aim120.c:334: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(s, "ARM      --");
data/acm-6.0+20200416/src/acm/aim120.c:336: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(s, "LOCKED   %d", (int) (t + 0.5));
data/acm-6.0+20200416/src/acm/aim120.c:338: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(s, "IN RANGE %d", (int) (t + 0.5));
data/acm-6.0+20200416/src/acm/aim120.c:340: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(s, "ARM      %d", (int) (t + 0.5));
data/acm-6.0+20200416/src/acm/aim9m.c:134:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      s[16];
data/acm-6.0+20200416/src/acm/aim9m.c:198: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(s, "ARM      --");
data/acm-6.0+20200416/src/acm/aim9m.c:200: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(s, "LOCKED   %d", (int) (t + 0.5));
data/acm-6.0+20200416/src/acm/aim9m.c:202: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(s, "IN RANGE %d", (int) (t + 0.5));
data/acm-6.0+20200416/src/acm/aim9m.c:204: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(s, "ARM      %d", (int) (t + 0.5));
data/acm-6.0+20200416/src/acm/box.c:47:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      name[64];			/* craft name */
data/acm-6.0+20200416/src/acm/box.c:126:15:  [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 ((bbout = fopen("./black_box_output", "w")) == (FILE *) NULL) {
data/acm-6.0+20200416/src/acm/box.c:150: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 ((bbin = fopen("./black_box_input", "r")) == (FILE *) NULL) {
data/acm-6.0+20200416/src/acm/browse.c:51:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char  info[32];
data/acm-6.0+20200416/src/acm/browse.c:127:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      buf[256];
data/acm-6.0+20200416/src/acm/browse.c:349:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      buffer[MAX_MAPPED_STRING_LEN];
data/acm-6.0+20200416/src/acm/ccip.c:326:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      s[16];
data/acm-6.0+20200416/src/acm/commands.c:56: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).
		u->v->Middl.x = atoi(argv[2]);
data/acm-6.0+20200416/src/acm/commands.c:59: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).
		u->v->Middl.y = atoi(argv[2]);
data/acm-6.0+20200416/src/acm/commands.c:85:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[100];
data/acm-6.0+20200416/src/acm/commands.c:89:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(s, "%f", value);
data/acm-6.0+20200416/src/acm/commands.c:100:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *argv[MAX_ARGC];
data/acm-6.0+20200416/src/acm/dis_if.c:1010:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[1000];
data/acm-6.0+20200416/src/acm/dis_if.c:1212:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char s[99];
data/acm-6.0+20200416/src/acm/dis_if.c:1213: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(s, "stale -- no packets received since %.0f s",
data/acm-6.0+20200416/src/acm/dis_if.h:161: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.
	unsigned char markings[MARKINGS_LEN+1];
data/acm-6.0+20200416/src/acm/drone.c:190:2:  [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(c->name, "Drone%d", i);
data/acm-6.0+20200416/src/acm/drone.c:338:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[100];
data/acm-6.0+20200416/src/acm/events.c:116: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 line[100];
data/acm-6.0+20200416/src/acm/events.c:540:8:  [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).
		fp = fopen(FLIGHT_STATE_FILE, "w");
data/acm-6.0+20200416/src/acm/events.c:542:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char s[1000];
data/acm-6.0+20200416/src/acm/events.c:558:8:  [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).
		fp = fopen(FLIGHT_STATE_FILE, "r");
data/acm-6.0+20200416/src/acm/events.c:560:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char s[1000];
data/acm-6.0+20200416/src/acm/hsi.c:596:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[100], r[100];
data/acm-6.0+20200416/src/acm/hsi.c:619: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(s, "RNAV%d", hsi->idx - HSI_NAV_MAX + 1);
data/acm-6.0+20200416/src/acm/hsi.c:621: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(s, "NAV%d", hsi->idx + 1);
data/acm-6.0+20200416/src/acm/hsi.c:629:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(s, "%d.%02d", f / 100, f % 100);
data/acm-6.0+20200416/src/acm/hsi.c:639: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(s, "----");
data/acm-6.0+20200416/src/acm/hsi.c:648: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(s, "%0.1f", wp->dme_readout);
data/acm-6.0+20200416/src/acm/hsi.c:650: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(s, "---.-");
data/acm-6.0+20200416/src/acm/hsi.c:659: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(s, "%3d", wp->theta);
data/acm-6.0+20200416/src/acm/hsi.c:660: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(r, "%d.%d", wp->rho / 10, wp->rho % 10);
data/acm-6.0+20200416/src/acm/hsi.c:787:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      s[8];
data/acm-6.0+20200416/src/acm/hsi.c:833:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(s, "%03d", wp->obs);
data/acm-6.0+20200416/src/acm/hud.c:198:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[20];
data/acm-6.0+20200416/src/acm/hud.c:315: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(buffer, "%d:%02d:%02d", h, m, s);
data/acm-6.0+20200416/src/acm/hud.c:319: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(buffer, "%d:%02d", m, s);
data/acm-6.0+20200416/src/acm/hud.c:321: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(buffer, "%d", t);
data/acm-6.0+20200416/src/acm/hud.c:358:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[10];
data/acm-6.0+20200416/src/acm/hud.c:461: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(s, "%d", abs(angle));
data/acm-6.0+20200416/src/acm/hud.c:747:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      buffer[80];
data/acm-6.0+20200416/src/acm/hud.c:770: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(buffer, "STALL");
data/acm-6.0+20200416/src/acm/hud.c:792: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(buffer, "a=0.0");
data/acm-6.0+20200416/src/acm/hud.c:794: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(buffer, "a=%.1f", units_RADtoDEG(c->alpha));
data/acm-6.0+20200416/src/acm/hud.c:801:2:  [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(buffer, "%4.1fg", - c->G.z);
data/acm-6.0+20200416/src/acm/hud.c:855:2:  [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(buffer, "%+6d0", (int) (-c->Cg.z * 6.0));
data/acm-6.0+20200416/src/acm/hud.c:879: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(buffer, "AT%3d IAS", (int) (units_FPStoKT( aps_at_get_velocity(c) ) + 0.5));
data/acm-6.0+20200416/src/acm/hud.c:886: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(c->leftHUD[1], "   %4.2f", c->mach);
data/acm-6.0+20200416/src/acm/hud.c:964:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[256], buf1[256];
data/acm-6.0+20200416/src/acm/hud.c:975:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buf, "%04d-%02d-%02dT%02d:%02d", d.year, d.month, d.day,
data/acm-6.0+20200416/src/acm/hud.c:979:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "G: %+.2f %+.2f %+.2f", c->G.x, c->G.y, c->G.z);
data/acm-6.0+20200416/src/acm/hud.c:982:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "Ail/Elev/Rdr: %+.3f %+.3f %+.3f", c->Sa, c->Se, c->Sr);
data/acm-6.0+20200416/src/acm/hud.c:985:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "Euler: %+.1f %+.1f %+.1f",
data/acm-6.0+20200416/src/acm/hud.c:991:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "Euler rates: %+.2f %+.2f %+.2f",
data/acm-6.0+20200416/src/acm/hud.c:997:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "Omega: %+.2f %+.2f %+.2f",
data/acm-6.0+20200416/src/acm/hud.c:1005:2:  [2] (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 string.
	strcat (buf, "   ");
data/acm-6.0+20200416/src/acm/hud.c:1006:2:  [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 (buf1, "%d m", (int)(c->w.z+0.5));
data/acm-6.0+20200416/src/acm/hud.c:1012: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(buf, "VAR %.1f%c", fabs(VAR), VAR < 0 ? 'E' : 'W');
data/acm-6.0+20200416/src/acm/hud.c:1016:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buf, "T = %.0f C", units_RankineToCelsius(c->air.t));
data/acm-6.0+20200416/src/acm/hud.c:1018:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buf, "P = %.0f hPa", c->air.p * units_LbToKgFactor * units_earth_g
data/acm-6.0+20200416/src/acm/hud.c:1021:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buf, "rho = %.3f Kg/m^3", units_SlugToKg(c->air.rho)
data/acm-6.0+20200416/src/acm/hud.c:1024:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buf, "c = %.0f m/s", c->air.mach1 * units_FootToMeterFactor);
data/acm-6.0+20200416/src/acm/init.c:71:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char cwd[999];
data/acm-6.0+20200416/src/acm/init.c:79:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	return fopen(init_findFile(path), access);
data/acm-6.0+20200416/src/acm/init.c:85: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.
	static char resolved[999];
data/acm-6.0+20200416/src/acm/instruments.c:385:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[10];
data/acm-6.0+20200416/src/acm/instruments.c:420: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(buf, "%d", (int) vel);
data/acm-6.0+20200416/src/acm/instruments.c:444:2:  [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(buf, "KT");
data/acm-6.0+20200416/src/acm/instruments.c:536:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[5];
data/acm-6.0+20200416/src/acm/instruments.c:726:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[10];
data/acm-6.0+20200416/src/acm/instruments.c:729:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(s, "%d", abs(pitch));
data/acm-6.0+20200416/src/acm/instruments.c:1037:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[20];
data/acm-6.0+20200416/src/acm/instruments.c:1057: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(buf, "%d", j/10);
data/acm-6.0+20200416/src/acm/instruments.c:1093:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buf, "%03d", hi);
data/acm-6.0+20200416/src/acm/instruments.c:1103:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buf, "%02d", lo);
data/acm-6.0+20200416/src/acm/instruments.c:1113:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buf, "%2.2f %04d", 0.01*p0, (int)(1013.25/29.92 * 0.01 * p0 + 0.5));
data/acm-6.0+20200416/src/acm/instruments.c:1190:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[20];
data/acm-6.0+20200416/src/acm/instruments.c:1211: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(buf, "%.0f", climb/100);
data/acm-6.0+20200416/src/acm/instruments.c:1343:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[20];
data/acm-6.0+20200416/src/acm/instruments.c:1362: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(buffer, "%d:%02d:%02d", h, m, s);
data/acm-6.0+20200416/src/acm/instruments.c:1367: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(buffer, "%d:%02d", m, s);
data/acm-6.0+20200416/src/acm/instruments.c:1369: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(buffer, "%d", t);
data/acm-6.0+20200416/src/acm/inventory.c:422: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 token[256];
data/acm-6.0+20200416/src/acm/inventory.c:438:11:  [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 ((f = fopen(name, "r")) == (FILE *) NULL) {
data/acm-6.0+20200416/src/acm/inventory.c:1224:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      s[256];
data/acm-6.0+20200416/src/acm/inventory.c:1296:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
							sprintf(s, "\"%.99s\" is not a valid aircraft type", token);
data/acm-6.0+20200416/src/acm/inventory.c:1312:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
							sprintf(s, "unknown engine type: \"%.99s\"", token);
data/acm-6.0+20200416/src/acm/inventory.c:1317:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
						sprintf(s, "unexpected token: \"%.99s\"", token);
data/acm-6.0+20200416/src/acm/inventory.c:1322: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(s, "unexpected token: \"%.99s\"", token);
data/acm-6.0+20200416/src/acm/inventory.c:1443: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(s, "\"%.99s\" was found where another token was\
data/acm-6.0+20200416/src/acm/inventory.c:1550:13:  [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).
		FILE *f = fopen(c->objname, "r");
data/acm-6.0+20200416/src/acm/inventory.c:1756:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[999];
data/acm-6.0+20200416/src/acm/joystick.c:79: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.
    unsigned char bytes[512], *p;
data/acm-6.0+20200416/src/acm/joystick.c:92:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fd = open(joystick_port, O_RDWR)) < 0) {
data/acm-6.0+20200416/src/acm/joystick.c:403: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.
	unsigned char bytes[512], *p;
data/acm-6.0+20200416/src/acm/joystick.c:417:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if ((fd = open(joystick_port, O_RDWR)) < 0) {
data/acm-6.0+20200416/src/acm/m61a1.c:124:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      s[16];
data/acm-6.0+20200416/src/acm/m61a1.c:143:2:  [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(c->leftHUD[2], "LCOS");
data/acm-6.0+20200416/src/acm/m61a1.c:147: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(c->leftHUD[4], "FIRING");
data/acm-6.0+20200416/src/acm/m61a1.c:389:2:  [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(burst->name, "M61A1");
data/acm-6.0+20200416/src/acm/navaid.h:78:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char id[5];
data/acm-6.0+20200416/src/acm/panel.c:134:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[10];
data/acm-6.0+20200416/src/acm/panel.c:182: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(s, "%d", a);
data/acm-6.0+20200416/src/acm/panel.c:210: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(s, "%d", a);
data/acm-6.0+20200416/src/acm/panel.c:478:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[10];
data/acm-6.0+20200416/src/acm/panel.c:495: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(s, "%d", h);
data/acm-6.0+20200416/src/acm/panel.c:768:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      s[32];
data/acm-6.0+20200416/src/acm/panel.c:805: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(s, "%d", rpm);
data/acm-6.0+20200416/src/acm/panel.c:836:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(s, "  %6d    %6d", ((int) c->fuel + 5)/10*10, (fu + 5)/10*10);
data/acm-6.0+20200416/src/acm/players.c:141:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char s[1000];
data/acm-6.0+20200416/src/acm/pm.h:268:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      name[32];
data/acm-6.0+20200416/src/acm/pm.h:481:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char     *leftHUD[6];
data/acm-6.0+20200416/src/acm/pm.h:484:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char     *rightHUD[6];
data/acm-6.0+20200416/src/acm/prompt.c:49:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[BUF_SIZE];
data/acm-6.0+20200416/src/acm/prompt.c:98:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[999];
data/acm-6.0+20200416/src/acm/prompt.c:243:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char s[100];
data/acm-6.0+20200416/src/acm/radar.c:128:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      s[16], lr;
data/acm-6.0+20200416/src/acm/radar.c:153:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(s, "  %3.3d", (int) (units_RADtoDEG(ptbl[i].curHeading)));
data/acm-6.0+20200416/src/acm/radar.c:165:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(s, "%3.3d K", (int) (VMagnitude(&rel) / units_NmToFeetFactor * 3600.0));
data/acm-6.0+20200416/src/acm/radar.c:188:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(s, "%3.3d %c", (int) (units_RADtoDEG(targetAspectAngle) + 0.5), lr);
data/acm-6.0+20200416/src/acm/radar.c:206:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(s, "%3.3d", (int) (cl / units_NmToFeetFactor * 3600.0));
data/acm-6.0+20200416/src/acm/radar.c:220:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(s, "%d", (int) (d / units_NmToFeetFactor));
data/acm-6.0+20200416/src/acm/radar.c:231:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(s, "%d", (int) (units_METERStoFEET(ptbl[i].w.z) / 1000.0));
data/acm-6.0+20200416/src/acm/radar.c:236:2:  [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(c->rightHUD[0], "R_+__");
data/acm-6.0+20200416/src/acm/radar.c:237:2:  [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(c->rightHUD[1], "%05.1f", d / units_NmToFeetFactor);
data/acm-6.0+20200416/src/acm/radar.c:238:2:  [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(c->rightHUD[2], " %4.4d", (int) (cl / units_NmToFeetFactor * 3600.0));
data/acm-6.0+20200416/src/acm/radar.c:804: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(c->rightHUD[0], "R_+__");
data/acm-6.0+20200416/src/acm/radar.c:1029: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(c->rightHUD[0], "R_+__");
data/acm-6.0+20200416/src/acm/runway.c:144:23:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	characters['O'-32] = memcpy(memory_allocate(sizeof(Character), NULL), s, sizeof(Character));
data/acm-6.0+20200416/src/acm/runway.c:556: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).
	int n1 = atoi(hdg1);
data/acm-6.0+20200416/src/acm/runway.c:557: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).
	int n2 = atoi(hdg2);
data/acm-6.0+20200416/src/acm/runway.c:559:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char s[10];
data/acm-6.0+20200416/src/acm/runway.c:590:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char s[10];
data/acm-6.0+20200416/src/acm/runway.c:721: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 hdg1[8], side1[8], hdg2[8], side2[8];
data/acm-6.0+20200416/src/acm/scale.c:50:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      str[16], *q;
data/acm-6.0+20200416/src/acm/scale.c:157:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      str[16], *q;
data/acm-6.0+20200416/src/acm/terminal.c:39:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char     screen[ROWS][COLS];
data/acm-6.0+20200416/src/acm/terminal.c:41:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char     kbd_buf[KBD_BUF_SIZE];  /* chars got from keyboard */
data/acm-6.0+20200416/src/acm/terminal.c:268:4:  [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(s, &trm->kbd_buf, n);
data/acm-6.0+20200416/src/acm/terminal.c:280:4:  [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(s, &trm->kbd_buf, n);
data/acm-6.0+20200416/src/acm/terminal.c:286:4:  [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(s, &trm->kbd_buf, n);
data/acm-6.0+20200416/src/acm/update.c:329:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char s[99];
data/acm-6.0+20200416/src/acm/weapon.c:41: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 * names[WEAPONTYPES] = {
data/acm-6.0+20200416/src/acm/windows.c:303:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[20];
data/acm-6.0+20200416/src/acm/windows.c:304:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(s, "%d%%", u->zoom);
data/acm-6.0+20200416/src/acm/zone.c:734:13:  [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).
		FILE *f = fopen(fn_resolved, "r");
data/acm-6.0+20200416/src/acm/zone.c:782:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *argv[16], line[1000];
data/acm-6.0+20200416/src/acm/zones.c:101:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[999];
data/acm-6.0+20200416/src/acm/zones.c:108:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char *argv[5];
data/acm-6.0+20200416/src/dis/dis/dis.c:91: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.
	static char s[999];
data/acm-6.0+20200416/src/dis/dis/dis.c:92:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char win_err_descr[900];
data/acm-6.0+20200416/src/dis/dis/dis.c:243:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      buf[BUFSIZ];
data/acm-6.0+20200416/src/dis/dis/dis.c:360: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 service[6];
data/acm-6.0+20200416/src/dis/dis/dis.c:370: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(service, "%d", host_port);
data/acm-6.0+20200416/src/dis/dis/dis.c:419:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy((char *) ad,
data/acm-6.0+20200416/src/dis/dis/dis.c:422:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy((char *) ad,
data/acm-6.0+20200416/src/dis/dis/dis.c:500:4:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			bcopy((char *) &ifr->ifr_dstaddr,
data/acm-6.0+20200416/src/dis/dis/dis.c:513:4:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			bcopy((char *) &ifr->ifr_broadaddr,
data/acm-6.0+20200416/src/dis/dis/dis.c:553:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      buffer[2048];
data/acm-6.0+20200416/src/dis/dis/dis.c:613:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      buffer[2048], *p;
data/acm-6.0+20200416/src/dis/dis/dis.c:1191:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char pdelim[DMAX+1];
data/acm-6.0+20200416/src/dis/dis/dis.c:1192:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tbuf[BMAX+1];
data/acm-6.0+20200416/src/dis/dis/dis.c:1304:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[6];
data/acm-6.0+20200416/src/dis/dis/dis.c:1320:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(buf, start, s - start);
data/acm-6.0+20200416/src/dis/dis/dis.c:1322: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).
		f[i] = atoi(buf);
data/acm-6.0+20200416/src/dis/dis/dis.c:1353: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.
	static char s[99];
data/acm-6.0+20200416/src/dis/dis/dis.c:1355:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(s, "%u.%u.%u.%u.%u.%u.%u",
data/acm-6.0+20200416/src/dis/dis/dis.h:571: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.
	unsigned char marking[11];
data/acm-6.0+20200416/src/dis/dis/dis.h:707: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.
	unsigned char pad[3];
data/acm-6.0+20200416/src/dis/dis/dis.h:724:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char c[8];
data/acm-6.0+20200416/src/dis/dis/dis.h:757: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.
	unsigned char other[15];
data/acm-6.0+20200416/src/dis/dis/dis.h:860: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.
	unsigned char pad[3];
data/acm-6.0+20200416/src/dis/dis/dis.h:870: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.
	unsigned char pad[3];
data/acm-6.0+20200416/src/dis/dis/dis.h:896: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.
	unsigned char pad[3];
data/acm-6.0+20200416/src/dis/dis/dis.h:936: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.
	unsigned char pad[2];
data/acm-6.0+20200416/src/dis/dis/disx.c:43: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 unsigned char pdu_family[256] =
data/acm-6.0+20200416/src/dis/dis/earth.c:297: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(s, "%03d-%02d-%02d.%02d%c", d, m, s100 / 100, s100 % 100, ew);
data/acm-6.0+20200416/src/dis/dis/earth.c:337:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char lat[99], lon[99];
data/acm-6.0+20200416/src/dis/dis/earth.c:486: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 token[256];
data/acm-6.0+20200416/src/dis/dis/earth.c:554: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).
					lex_value.long_value = atoi(token);
data/acm-6.0+20200416/src/dis/dis/xdr.c:277:2:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	bcopy(xdr->next_byte, (char *) &tmp, sizeof(int32_t));
data/acm-6.0+20200416/src/dis/dis/xdr.c:296:2:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	bcopy((char *) &tmp, xdr->next_byte, sizeof(int32_t));
data/acm-6.0+20200416/src/dis/dis/xdr.c:309:2:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	bcopy(xdr->next_byte, addr, len);
data/acm-6.0+20200416/src/dis/dis/xdr.c:322:2:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	bcopy(xdr->next_byte, *addr, len);
data/acm-6.0+20200416/src/dis/dis/xdr.c:324:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		((char *) *addr)[len] = 0;
data/acm-6.0+20200416/src/dis/dis/xdr.c:336:2:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	bcopy(addr, xdr->next_byte, len);
data/acm-6.0+20200416/src/dis/dis/xdr_dis.c:122: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.
	static char pad[8];			/* force padding to be zeroes */
data/acm-6.0+20200416/src/dis/server/dis_relay.c:138:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char		portstr[7];
data/acm-6.0+20200416/src/dis/server/dis_relay.c:139: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.
	static char str[128];		/* Unix domain is largest */
data/acm-6.0+20200416/src/dis/server/dis_relay.c:204: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.
	static char s[999];
data/acm-6.0+20200416/src/dis/server/dis_relay.c:205:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char win_err_descr[900];
data/acm-6.0+20200416/src/dis/server/dis_relay.c:383:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(&new->addr, pdu_from, sizeof(struct sockaddr));
data/acm-6.0+20200416/src/dis/server/dis_relay.c:397:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char pdu_content[2048];
data/acm-6.0+20200416/src/dis/server/dis_relay.c:414: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).
			port = atoi(argv[++i]);
data/acm-6.0+20200416/src/dis/test/decoy.c:259: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).
			port = atoi(optarg);
data/acm-6.0+20200416/src/dis/test/decoy.c:262:35:  [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).
			estate.entity_state.force_id = atoi(optarg);
data/acm-6.0+20200416/src/dis/test/decoy.c:265:51:  [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).
			estate.entity_state.id.sim_id.application_id = atoi(optarg);
data/acm-6.0+20200416/src/dis/test/decoy.c:268:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			estate.entity_state.id.sim_id.site_id = atoi(optarg);
data/acm-6.0+20200416/src/dis/test/decoy.c:271:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			estate.entity_state.id.entity_id = atoi(optarg);
data/acm-6.0+20200416/src/dis/test/decoy.c:274: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).
			esPDU->hdr.exercise_id = atoi(optarg);
data/acm-6.0+20200416/src/gedit/VReadObject.c:27:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char    str[64], name[128];
data/acm-6.0+20200416/src/gedit/VWriteObject.c:31:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char    ivname[1024];
data/acm-6.0+20200416/src/gedit/VWriteObject.c:33:11:  [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 ((f = fopen (name, "w")) == (FILE *) NULL) {
data/acm-6.0+20200416/src/gedit/VWriteObject.c:113:11:  [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 ((f = fopen (ivname, "w")) == NULL)
data/acm-6.0+20200416/src/gedit/cell.c:55:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char    s[64];
data/acm-6.0+20200416/src/gedit/cell.c:57:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (s, "%.8lg", value);
data/acm-6.0+20200416/src/gedit/dialog.c:237:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char    s1[32], s2[32];
data/acm-6.0+20200416/src/gedit/dialog.c:261: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 (s1, "label_%d", i+1);
data/acm-6.0+20200416/src/gedit/dialog.c:262: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 (s2, "field_%d", i+1);
data/acm-6.0+20200416/src/gedit/gedit.c:63: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     grid_dash_list[2] = { 1, 4 };
data/acm-6.0+20200416/src/gedit/gedit.c:367: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.
	static char     message[BUFSIZ];
data/acm-6.0+20200416/src/gedit/gedit.c:372:2:  [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 (message, "\
data/acm-6.0+20200416/src/gedit/gedit.c:785:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char            s[32];
data/acm-6.0+20200416/src/gedit/gedit.c:803: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 (s, "marker_%d", i);
data/acm-6.0+20200416/src/gedit/gedit.c:838:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char            name[128];
data/acm-6.0+20200416/src/gedit/gedit.c:1317:2:  [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 (filename, "Untitled");
data/acm-6.0+20200416/src/gedit/gutil.c:78:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char    value[64];
data/acm-6.0+20200416/src/gedit/gutil.c:80:2:  [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 (value, "%d", p->x);
data/acm-6.0+20200416/src/gedit/gutil.c:82:2:  [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 (value, "%d", p->y);
data/acm-6.0+20200416/src/gedit/gutil.c:84:2:  [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 (value, "%d", p->z);
data/acm-6.0+20200416/src/gedit/gutil.c:105:2:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	bcopy ((char *) polygon_list, (char *) tmp,
data/acm-6.0+20200416/src/gedit/gutil.c:669:2:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	bcopy ((char *) tmp_point, (char *) points,
data/acm-6.0+20200416/src/gedit/gutil1.c:345:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char            s[32];
data/acm-6.0+20200416/src/gedit/gutil1.c:397: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 (s, "%d", xv);
data/acm-6.0+20200416/src/gedit/gutil1.c:408: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 (s, "%d", xv);
data/acm-6.0+20200416/src/gedit/io.c:72:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char    magic[8];
data/acm-6.0+20200416/src/gedit/io.c:84:11:  [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 ((f = fopen (name, "r")) == (FILE *) NULL) {
data/acm-6.0+20200416/src/gedit/io.c:213:11:  [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 ((f = fopen (name, "w")) == (FILE *) NULL) {
data/acm-6.0+20200416/src/gedit/shared.c:71:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char            s[64], *factor_s;
data/acm-6.0+20200416/src/gedit/shared.h:164:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char    name[32];       /* name of this marker */
data/acm-6.0+20200416/src/gedit/shared.h:199: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.
EXTERN char             filename[256];
data/acm-6.0+20200416/src/gedit/shared.h:205: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.
EXTERN char             craft_name[128];
data/acm-6.0+20200416/src/util/audio.c:131:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char    chunks_data[2][CHUNK_SIZE];
data/acm-6.0+20200416/src/util/audio.c:194:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(dst + dst_byte_index, src + src_byte_index, sample_len);
data/acm-6.0+20200416/src/util/audio.c:240:4:  [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(this->chunks_data[index] + CHUNK_SIZE - avail_in_buffer,
data/acm-6.0+20200416/src/util/audio.c:608:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(dst + dst_byte_index, src + src_byte_index, frame_len);
data/acm-6.0+20200416/src/util/error.c:57:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[999];
data/acm-6.0+20200416/src/util/error.c:71:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[999];
data/acm-6.0+20200416/src/util/error.c:85:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[999];
data/acm-6.0+20200416/src/util/gui.c:34: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 unsigned char compressed[256];
data/acm-6.0+20200416/src/util/gui.c:35: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 unsigned char expanded[256];
data/acm-6.0+20200416/src/util/gui.c:280: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.
	static char s[999];
data/acm-6.0+20200416/src/util/gui.c:281:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char win_err_descr[900];
data/acm-6.0+20200416/src/util/gui.c:873:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[99];
data/acm-6.0+20200416/src/util/gui.c:874:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(s, "%dx%d", width, height);
data/acm-6.0+20200416/src/util/gui.c:1039:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
					char      translated[9];
data/acm-6.0+20200416/src/util/memory.c:187:2:  [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(p, s, len);
data/acm-6.0+20200416/src/util/memory.c:290: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.
	static char buf[4][1000];
data/acm-6.0+20200416/src/util/memory.h:232:9:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define bcopy(s,d,n) memmove(d,s,n)
data/acm-6.0+20200416/src/util/reader.c:34:15:  [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).
	this->file = fopen(path, "r");
data/acm-6.0+20200416/src/util/reader.c:151: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).
	FILE *f = fopen(path, "r");
data/acm-6.0+20200416/src/util/wav.c:49:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char s[2];
data/acm-6.0+20200416/src/util/wav.c:62:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char s[4];
data/acm-6.0+20200416/src/util/wav.c:77:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char id[5];
data/acm-6.0+20200416/src/util/wav.c:154: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).
	FILE *f = fopen(filename, "rb");
data/acm-6.0+20200416/src/util/wav.c:167:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char WAVE[5];
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:264:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[MAXLINELENGTH], ModelName[] = "Enhanced Magnetic Model";/*Model Name must be no longer than 31 characters*/
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:267: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).
    MODELFILE = fopen(filename, "r");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:284: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).
    MODELFILE = fopen(filenameSV, "r");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:320:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[MAXLINELENGTH];
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:323: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).
    MODELFILE = fopen(filename, "r");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:472:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[20];
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:627:15:  [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).
    fileout = fopen(filename, "a");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:633:13:  [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(OutputFile, "GridResults.txt");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:635:13:  [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(OutputFile, "GridResults.txt");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:687:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char Error_Message[255];
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:688:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[40];
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:695:2:  [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(Qstring, "\nPlease enter latitude\nNorth latitude positive, For example:\n30, 30, 30 (D,M,S) or 30.508 (Decimal Degrees) (both are north)\n");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:698:5:  [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(Qstring,"\nPlease enter longitude\nEast longitude positive, West negative.  For example:\n-100.5 or -100, 30, 0 for 100.5 degrees west\n");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:701:2:  [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(Qstring,"\nPlease enter height above mean sea level (in kilometers):\n[For height above WGS-84 ellipsoid prefix E, for example (E20.1)]\n");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:853:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char DeclString[100];
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:854:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char InclString[100];
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:954:13:  [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(Error, "\nError: Input contains an illegal character, legal characters for Degree, Minute, Second format are:\n '0-9' ',' '-' '[space]' '[Enter]'\n");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:972:9:  [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(Error, "\nError: Not enough numbers used for Degrees, Minutes, Seconds format\n or they were incorrectly formatted\n The legal format is DD,MM,SS or DD MM SS\n");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:977: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(Error, "\nError: Degree input is outside legal range\n The legal range is from %d to %d\n", min, max);
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:984:9:  [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(Error, "\nError: Minute input is outside legal range\n The legal minute range is from 0 to 60\n");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:991:9:  [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(Error, "\nError: Second input is outside legal range\n The legal second range is from 0 to 60\n");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1011:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ans[20];
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1275: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).
    model->nMax = atoi(values[INTSTATICDEG]);
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1276:25:  [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).
    model->nMaxSecVar = atoi(values[INTSECVARDEG]);
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1535:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char Datestring[11];
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1539:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(Datestring, "%d/%d/%d", Date.Month, Date.Day, Date.Year);
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1540:11:  [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).
    OUT = fopen(filename, "w");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1561:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char Datestring[11];
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1565:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(Datestring, "%d/%d/%d", Date.Month, Date.Day, Date.Year);
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1566:11:  [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).
    OUT = fopen(filename, "w");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1580:11:  [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).
    OUT = fopen(filenameSV, "w");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1600: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).
	SHDF_file = fopen(filename, "w");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1668:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char c_str[81], c_new[5]; /*these strings are used to read a line from coefficient file*/
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1671:20:  [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).
    MAG_COF_File = fopen(filename, "r");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1740:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char c_str[81], c_str2[81]; /* these strings are used to read a line from coefficient file */
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1743:20:  [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).
    MAG_COF_File = fopen(filename, "r");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1744: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).
    MAG_COFSV_File = fopen(filenameSV, "r");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1830:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char paramkeys[NOOFPARAMS][MAXLINELENGTH] = {
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1848:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char paramvalues[NOOFPARAMS][MAXLINELENGTH];
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1851:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char paramvalue[MAXLINELENGTH];
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1869: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).
    stream = fopen(filename, READONLYMODE);
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1912:35:  [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).
                        tempint = atoi(paramvalues[i]);
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:2248:9:  [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(Error, "\nError: The Month entered is invalid, valid months are '1 to 12'\n");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:2254:9:  [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(Error, "\nError: The day entered is invalid\n");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:2280:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tempstring[36] = "";
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:2281:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tempstring2[32] = "";
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:2290:17:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                strcpy(tempstring2, "Deg");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:2293:17:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                strcpy(tempstring2, "Min");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:2296:17:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                strcpy(tempstring2, "Sec");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:3958:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char DeclString[100];
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:3959:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char InclString[100];
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:4040:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[64], Error_Message[255];
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:4100:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[64];
data/acm-6.0+20200416/src/wmm/Geomagnetism.h:143:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ModelName[32];
data/acm-6.0+20200416/src/wmm/Geomagnetism.h:240:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char Longitude[40];
data/acm-6.0+20200416/src/wmm/Geomagnetism.h:241:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char Latitude[40];
data/acm-6.0+20200416/test/V/animate.c:115: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).
				borderWidth = atoi (*(++c));
data/acm-6.0+20200416/test/V/animate.c:208:7:  [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).
	bw = atoi(tempstr);
data/acm-6.0+20200416/test/V/app.c:178: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 ((file = fopen(str, "r")) == (FILE *) NULL) {
data/acm-6.0+20200416/test/V/app.c:192: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 ((file = fopen(str, "r")) == (FILE *) NULL) {
data/acm-6.0+20200416/test/V/app.c:207: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 ((file = fopen(str, "r")) == (FILE *) NULL) {
data/acm-6.0+20200416/test/acm/astro-test.c:73: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 date_zulu_s[20];
data/acm-6.0+20200416/test/acm/astro-test.c:76:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char s[99], t[99];
data/acm-6.0+20200416/test/dis/dis/earth-test.c:108:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char xyz_s[99];
data/acm-6.0+20200416/test/dis/dis/earth-test.c:109:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	VPoint xyz2;       char xyz2_s[99];
data/acm-6.0+20200416/test/dis/dis/earth-test.c:110:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	earth_LatLonAlt geo;  char geo_s[99];
data/acm-6.0+20200416/test/dis/dis/earth-test.c:111:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	earth_LatLonAlt geo2; char geo2_s[99];
data/acm-6.0+20200416/test/dis/dis/xdr-test.c:53:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      buf[99];
data/acm-6.0+20200416/test/dis/dis/xdr-test.c:98:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      buf[99];
data/acm-6.0+20200416/test/dis/dis/xdr_dis-stress-test.c:84: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 packet[2048];
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:71:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      buf[2000];
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:144:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      buf[2000];
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:207:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      buf[2000];
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:276:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      buf[2000];
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:373:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      buf[2000];
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:458:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      buf[2000];
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:515:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      buf[2000];
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:571:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      buf[2000];
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:629:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      buf[2000];
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:684:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char      buf[2000];
data/acm-6.0+20200416/test/util/hashtable-test.c:26:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[10];
data/acm-6.0+20200416/test/util/hashtable-test.c:40: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(s, "%d", i);
data/acm-6.0+20200416/test/util/hashtable-test.c:49: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(s, "%d", i);
data/acm-6.0+20200416/test/util/hashtable-test.c:72:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[999];
data/acm-6.0+20200416/test/util/hashtable-test.c:76: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).
	FILE *f = fopen(__FILE__, "rb");
data/acm-6.0+20200416/test/util/hashtable-test.c:83:6:  [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).
	f = fopen(__FILE__, "rb");
data/acm-6.0+20200416/test/util/varray-test.c:38: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.
	static char res[99];
data/acm-6.0+20200416/test/util/zulu-test.c:59: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 got_d_s[20], exp_d_s[20];
data/acm-6.0+20200416/tools/chart/chart.c:48: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 scene_line[999];
data/acm-6.0+20200416/tools/chart/chart.c:57: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 *fields[FIELDS_MAX];
data/acm-6.0+20200416/tools/chart/chart.c:103:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char airportCode[8];
data/acm-6.0+20200416/tools/chart/chart.c:106:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char runwayIDs[8];
data/acm-6.0+20200416/tools/chart/chart.c:125:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char runwayEndID[8];
data/acm-6.0+20200416/tools/chart/chart.c:142:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line1[99];
data/acm-6.0+20200416/tools/chart/chart.c:143:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line2[99];
data/acm-6.0+20200416/tools/chart/chart.c:448:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[99];
data/acm-6.0+20200416/tools/chart/chart.c:482: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(s, "%d&degree; %02d' %c", degrees, primes, lato);
data/acm-6.0+20200416/tools/chart/chart.c:506: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(s, "%d&degree; %02d' %c", degrees, primes, lato);
data/acm-6.0+20200416/tools/chart/chart.c:552:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[99];
data/acm-6.0+20200416/tools/chart/chart.c:605:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line1[99];
data/acm-6.0+20200416/tools/chart/chart.c:607:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line2[99];
data/acm-6.0+20200416/tools/chart/chart.c:796:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line1[99];
data/acm-6.0+20200416/tools/chart/chart.c:799:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line2[99];
data/acm-6.0+20200416/tools/chart/chart.c:937:22:  [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).
		units_FEETtoMETERS(atoi(alt)));
data/acm-6.0+20200416/tools/chart/chart.c:939:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line1[99];
data/acm-6.0+20200416/tools/chart/chart.c:942:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line2[99];
data/acm-6.0+20200416/tools/chart/chart.c:1049:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[999];
data/acm-6.0+20200416/tools/chart/chart.c:1163:12:  [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).
			scale = atoi(v);
data/acm-6.0+20200416/tools/chart/chart.c:1171: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).
			curr_date_timestamp = atoi(v);
data/acm-6.0+20200416/tools/chart/chart.c:1190:15:  [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).
	scene_file = fopen(scene_file_name, "r");
data/acm-6.0+20200416/tools/chart/ratnest.c:30:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char slots[ratnest_N][ratnest_N];
data/acm-6.0+20200416/tools/chart/ratnest.c:36: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.
	static char s[99];
data/acm-6.0+20200416/tools/create-ils.c:88:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char loc_lat_s[99];
data/acm-6.0+20200416/tools/create-ils.c:90:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char loc_lon_s[99];
data/acm-6.0+20200416/tools/create-ils.c:92:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char gs_lat_s[99];
data/acm-6.0+20200416/tools/create-ils.c:94:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char gs_lon_s[99];
data/acm-6.0+20200416/tools/create-ils.c:133:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char id1[9], id2[9];
data/acm-6.0+20200416/tools/create-ils.c:166:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[999];
data/acm-6.0+20200416/tools/create-ils.c:174:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char *argv[99];
data/acm-6.0+20200416/tools/create-ufo-obv.c:35: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 this_polygon_color[100];
data/acm-6.0+20200416/tools/create-ufo-obv.c:37: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 this_polygon_vertices[2000];
data/acm-6.0+20200416/tools/create-ufo-obv.c:38: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 points[2000];
data/acm-6.0+20200416/tools/create-ufo-obv.c:39: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 polygons[2000];
data/acm-6.0+20200416/tools/create-ufo-obv.c:52:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[100];
data/acm-6.0+20200416/tools/create-ufo-obv.c:56:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(s, "%d %.2f %.2f %.2f\n", no_of_points, p->x, p->y, p->z);
data/acm-6.0+20200416/tools/create-ufo-obv.c:59:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(s, " %d", no_of_points);
data/acm-6.0+20200416/tools/create-ufo-obv.c:67:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[1000];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:363: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 line[9999]; // current line to parse
data/acm-6.0+20200416/tools/faaairports/faaairports.c:376:7:  [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).
	in = fopen(in_filename, "r");
data/acm-6.0+20200416/tools/faaairports/faaairports.c:441:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(field, line + a, field_len);
data/acm-6.0+20200416/tools/faaairports/faaairports.c:495:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char pk[12]; // airport primary key of the data base
data/acm-6.0+20200416/tools/faaairports/faaairports.c:496:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char id[29];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:497:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char type[14];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:498:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char elev[8];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:513:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char pk[12]; // airport primary key of the data base
data/acm-6.0+20200416/tools/faaairports/faaairports.c:514:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char id[4]; // runway end ID
data/acm-6.0+20200416/tools/faaairports/faaairports.c:587: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 id[8];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:595: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 lat1_text[16];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:606: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 lon1_text[16];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:614: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 pk[12];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:624: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 len[6];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:626: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 width[5];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:630: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 lat2_text[16];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:640: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 lon2_text[16];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:655: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 id1[4];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:657: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 id2[4];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:683:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char airport_pk[12];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:684:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char runwayEndId[4];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:685:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char type[11];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:721:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char airport_pk[12];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:722:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char id[7]; // name of the ILS, typically "I-XXX"
data/acm-6.0+20200416/tools/faaairports/faaairports.c:727:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char loc_status[23];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:728:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char loc_lat[15];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:729:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char loc_lon[15];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:730:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char loc_elev[8];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:731:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char loc_freq[8];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:732:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char loc_width[6];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:736:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char gs_status[23];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:737:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char gs_lat[15];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:738:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char gs_lon[15];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:739:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char gs_elev[8];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:740:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char gs_angle[6];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:743:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char dme_elev[8];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:868: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 bearing_mag_deg[7];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:870: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 mag_var[7];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:909:5:  [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(ils->loc_width, "5.0");
data/acm-6.0+20200416/tools/faaairports/faaairports.c:995: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 id[7];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:1013: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 elev[9];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:1172:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	int freq = atoi(s);
data/acm-6.0+20200416/tools/faaairports/faaairports.c:1183: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 type[21];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:1189: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 id[5];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:1191: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 lat[15];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:1194: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 lon[15];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:1197: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 elev[8];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:1199: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 freq[7];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:1201:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char channel[5];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:1219:4:  [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(type, "NDB");
data/acm-6.0+20200416/tools/faaairports/faaairports.c:1228:4:  [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(type, "NDB");
data/acm-6.0+20200416/tools/faaairports/faaairports.c:1297: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 elev_rounded[9];
data/acm-6.0+20200416/tools/faaairports/faaairports.c:1377:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[999];
data/acm-6.0+20200416/tools/ourairports_com/ourairports_com.c:121:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[999];
data/acm-6.0+20200416/tools/ourairports_com/ourairports_com.c:124:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char *argv[MAX_FIELDS];
data/acm-6.0+20200416/tools/ourairports_com/ourairports_com.c:236:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[999];
data/acm-6.0+20200416/tools/ourairports_com/ourairports_com.c:239:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char *argv[MAX_FIELDS];
data/acm-6.0+20200416/tools/ourairports_com/ourairports_com.c:392: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 stripe[8];
data/acm-6.0+20200416/tools/ourairports_com/ourairports_com.c:421: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 lat1[99], lon1[99], lat2[99], lon2[99];
data/acm-6.0+20200416/tools/ourairports_com/ourairports_com.c:454:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[999];
data/acm-6.0+20200416/tools/ourairports_com/ourairports_com.c:457:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char *argv[MAX_FIELDS];
data/acm-6.0+20200416/tools/ourairports_com/ourairports_com.c:579: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 freq[9];
data/acm-6.0+20200416/tools/ourairports_com/ourairports_com.c:612: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 lat_s[99], lon_s[99];
data/acm-6.0+20200416/tools/ourairports_com/ourairports_com.c:705:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[999];
data/acm-6.0+20200416/src/V/VObjects.c:424:25:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				: (((p->lookahead = getc(p->f)) == '\n') \
data/acm-6.0+20200416/src/V/VObjects.c:1159:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(buf1);
data/acm-6.0+20200416/src/V/VObjects.c:1176:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(buf2);
data/acm-6.0+20200416/src/V/VObjects.c:1891: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).
											object->name = memory_allocate(strlen(title) + 1, NULL);
data/acm-6.0+20200416/src/acm/acm.c:539: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).
								   strlen(args->arr[i])+1, ":/." ) == 0) {
data/acm-6.0+20200416/src/acm/adf.c:231:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		s1, strlen(s1), (int) (fh + 0.5), radarColor);
data/acm-6.0+20200416/src/acm/adf.c:234: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) (x + 13*fw - fw2*strlen(s2) + 0.5), (int) (y + 0.5),
data/acm-6.0+20200416/src/acm/adf.c:235:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		s2, strlen(s2), (int) (fh2 + 0.5), whiteColor);
data/acm-6.0+20200416/src/acm/adf.c:239:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		s3, strlen(s3), (int) (fh + 0.5), radarColor);
data/acm-6.0+20200416/src/acm/aim120.c:344:2:  [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(c->leftHUD[4], "");
data/acm-6.0+20200416/src/acm/aim9m.c:208:2:  [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(c->leftHUD[4], "");
data/acm-6.0+20200416/src/acm/browse.c:172: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).
							  strlen(buf), h, zm.color);
data/acm-6.0+20200416/src/acm/browse.c:177: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).
							  strlen(buf), h, z.color);
data/acm-6.0+20200416/src/acm/ccip.c:340:2:  [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(c->leftHUD[2], "");
data/acm-6.0+20200416/src/acm/ccip.c:341:2:  [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(c->leftHUD[4], "");
data/acm-6.0+20200416/src/acm/dis_if.c:1022:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(s, (char *) pdu->variable_datum->value.ptr_value, s_len);
data/acm-6.0+20200416/src/acm/dis_if.c:1252:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
		usleep ( interval_millisec * 1000 );
data/acm-6.0+20200416/src/acm/dis_if.c:1375:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy((char *) esPDU->marking.marking, (char *) e->markings, sizeof(esPDU->marking.marking));
data/acm-6.0+20200416/src/acm/dis_if.c:1679:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy((char *) e->markings, markings, MARKINGS_LEN);
data/acm-6.0+20200416/src/acm/dis_if.c:1688:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(markings, (char *) e->markings, max);
data/acm-6.0+20200416/src/acm/dis_if.c:2297: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).
	datum.value_length = 8*strlen(s);
data/acm-6.0+20200416/src/acm/draw.c:316:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	l = strlen(s);
data/acm-6.0+20200416/src/acm/hsi.c:577:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		s1, strlen(s1), (int) (fh + 0.5), radarColor);
data/acm-6.0+20200416/src/acm/hsi.c:580: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) (x + 13*fw - fw2*strlen(s2) + 0.5), (int) (y + 0.5),
data/acm-6.0+20200416/src/acm/hsi.c:581:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		s2, strlen(s2), (int) (fh2 + 0.5), whiteColor);
data/acm-6.0+20200416/src/acm/hsi.c:585:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		s3, strlen(s3), (int) (fh + 0.5), radarColor);
data/acm-6.0+20200416/src/acm/hsi.c:662:3:  [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(s, "");
data/acm-6.0+20200416/src/acm/hsi.c:663:3:  [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(r, "");
data/acm-6.0+20200416/src/acm/hud.c:325: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).
		buffer, strlen(buffer),
data/acm-6.0+20200416/src/acm/hud.c:462: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).
		s_len = strlen(s);
data/acm-6.0+20200416/src/acm/hud.c:771: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).
		VDrawStrokeString(u->v, x, y, buffer, strlen(buffer), fontH, color);
data/acm-6.0+20200416/src/acm/hud.c:797:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	VDrawStrokeString(u->v, x, y, buffer, strlen(buffer), fontH, color);
data/acm-6.0+20200416/src/acm/hud.c:802: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).
	VDrawStrokeString(u->v, x1, y, buffer, strlen(buffer), fontH, color);
data/acm-6.0+20200416/src/acm/hud.c:856:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	VDrawStrokeString(u->v, x, y, buffer, strlen(buffer), fontH, color);
data/acm-6.0+20200416/src/acm/hud.c:881: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).
			buffer, strlen(buffer), fontH, color);
data/acm-6.0+20200416/src/acm/hud.c:889:3:  [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(c->leftHUD[1], "");
data/acm-6.0+20200416/src/acm/hud.c:897:4:  [1] (buffer) strlen:
  Does not handle 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(c->leftHUD[i]), fontH, color);
data/acm-6.0+20200416/src/acm/hud.c:906:4:  [1] (buffer) strlen:
  Does not handle 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(c->rightHUD[i]), fontH, color);
data/acm-6.0+20200416/src/acm/hud.c:937:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	VDrawStrokeString(u->v, x, y, s, strlen(s), h, whiteColor);
data/acm-6.0+20200416/src/acm/instruments.c:421: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).
			l = strlen(buf);
data/acm-6.0+20200416/src/acm/instruments.c:445:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	l = strlen(buf);
data/acm-6.0+20200416/src/acm/instruments.c:541: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) (xo - 0.5 * fw * strlen(s) + 0.5),
data/acm-6.0+20200416/src/acm/instruments.c:543: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).
		s, strlen(s), (int)(fh+0.5), white_color);
data/acm-6.0+20200416/src/acm/instruments.c:730: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).
	s_len = strlen(s);
data/acm-6.0+20200416/src/acm/instruments.c:1096: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) (xo - fw * (strlen(buf)-1) + 0.5),
data/acm-6.0+20200416/src/acm/instruments.c:1098: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).
		buf, strlen(buf), (int)(fh+0.5), white_color);
data/acm-6.0+20200416/src/acm/instruments.c:1107: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).
		buf, strlen(buf), (int)(fh+0.5), white_color);
data/acm-6.0+20200416/src/acm/instruments.c:1382:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	l = strlen(buffer);
data/acm-6.0+20200416/src/acm/inventory.c:416:25:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				: (((p->lookahead = getc(p->f)) == '\n') \
data/acm-6.0+20200416/src/acm/joystick.c:153:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    n = read(fd, bytes, sizeof bytes);
data/acm-6.0+20200416/src/acm/joystick.c:478:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	n = read(fd, bytes, sizeof bytes);
data/acm-6.0+20200416/src/acm/m61a1.c:149:3:  [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(c->leftHUD[4], "");
data/acm-6.0+20200416/src/acm/magnetic_compass.c:218: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).
			s_len = strlen(s);
data/acm-6.0+20200416/src/acm/panel.c:187:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			VTranslate(&m, x + r4*co - 0.5*strlen(s)*w,
data/acm-6.0+20200416/src/acm/panel.c:189: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).
			vpath_draw_string(p, s, strlen(s), &m);
data/acm-6.0+20200416/src/acm/panel.c:215: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).
		VTranslate(&m, x + r4*co - 0.5*strlen(s)*w,
data/acm-6.0+20200416/src/acm/panel.c:217: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).
		vpath_draw_string(p, s, strlen(s), &m);
data/acm-6.0+20200416/src/acm/panel.c:317:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(label);
data/acm-6.0+20200416/src/acm/panel.c:496: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).
		s_len = strlen(s);
data/acm-6.0+20200416/src/acm/prompt.c:115: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).
		s_len = strlen(s);
data/acm-6.0+20200416/src/acm/prompt.c:190:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	l = strlen(pd->buf);
data/acm-6.0+20200416/src/acm/radar.c:156: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).
					 s, strlen(s), rfth);
data/acm-6.0+20200416/src/acm/radar.c:169: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).
					 s, strlen(s), rfth);
data/acm-6.0+20200416/src/acm/radar.c:192: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).
					 s, strlen(s), rfth);
data/acm-6.0+20200416/src/acm/radar.c:209: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).
					 s, strlen(s), rfth);
data/acm-6.0+20200416/src/acm/radar.c:223: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).
					 s, strlen(s), rfth);
data/acm-6.0+20200416/src/acm/radar.c:234: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).
					 s, strlen(s), rfth);
data/acm-6.0+20200416/src/acm/radar.c:683: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).
					seg, &u->radarImageCount, buf, strlen(buf), rfth);
data/acm-6.0+20200416/src/acm/radar.c:697:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			seg, &u->radarImageCount, buf, strlen(buf), rfth);
data/acm-6.0+20200416/src/acm/radar.c:703:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			seg, &u->radarImageCount, buf, strlen(buf), rfth);
data/acm-6.0+20200416/src/acm/radar.c:805:3:  [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(c->rightHUD[1], "");
data/acm-6.0+20200416/src/acm/radar.c:806:3:  [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(c->rightHUD[2], "");
data/acm-6.0+20200416/src/acm/render.c:818: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 len = strlen(s);
data/acm-6.0+20200416/src/acm/runway.c:441:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	l = strlen(s);
data/acm-6.0+20200416/src/acm/runway.c:460: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).
	len = strlen(s);
data/acm-6.0+20200416/src/acm/runway.c:501: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).
	} else if ( strlen(id) > 7 ) {
data/acm-6.0+20200416/src/acm/runway.c:725: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).
		if ( strlen(side1) > 0 ) {
data/acm-6.0+20200416/src/acm/runway.c:732: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).
		if ( strlen(side2) > 0 ) {
data/acm-6.0+20200416/src/acm/scale.c:124: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).
				p.x = seg[is].x2 - 3 - ftw * strlen(q);
data/acm-6.0+20200416/src/acm/scale.c:136:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			VDrawStrokeString(vp, p.x, p.y, q, strlen(q),
data/acm-6.0+20200416/src/acm/scale.c:230: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).
			p.x -= (strlen(q) * ftw) / 2;
data/acm-6.0+20200416/src/acm/scale.c:248:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			VDrawStrokeString(vp, p.x, p.y, q, strlen(q),
data/acm-6.0+20200416/src/acm/vpath_gallery.c:76: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).
			s_len = strlen(s);
data/acm-6.0+20200416/src/acm/weapon_null.c:65:2:  [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(c->leftHUD[2], "");  /* shot hint */
data/acm-6.0+20200416/src/acm/weapon_null.c:66:2:  [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(c->leftHUD[3], "");  /* weapon name */
data/acm-6.0+20200416/src/acm/weapon_null.c:67:2:  [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(c->leftHUD[4], "");  /* "FIRING", ecc. */
data/acm-6.0+20200416/src/acm/weapon_null.c:68:2:  [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(c->leftHUD[5], "");  /* ??? */
data/acm-6.0+20200416/src/dis/dis/earth.c:472:9:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		val = fgetc(p->f);
data/acm-6.0+20200416/src/dis/test/decoy.c:369:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
		strncpy((char *) esPDU->marking.marking, "HI THERE", sizeof(esPDU->marking.marking));
data/acm-6.0+20200416/src/gedit/gutil1.c:399:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		XDrawString (dpy, d, p->gc, x - xw / 2, font_y, s, strlen(s));
data/acm-6.0+20200416/src/gedit/gutil1.c:410:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		XDrawString (dpy, d, p->gc, x - xw / 2, font_y, s, strlen(s));
data/acm-6.0+20200416/src/gedit/gutil1.c:427:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	*xw = XTextWidth (app_data.ruler_font, s, strlen (s));
data/acm-6.0+20200416/src/gedit/io.c:79:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	n = strlen(name);
data/acm-6.0+20200416/src/util/audio.c:774:4:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
			usleep(100000);
data/acm-6.0+20200416/src/util/gui.c:152:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		int len = strlen(s);
data/acm-6.0+20200416/src/util/hashtable.c:279:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return hashtable_getHashOfMem(s, strlen(s));
data/acm-6.0+20200416/src/util/memory.c:185: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).
	len = strlen(s)+1;
data/acm-6.0+20200416/src/util/memory.c:213:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	slen = strlen(s);
data/acm-6.0+20200416/src/util/memory.c:214: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).
	taillen = strlen(tail);
data/acm-6.0+20200416/src/util/reader.c:54: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).
	int l = strlen(line);
data/acm-6.0+20200416/src/util/reader.c:141: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).
	res_capacity = 1 + strlen(to) + (last_slash_ptr - from + 1);
data/acm-6.0+20200416/src/util/reader.c:143:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(res, from, last_slash_ptr - from + 1);
data/acm-6.0+20200416/src/util/timer.c:120:2:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
	usleep(1000LL * ms);
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:482:5:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:490:5:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:498:5:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:506:5:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:514:5:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:524:5:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:534:9:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:542:9:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:555:9:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:564:9:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:573:5:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:579:5:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:585:5:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:593:5:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:601:5:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:608:9:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:615:9:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:626:5:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:631:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if(NULL==fgets(buffer, 20, stdin) || strlen(buffer) <= 1)
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:642:9:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:694:5:  [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, ""); /*Clear the input    */
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:697:5:  [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, ""); /*Clear the input*/
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:704:5:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:751:21:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:763:13:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:780:25:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:948: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).
    n = (int) strlen(input);
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1012:5:  [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(ans, "");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1236:5:  [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(MagneticModel->ModelName, "");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1880:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if(strlen(MAG_Trim(line)) == 0)
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1903: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).
                paramkeylength = strlen(paramkeys[i]);
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1906:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    paramvaluelength = strlen(line) - paramkeylength;
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1907:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(paramvalue, line + paramkeylength, paramvaluelength);
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:1978: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).
    end = str + strlen(str) - 1;
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:2282:5:  [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(DMSstring, "");
data/acm-6.0+20200416/src/wmm/Geomagnetism.c:4085:17:  [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/acm-6.0+20200416/src/wmm/Geomagnetism.c:4112:9:  [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/acm-6.0+20200416/test/acm/dis_if-test.c:59:1:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
usleep(unsigned useconds)
data/acm-6.0+20200416/test/acm/dis_if-test.c:222:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
		usleep(1000000 * DT);
data/acm-6.0+20200416/test/dis/dis/xdr-test.c:62: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).
	assert( xdr_putBytes(xdr, s_in, strlen(s_in)) );
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:397: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).
	variable_datum_in.value_length = 8*strlen(s);
data/acm-6.0+20200416/test/dis/dis/xdr_dis-test.c:712: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).
	variable_datum_in.value_length = 8*strlen(s);
data/acm-6.0+20200416/test/util/statistics.c:146:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		int len = strlen(statistics_s);
data/acm-6.0+20200416/tools/chart/chart.c:234:3:  [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(end1->runwayEndID, "?");
data/acm-6.0+20200416/tools/chart/chart.c:235:3:  [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(end2->runwayEndID, "?");
data/acm-6.0+20200416/tools/chart/ps.c:274: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).
		s = s + found_index + strlen(found_entity->name);
data/acm-6.0+20200416/tools/create-ils.c:139:3:  [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(id1, "?");
data/acm-6.0+20200416/tools/create-ils.c:140:3:  [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(id2, "?");
data/acm-6.0+20200416/tools/create-ufo-obv.c:46:2:  [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(this_polygon_vertices, "");
data/acm-6.0+20200416/tools/faaairports/faaairports.c:401: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).
		line_len = strlen(line);
data/acm-6.0+20200416/tools/faaairports/faaairports.c:810: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).
	int mag_var_len = strlen(mag_var);
data/acm-6.0+20200416/tools/faaairports/faaairports.c:894:5:  [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(ils->loc_elev, "0");
data/acm-6.0+20200416/tools/faaairports/faaairports.c:901:5:  [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(ils->loc_freq, "0");
data/acm-6.0+20200416/tools/faaairports/faaairports.c:926:5:  [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(ils->gs_elev, "0");
data/acm-6.0+20200416/tools/faaairports/faaairports.c:938:5:  [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(ils->dme_elev, "0");
data/acm-6.0+20200416/tools/faaairports/faaairports.c:998: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).
			memmove(id + 1, id + 2, strlen(id) -1);
data/acm-6.0+20200416/tools/faaairports/faaairports.c:1258:5:  [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(elev, "0");
data/acm-6.0+20200416/tools/faaairports/faaairports.c:1267:5:  [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(elev, "0");
data/acm-6.0+20200416/tools/ourairports_com/ourairports_com.c:163:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if( strlen(id) == 0 )
data/acm-6.0+20200416/tools/ourairports_com/ourairports_com.c:370: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).
			if( strlen(airport_ident) < 3 ){
data/acm-6.0+20200416/tools/ourairports_com/ourairports_com.c:375: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).
			if( strlen(airport_ident) > 4 ){
data/acm-6.0+20200416/tools/ourairports_com/ourairports_com.c:381: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).
			if( strlen(end1_id) < 2 || strlen(end1_id) > 3 ){
data/acm-6.0+20200416/tools/ourairports_com/ourairports_com.c:381: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).
			if( strlen(end1_id) < 2 || strlen(end1_id) > 3 ){
data/acm-6.0+20200416/tools/ourairports_com/ourairports_com.c:387: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).
			if( strlen(end2_id) < 2 || strlen(end2_id) > 3 ){
data/acm-6.0+20200416/tools/ourairports_com/ourairports_com.c:387: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).
			if( strlen(end2_id) < 2 || strlen(end2_id) > 3 ){
data/acm-6.0+20200416/tools/ourairports_com/ourairports_com.c:562: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).
			if( strlen(name) < 2 ){
data/acm-6.0+20200416/tools/ourairports_com/ourairports_com.c:567: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).
			if( strlen(name) > 4 ){

ANALYSIS SUMMARY:

Hits = 764
Lines analyzed = 78666 in approximately 2.05 seconds (38294 lines/second)
Physical Source Lines of Code (SLOC) = 49160
Hits@level = [0] 990 [1] 170 [2] 481 [3]   5 [4] 108 [5]   0
Hits@level+ = [0+] 1754 [1+] 764 [2+] 594 [3+] 113 [4+] 108 [5+]   0
Hits/KSLOC@level+ = [0+] 35.6794 [1+] 15.5411 [2+] 12.083 [3+] 2.29862 [4+] 2.19691 [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.