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/aravis-0.8.2/gst/gstaravis.c
Examining data/aravis-0.8.2/gst/gstaravis.h
Examining data/aravis-0.8.2/module/aravis-module.c
Examining data/aravis-0.8.2/module/aravis-module.h
Examining data/aravis-0.8.2/src/arv.h
Examining data/aravis-0.8.2/src/arvbuffer.c
Examining data/aravis-0.8.2/src/arvbuffer.h
Examining data/aravis-0.8.2/src/arvbufferprivate.h
Examining data/aravis-0.8.2/src/arvcamera.c
Examining data/aravis-0.8.2/src/arvcamera.h
Examining data/aravis-0.8.2/src/arvchunkparser.c
Examining data/aravis-0.8.2/src/arvchunkparser.h
Examining data/aravis-0.8.2/src/arvchunkparserprivate.h
Examining data/aravis-0.8.2/src/arvdebug.c
Examining data/aravis-0.8.2/src/arvdebug.h
Examining data/aravis-0.8.2/src/arvdebugprivate.h
Examining data/aravis-0.8.2/src/arvdevice.c
Examining data/aravis-0.8.2/src/arvdevice.h
Examining data/aravis-0.8.2/src/arvdeviceprivate.h
Examining data/aravis-0.8.2/src/arvdomcharacterdata.c
Examining data/aravis-0.8.2/src/arvdomcharacterdata.h
Examining data/aravis-0.8.2/src/arvdomdocument.c
Examining data/aravis-0.8.2/src/arvdomdocument.h
Examining data/aravis-0.8.2/src/arvdomdocumentfragment.c
Examining data/aravis-0.8.2/src/arvdomdocumentfragment.h
Examining data/aravis-0.8.2/src/arvdomelement.c
Examining data/aravis-0.8.2/src/arvdomelement.h
Examining data/aravis-0.8.2/src/arvdomimplementation.c
Examining data/aravis-0.8.2/src/arvdomimplementation.h
Examining data/aravis-0.8.2/src/arvdomnamednodemap.c
Examining data/aravis-0.8.2/src/arvdomnamednodemap.h
Examining data/aravis-0.8.2/src/arvdomnode.c
Examining data/aravis-0.8.2/src/arvdomnode.h
Examining data/aravis-0.8.2/src/arvdomnodechildlist.c
Examining data/aravis-0.8.2/src/arvdomnodechildlist.h
Examining data/aravis-0.8.2/src/arvdomnodelist.c
Examining data/aravis-0.8.2/src/arvdomnodelist.h
Examining data/aravis-0.8.2/src/arvdomparser.c
Examining data/aravis-0.8.2/src/arvdomparser.h
Examining data/aravis-0.8.2/src/arvdomtext.c
Examining data/aravis-0.8.2/src/arvdomtext.h
Examining data/aravis-0.8.2/src/arvenums.c
Examining data/aravis-0.8.2/src/arvenums.h
Examining data/aravis-0.8.2/src/arvevaluator.c
Examining data/aravis-0.8.2/src/arvevaluator.h
Examining data/aravis-0.8.2/src/arvfakecamera.c
Examining data/aravis-0.8.2/src/arvfakecamera.h
Examining data/aravis-0.8.2/src/arvfakedevice.c
Examining data/aravis-0.8.2/src/arvfakedevice.h
Examining data/aravis-0.8.2/src/arvfakedeviceprivate.h
Examining data/aravis-0.8.2/src/arvfakegvcamera.c
Examining data/aravis-0.8.2/src/arvfakeinterface.c
Examining data/aravis-0.8.2/src/arvfakeinterface.h
Examining data/aravis-0.8.2/src/arvfakeinterfaceprivate.h
Examining data/aravis-0.8.2/src/arvfakestream.c
Examining data/aravis-0.8.2/src/arvfakestream.h
Examining data/aravis-0.8.2/src/arvfakestreamprivate.h
Examining data/aravis-0.8.2/src/arvgc.c
Examining data/aravis-0.8.2/src/arvgc.h
Examining data/aravis-0.8.2/src/arvgcboolean.c
Examining data/aravis-0.8.2/src/arvgcboolean.h
Examining data/aravis-0.8.2/src/arvgccategory.c
Examining data/aravis-0.8.2/src/arvgccategory.h
Examining data/aravis-0.8.2/src/arvgccommand.c
Examining data/aravis-0.8.2/src/arvgccommand.h
Examining data/aravis-0.8.2/src/arvgcconverter.c
Examining data/aravis-0.8.2/src/arvgcconverter.h
Examining data/aravis-0.8.2/src/arvgcconverternode.c
Examining data/aravis-0.8.2/src/arvgcconverternode.h
Examining data/aravis-0.8.2/src/arvgcconverterprivate.h
Examining data/aravis-0.8.2/src/arvgcdefaultsprivate.h
Examining data/aravis-0.8.2/src/arvgcenumentry.c
Examining data/aravis-0.8.2/src/arvgcenumentry.h
Examining data/aravis-0.8.2/src/arvgcenumeration.c
Examining data/aravis-0.8.2/src/arvgcenumeration.h
Examining data/aravis-0.8.2/src/arvgcenums.h
Examining data/aravis-0.8.2/src/arvgcfeaturenode.c
Examining data/aravis-0.8.2/src/arvgcfeaturenode.h
Examining data/aravis-0.8.2/src/arvgcfeaturenodeprivate.h
Examining data/aravis-0.8.2/src/arvgcfloat.c
Examining data/aravis-0.8.2/src/arvgcfloat.h
Examining data/aravis-0.8.2/src/arvgcfloatnode.c
Examining data/aravis-0.8.2/src/arvgcfloatnode.h
Examining data/aravis-0.8.2/src/arvgcfloatregnode.c
Examining data/aravis-0.8.2/src/arvgcfloatregnode.h
Examining data/aravis-0.8.2/src/arvgcgroupnode.c
Examining data/aravis-0.8.2/src/arvgcgroupnode.h
Examining data/aravis-0.8.2/src/arvgcindexnode.c
Examining data/aravis-0.8.2/src/arvgcindexnode.h
Examining data/aravis-0.8.2/src/arvgcintconverternode.c
Examining data/aravis-0.8.2/src/arvgcintconverternode.h
Examining data/aravis-0.8.2/src/arvgcinteger.c
Examining data/aravis-0.8.2/src/arvgcinteger.h
Examining data/aravis-0.8.2/src/arvgcintegernode.c
Examining data/aravis-0.8.2/src/arvgcintegernode.h
Examining data/aravis-0.8.2/src/arvgcintregnode.c
Examining data/aravis-0.8.2/src/arvgcintregnode.h
Examining data/aravis-0.8.2/src/arvgcintswissknifenode.c
Examining data/aravis-0.8.2/src/arvgcintswissknifenode.h
Examining data/aravis-0.8.2/src/arvgcinvalidatornode.c
Examining data/aravis-0.8.2/src/arvgcinvalidatornode.h
Examining data/aravis-0.8.2/src/arvgcmaskedintregnode.c
Examining data/aravis-0.8.2/src/arvgcmaskedintregnode.h
Examining data/aravis-0.8.2/src/arvgcnode.c
Examining data/aravis-0.8.2/src/arvgcnode.h
Examining data/aravis-0.8.2/src/arvgcport.c
Examining data/aravis-0.8.2/src/arvgcport.h
Examining data/aravis-0.8.2/src/arvgcpropertynode.c
Examining data/aravis-0.8.2/src/arvgcpropertynode.h
Examining data/aravis-0.8.2/src/arvgcregister.c
Examining data/aravis-0.8.2/src/arvgcregister.h
Examining data/aravis-0.8.2/src/arvgcregisterdescriptionnode.c
Examining data/aravis-0.8.2/src/arvgcregisterdescriptionnode.h
Examining data/aravis-0.8.2/src/arvgcregisternode.c
Examining data/aravis-0.8.2/src/arvgcregisternode.h
Examining data/aravis-0.8.2/src/arvgcregisternodeprivate.h
Examining data/aravis-0.8.2/src/arvgcselector.c
Examining data/aravis-0.8.2/src/arvgcselector.h
Examining data/aravis-0.8.2/src/arvgcstring.c
Examining data/aravis-0.8.2/src/arvgcstring.h
Examining data/aravis-0.8.2/src/arvgcstringregnode.c
Examining data/aravis-0.8.2/src/arvgcstringregnode.h
Examining data/aravis-0.8.2/src/arvgcstructentrynode.c
Examining data/aravis-0.8.2/src/arvgcstructentrynode.h
Examining data/aravis-0.8.2/src/arvgcstructregnode.c
Examining data/aravis-0.8.2/src/arvgcstructregnode.h
Examining data/aravis-0.8.2/src/arvgcswissknife.c
Examining data/aravis-0.8.2/src/arvgcswissknife.h
Examining data/aravis-0.8.2/src/arvgcswissknifenode.c
Examining data/aravis-0.8.2/src/arvgcswissknifenode.h
Examining data/aravis-0.8.2/src/arvgcswissknifeprivate.h
Examining data/aravis-0.8.2/src/arvgcvalueindexednode.c
Examining data/aravis-0.8.2/src/arvgcvalueindexednode.h
Examining data/aravis-0.8.2/src/arvgvcp.c
Examining data/aravis-0.8.2/src/arvgvcpprivate.h
Examining data/aravis-0.8.2/src/arvgvdevice.c
Examining data/aravis-0.8.2/src/arvgvdevice.h
Examining data/aravis-0.8.2/src/arvgvdeviceprivate.h
Examining data/aravis-0.8.2/src/arvgvfakecamera.c
Examining data/aravis-0.8.2/src/arvgvfakecamera.h
Examining data/aravis-0.8.2/src/arvgvinterface.c
Examining data/aravis-0.8.2/src/arvgvinterface.h
Examining data/aravis-0.8.2/src/arvgvinterfaceprivate.h
Examining data/aravis-0.8.2/src/arvgvsp.c
Examining data/aravis-0.8.2/src/arvgvspprivate.h
Examining data/aravis-0.8.2/src/arvgvstream.c
Examining data/aravis-0.8.2/src/arvgvstream.h
Examining data/aravis-0.8.2/src/arvgvstreamprivate.h
Examining data/aravis-0.8.2/src/arvinterface.c
Examining data/aravis-0.8.2/src/arvinterface.h
Examining data/aravis-0.8.2/src/arvinterfaceprivate.h
Examining data/aravis-0.8.2/src/arvmisc.c
Examining data/aravis-0.8.2/src/arvmisc.h
Examining data/aravis-0.8.2/src/arvmiscprivate.h
Examining data/aravis-0.8.2/src/arvrealtime.c
Examining data/aravis-0.8.2/src/arvrealtime.h
Examining data/aravis-0.8.2/src/arvrealtimeprivate.h
Examining data/aravis-0.8.2/src/arvstr.c
Examining data/aravis-0.8.2/src/arvstr.h
Examining data/aravis-0.8.2/src/arvstream.c
Examining data/aravis-0.8.2/src/arvstream.h
Examining data/aravis-0.8.2/src/arvstreamprivate.h
Examining data/aravis-0.8.2/src/arvsystem.c
Examining data/aravis-0.8.2/src/arvsystem.h
Examining data/aravis-0.8.2/src/arvtest.c
Examining data/aravis-0.8.2/src/arvtool.c
Examining data/aravis-0.8.2/src/arvtypes.h
Examining data/aravis-0.8.2/src/arvuvcp.c
Examining data/aravis-0.8.2/src/arvuvcpprivate.h
Examining data/aravis-0.8.2/src/arvuvdevice.c
Examining data/aravis-0.8.2/src/arvuvdevice.h
Examining data/aravis-0.8.2/src/arvuvdeviceprivate.h
Examining data/aravis-0.8.2/src/arvuvinterface.c
Examining data/aravis-0.8.2/src/arvuvinterface.h
Examining data/aravis-0.8.2/src/arvuvinterfaceprivate.h
Examining data/aravis-0.8.2/src/arvuvsp.c
Examining data/aravis-0.8.2/src/arvuvspprivate.h
Examining data/aravis-0.8.2/src/arvuvstream.c
Examining data/aravis-0.8.2/src/arvuvstream.h
Examining data/aravis-0.8.2/src/arvuvstreamprivate.h
Examining data/aravis-0.8.2/src/arvwakeup.c
Examining data/aravis-0.8.2/src/arvwakeupprivate.h
Examining data/aravis-0.8.2/src/arvxmlschema.c
Examining data/aravis-0.8.2/src/arvxmlschema.h
Examining data/aravis-0.8.2/src/arvzip.c
Examining data/aravis-0.8.2/src/arvzip.h
Examining data/aravis-0.8.2/tests/arvacquisitiontest.c
Examining data/aravis-0.8.2/tests/arvautopacketsizetest.c
Examining data/aravis-0.8.2/tests/arvcameratest.c
Examining data/aravis-0.8.2/tests/arvchunkparsertest.c
Examining data/aravis-0.8.2/tests/arvdevicescantest.c
Examining data/aravis-0.8.2/tests/arvdevicetest.c
Examining data/aravis-0.8.2/tests/arvevaluatortest.c
Examining data/aravis-0.8.2/tests/arvexample.c
Examining data/aravis-0.8.2/tests/arvgenicamtest.c
Examining data/aravis-0.8.2/tests/arvheartbeattest.c
Examining data/aravis-0.8.2/tests/arvroitest.c
Examining data/aravis-0.8.2/tests/arvziptest.c
Examining data/aravis-0.8.2/tests/buffer.c
Examining data/aravis-0.8.2/tests/cpp.cc
Examining data/aravis-0.8.2/tests/evaluator.c
Examining data/aravis-0.8.2/tests/fake.c
Examining data/aravis-0.8.2/tests/fakegv.c
Examining data/aravis-0.8.2/tests/genicam.c
Examining data/aravis-0.8.2/tests/loadhttptest.c
Examining data/aravis-0.8.2/tests/misc.c
Examining data/aravis-0.8.2/tests/realtimetest.c
Examining data/aravis-0.8.2/tests/timetest.c
Examining data/aravis-0.8.2/viewer/arvviewer.c
Examining data/aravis-0.8.2/viewer/arvviewer.h
Examining data/aravis-0.8.2/viewer/arvviewertypes.h
Examining data/aravis-0.8.2/viewer/main.c

FINAL RESULTS:

data/aravis-0.8.2/src/arvfakecamera.c:951: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 (((char *) memory) + ARV_GVBS_DEVICE_VERSION_OFFSET, ARAVIS_VERSION);
data/aravis-0.8.2/src/arvfakecamera.c:952: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 (((char *) memory) + ARV_GVBS_SERIAL_NUMBER_OFFSET, serial_number);
data/aravis-0.8.2/src/arvfakecamera.c:957: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 (((char *) memory) + ARV_GVBS_XML_URL_0_OFFSET, xml_url);
data/aravis-0.8.2/src/arvgvfakecamera.c:355:8:  [3] (random) g_random_double:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			if (g_random_double () >= gv_fake_camera->priv->gvsp_lost_packet_ratio)
data/aravis-0.8.2/src/arvgvfakecamera.c:381:9:  [3] (random) g_random_double:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				if (g_random_double () >= gv_fake_camera->priv->gvsp_lost_packet_ratio)
data/aravis-0.8.2/src/arvgvfakecamera.c:403:8:  [3] (random) g_random_double:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			if (g_random_double () >= gv_fake_camera->priv->gvsp_lost_packet_ratio)
data/aravis-0.8.2/gst/gstaravis.c:522: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 (data + i * gst_row_stride, buffer_data + i * arv_row_stride, arv_row_stride);
data/aravis-0.8.2/src/arvdebug.c:139:24:  [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).
					category->level = atoi (infos[1]);
data/aravis-0.8.2/src/arvdomparser.c:110:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
							       (char *) attrs[i],
data/aravis-0.8.2/src/arvdomparser.c:111:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
							       (char *) attrs[i+1]);
data/aravis-0.8.2/src/arvfakecamera.c:108: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 (buffer, ((char *) camera->priv->memory) + address, read_size);
data/aravis-0.8.2/src/arvfakecamera.c:121: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 (buffer, ((char *) camera->priv->genicam_xml) + address, read_size);
data/aravis-0.8.2/src/arvfakecamera.c:140: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 *) camera->priv->memory) + address, buffer, size);
data/aravis-0.8.2/src/arvfakecamera.c:949: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 (((char *) memory) + ARV_GVBS_MANUFACTURER_NAME_OFFSET, "Aravis");
data/aravis-0.8.2/src/arvfakecamera.c:950: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 (((char *) memory) + ARV_GVBS_MODEL_NAME_OFFSET, "Fake");
data/aravis-0.8.2/src/arvgcport.c:134: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 (buffer, chunk_data + address, MIN (chunk_data_size - address, length));
data/aravis-0.8.2/src/arvgcport.c:196: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 (chunk_data + address, buffer, MIN (chunk_data_size - address, length));
data/aravis-0.8.2/src/arvgcpropertynode.c:462: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 buffer[G_ASCII_DTOSTR_BUF_SIZE];
data/aravis-0.8.2/src/arvgcregisternode.c:93: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 v_string[G_ASCII_DTOSTR_BUF_SIZE];
data/aravis-0.8.2/src/arvgcregisternode.c:342: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 (cache, buffer, length);
data/aravis-0.8.2/src/arvgcregisternode.c:487: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 (buffer, cache, cache_length);
data/aravis-0.8.2/src/arvgcregisternode.c:490: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 (buffer, cache, length);
data/aravis-0.8.2/src/arvgcregisternode.c:517: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 (cache, buffer, length);
data/aravis-0.8.2/src/arvgcregisternode.c:520: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 (cache, buffer, cache_length);
data/aravis-0.8.2/src/arvgcstructentrynode.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 v_string[G_ASCII_DTOSTR_BUF_SIZE];
data/aravis-0.8.2/src/arvgvcp.c:74: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 (&packet->data, &n_address, sizeof (guint32));
data/aravis-0.8.2/src/arvgvcp.c:75: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 (&packet->data[sizeof(guint32)], &n_size, sizeof (guint32));
data/aravis-0.8.2/src/arvgvcp.c:109: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 (&packet->data, &n_address, sizeof (guint32));
data/aravis-0.8.2/src/arvgvcp.c:146: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 (&packet->data, &n_address, sizeof (guint32));
data/aravis-0.8.2/src/arvgvcp.c:147: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 *) packet + sizeof (ArvGvcpPacket) + sizeof (guint32), buffer, size);
data/aravis-0.8.2/src/arvgvcp.c:182: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 (&packet->data, &n_address, sizeof (guint32));
data/aravis-0.8.2/src/arvgvcp.c:217: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 (&packet->data, &n_address, sizeof (guint32));
data/aravis-0.8.2/src/arvgvcp.c:252: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 (&packet->data, &n_value, sizeof (guint32));
data/aravis-0.8.2/src/arvgvcp.c:290: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 (&packet->data, &n_address, sizeof (guint32));
data/aravis-0.8.2/src/arvgvcp.c:291: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 (&packet->data[sizeof (guint32)], &n_value, sizeof (guint32));
data/aravis-0.8.2/src/arvgvcp.c:326: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 (&packet->data, &n_data_index, sizeof (guint32));
data/aravis-0.8.2/src/arvgvdevice.c:300:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
						memcpy (buffer, arv_gvcp_packet_get_read_memory_ack_data (ack_packet), size);
data/aravis-0.8.2/src/arvgvdevice.c:697: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 filename[ARV_GVBS_XML_URL_SIZE];
data/aravis-0.8.2/src/arvgvinterface.c:238: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 (infos->discovery_data, discovery_data, ARV_GVBS_DISCOVERY_DATA_SIZE);
data/aravis-0.8.2/src/arvgvinterface.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 buffer[ARV_GV_INTERFACE_SOCKET_BUFFER_SIZE];
data/aravis-0.8.2/src/arvgvinterface.c:483: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[ARV_GV_INTERFACE_SOCKET_BUFFER_SIZE];
data/aravis-0.8.2/src/arvgvinterface.c:627: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 ipstr[INET_ADDRSTRLEN];
data/aravis-0.8.2/src/arvgvsp.c:127: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 (arv_gvsp_packet_get_data (packet), data, size);
data/aravis-0.8.2/src/arvgvstream.c:327: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 *) frame->buffer->priv->data) + block_offset, arv_gvsp_packet_get_data (packet), block_size);
data/aravis-0.8.2/src/arvmisc.c:175: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 (histogram->name, name, length + 1);
data/aravis-0.8.2/src/arvmisc.c:454: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 (to, from, to_size);
data/aravis-0.8.2/src/arvmisc.c:456: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 (to, from, from_size);
data/aravis-0.8.2/src/arvmisc.c:462: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 (to, ((char *) from) + from_size - to_size, to_size);
data/aravis-0.8.2/src/arvmisc.c:464: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 (((char *) to) + to_size - from_size, from, from_size);
data/aravis-0.8.2/src/arvuvdevice.c:228: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 (buffer, arv_uvcp_packet_get_read_memory_ack_data (read_packet), size);
data/aravis-0.8.2/src/arvuvdevice.c:299: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 (arv_uvcp_packet_get_write_memory_cmd_data (packet), buffer, size);
data/aravis-0.8.2/src/arvuvdevice.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 manufacturer[64];
data/aravis-0.8.2/src/arvuvstream.c:208:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
								memcpy (((char *) buffer->priv->data) + offset, packet, transferred);
data/aravis-0.8.2/src/arvwakeup.c:191: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 buffer[16];
data/aravis-0.8.2/src/arvzip.c:267: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 (output_buffer, zip->buffer + offset, zip_file->uncompressed_size);
data/aravis-0.8.2/tests/arvdevicetest.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 memory_buffer[100000];
data/aravis-0.8.2/tests/genicam.c:833: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 *) &data[offset - 64], "Hello" ,sizeof ("Hello"));
data/aravis-0.8.2/viewer/arvviewer.c:323: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 (((char *) data) + i * gst_row_stride, buffer_data + i * arv_row_stride, arv_row_stride);
data/aravis-0.8.2/src/arvdomparser.c:229: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).
		size = strlen (buffer);
data/aravis-0.8.2/src/arvfakecamera.c:920:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	g_return_val_if_fail (strlen (serial_number) < ARV_GVBS_SERIAL_NUMBER_SIZE, NULL);
data/aravis-0.8.2/src/arvgcenumeration.c:628: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).
		length = name != NULL ? strlen (name) : 0;
data/aravis-0.8.2/src/arvgcstringregnode.c:81: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).
	str_length = strlen(value);
data/aravis-0.8.2/src/arvmisc.c:167: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).
	length = strlen (name);
data/aravis-0.8.2/src/arvstr.c:63: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).
	n_illegal_chars = strlen (illegal_chars);
data/aravis-0.8.2/src/arvstr.c:103: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).
	if (strlen (str) < 4)
data/aravis-0.8.2/src/arvstr.c:119: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).
	if (strlen (p) < 3)
data/aravis-0.8.2/src/arvwakeup.c:194:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while (read (wakeup->fds[0], buffer, sizeof buffer) == sizeof buffer);
data/aravis-0.8.2/tests/arvheartbeattest.c:122:8:  [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(10);
data/aravis-0.8.2/tests/fakegv.c:140: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 (1000);
data/aravis-0.8.2/tests/fakegv.c:210: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 (10000);
data/aravis-0.8.2/tests/genicam.c:419:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	g_assert_cmpint (v_int64, ==, strlen ("EntryNotImplemented"));

ANALYSIS SUMMARY:

Hits = 71
Lines analyzed = 46943 in approximately 1.10 seconds (42804 lines/second)
Physical Source Lines of Code (SLOC) = 30103
Hits@level = [0] 137 [1]  13 [2]  52 [3]   3 [4]   3 [5]   0
Hits@level+ = [0+] 208 [1+]  71 [2+]  58 [3+]   6 [4+]   3 [5+]   0
Hits/KSLOC@level+ = [0+] 6.90961 [1+] 2.35857 [2+] 1.92672 [3+] 0.199316 [4+] 0.0996578 [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.