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/unicap-0.9.12+repack20150328.0.git2c600ae/common/queue.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/common/ucutil.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/common/queue.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca_private.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/1394util.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca_property_table.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/Fcp.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_base.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_base.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/aravis_cpi.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/queue.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/aravis_tools.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/aravis_properties.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/aravis_properties.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/logging.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/logging.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/aravis_tools.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/aravis_cpi.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/queue.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_colorproc.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/queue.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/debayer.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_devspec.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_cpi.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_device.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_devspec.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/debayer.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_device.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/logging.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_capture.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_capture.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_cpi.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/logging.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_colorproc.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/queue.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_capture.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_offsets.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_busreset.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_juju_capture.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_defs.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_v_modes.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_v_modes.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_isoch_table.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/1394util.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_property.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_juju.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_functions.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_format_table.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_property_table.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_busreset.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_property.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_functions.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_capture.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/thing/queue.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/thing/thing.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/thing/thing.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/include/video1394.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/include/unicap_cpi.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/include/unicap_cpi_std_struct.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/include/1394util.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/include/video1394_2_4.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/include/ieee1394-ioctl.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/include/static_cpi.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/udev.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/udev_stub.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/uvc_compat.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2_i18n_strings.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/udev.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/buffermanager.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/uvcvideo.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tisuvccam.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tisuvccam.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/buffermanager.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/include/unicap.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/include/check_match.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/include/debug.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/include/unicap_private.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/include/unicap_helpers.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/include/unicap_status.h
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_cache.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/src/check_match.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c
Examining data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c

FINAL RESULTS:

data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/aravis_cpi.c:201:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy (handle->formats[idx].identifier, aravis_tools_get_pixel_format_string (pixel_formats[i]));
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/aravis_cpi.c:260: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 (format->identifier, aravis_tools_get_pixel_format_string (pixel_fmt));
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/logging.c:59:7:  [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( message, sizeof( message ), format, ap );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_functions.c:585: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( device->vendor_name, buffer );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_functions.c:605: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( device->model_name, buffer );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_functions.c:611: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( device->identifier, buffer );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_property.c:428:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy( property->menu_item, dcam_property->unicap_property.menu.menu_items[3] );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_property.c:435: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( property->menu_item, dcam_property->unicap_property.menu.menu_items[1] );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_property.c:440: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( property->menu_item, dcam_property->unicap_property.menu.menu_items[0] );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_property.c:445:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy( property->menu_item, dcam_property->unicap_property.menu.menu_items[2] );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_property.c:619:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy( property->menu_item, dcam_property->unicap_property.menu.menu_items[1] );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_property.c:624:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy( property->menu_item, dcam_property->unicap_property.menu.menu_items[0] );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_property.c:1070:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( dcam_property->unicap_property.menu_item, dcam_trigger_modes[ ( dcam_property->register_default>>16 ) & 0xf ] );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_property.c:1087:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( dcam_property->unicap_property.menu_item, dcamhandle->trigger_polarities[( dcam_property->register_default >> 26 ) & 1] );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_property.c:1746: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( property->menu_item, dcamhandle->trigger_polarities[( dcam_property->register_default >> 26 ) & 1] );	 
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_cpi.c:117:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy( device->identifier, dev->identifier );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_cpi.c:118:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy( device->model_name, dev->strProduct );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_cpi.c:119:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy( device->vendor_name, dev->strVendor );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.c:243:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	 sprintf( buspath, "%s/%s", usb_path, usbdirent->d_name );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.c:257:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	       sprintf( devpath, "%s/%s", buspath, busdirent->d_name );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.c:291:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		     strcpy( dev.devpath, devpath );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.c:292:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		     sprintf( dev.identifier, "%s %s %s", dev.strVendor, dev.strProduct, dev.strSerialNumber );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.c:325: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( unicap_device->vendor_name, dev->strVendor );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.c:326: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( unicap_device->model_name, dev->strProduct );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.c:329: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( unicap_device->device, dev->devpath );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/logging.c:60:7:  [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( message, sizeof( message ), format, ap );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:229:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf( devname, "/dev/%s", namelist[n]->d_name );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:278:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf( device->identifier, "%s [%d]", v4lcap.name, index );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:279:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( device->device, devname );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:280:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( device->model_name, v4lcap.name );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:550:5:  [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.
	   printf( str );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:91:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( tmp, path );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:93:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf( devicepath, "/sys/class/video4linux/%s/device", basen );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:101:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( vendidpath, devicepath );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:122:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( prodidpath, devicepath );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:249:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->identifier, N_("trigger") );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:250:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->category, N_("device" ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:267:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->identifier, N_("shutter") );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:268:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->category, N_("exposure") );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:291:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->identifier, N_("gain") );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:292:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->category, N_("exposure" ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tisuvccam.c:499:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->identifier, N_("shutter") );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tisuvccam.c:500:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->category, N_("exposure") );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tisuvccam.c:501:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->unit, N_("s") );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tisuvccam.c:519:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->identifier, N_("gain") );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tisuvccam.c:520:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->category, N_("exposure") );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tisuvccam.c:539:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->identifier, N_("white balance mode") );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tisuvccam.c:540:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->category, N_("color") );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tisuvccam.c:934:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	       strcpy( property->menu_item, TRIGGER_FREE_RUNNING );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tisuvccam.c:938:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	       strcpy( property->menu_item, TRIGGER_FALLING_EDGE );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tisuvccam.c:942:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	       strcpy( property->menu_item, TRIGGER_RISING_EDGE );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/udev.c:56:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
					strcpy (ret, serial);
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:416:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf( devname, "/dev/%s", namelist[n]->d_name );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:462:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	   sprintf( device->identifier, "%s %s", v4l2caps.card, serial );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:466:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	   sprintf( device->identifier, "%s (%s)", v4l2caps.card, devname );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:469:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( device->model_name, (char*)v4l2caps.card );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:473:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( device->device, devname ) ;  
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:549:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	   sprintf( identifier, "%s %s", v4l2caps.card, serial );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:552:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	   sprintf( identifier, "%s (%s)", v4l2caps.card, device->device );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:570:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( handle->card_name, (char*) v4l2caps.card );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:870:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf( tmp_identifier, "%s ( %c%c%c%c )", 
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:889:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy( handle->unicap_formats[v4l2_fmt.index].identifier, identifier );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1153:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( property->identifier, V4L2_VIDEO_FRAMERATE_PPTY_NAME );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1250:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( property->identifier, V4L2_VIDEO_IN_PPTY_NAME );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1251:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( property->category, N_("source") );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1255:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( property->menu_item, property->menu.menu_items[0] );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1294: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( handle->video_norms[standard.index], (char*)standard.name );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1311:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( property->identifier, V4L2_VIDEO_NORM_PPTY_NAME );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1316:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( property->menu_item, property->menu.menu_items[0] );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1364:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->identifier, N_("shutter") );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1365:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->category, N_("exposure") );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1366:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->unit, N_("s") );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1439: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( handle->unicap_properties[ tmp_ppty_index ].identifier, 
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1455: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( handle->unicap_properties[ tmp_ppty_index ].category, get_category( handle->unicap_properties[ tmp_ppty_index ].identifier ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1554: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( handle->unicap_properties[ tmp_ppty_index ].identifier, 
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1571: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( handle->unicap_properties[ tmp_ppty_index ].category, get_category( handle->unicap_properties[ tmp_ppty_index ].identifier ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1919:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy( property->menu_item, handle->video_inputs[input.index] );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1946: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( property->menu_item, (char*)standard.name );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c:1108:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->menu_item, VIDEO_SOURCE_COMPOSITE_1 );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c:1111:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->menu_item, VIDEO_SOURCE_COMPOSITE_2 );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c:1114:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->menu_item, VIDEO_SOURCE_COMPOSITE_3 );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c:1117:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->menu_item, VIDEO_SOURCE_COMPOSITE_4 );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c:1120:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->menu_item, VIDEO_SOURCE_SVHS );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c:1123:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->menu_item, VIDEO_SOURCE_NONE );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c:1133: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( property->menu_item, video_norm_menu_items[0] );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c:1137: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( property->menu_item, video_norm_menu_items[1] );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:667:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->menu_item, VISCA_AE_MENU_ITEM_MANUAL );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:673:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->menu_item, VISCA_AE_MENU_ITEM_FULL_AUTO );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:679:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->menu_item, VISCA_AE_MENU_ITEM_SHUTTER_PRIO );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:685:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->menu_item, VISCA_AE_MENU_ITEM_IRIS_PRIO );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:691:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy( property->menu_item, VISCA_AE_MENU_ITEM_BRIGHT );
data/unicap-0.9.12+repack20150328.0.git2c600ae/include/debug.h:27:84:  [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 TRACE( x... ) {printf( "%s %s (%d) :", __FILE__, __FUNCTION__, __LINE__ ); printf( x );}
data/unicap-0.9.12+repack20150328.0.git2c600ae/include/debug.h:29:25:  [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 DBGOUT( x... ) {printf(x);}
data/unicap-0.9.12+repack20150328.0.git2c600ae/include/debug.h:36:91:  [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 ERROR( x... ) fprintf( stderr, "% %s (%d) :", __FILE__, __FUNCTION__, __LINE__ ); printf( x )
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:358:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( buffer, PKGLIBDIR "/cpi" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:371:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf( filename, "%s/%s", dirname, cpi_dirent->d_name );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:416: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( g_devices[current_index].cpi_layer, filename );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:930:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( spec.identifier, identifier );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:951:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( spec.identifier, identifier );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:976:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( spec.identifier, identifier );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:1001:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( spec.identifier, identifier );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:1045:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( spec.identifier, identifier );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:1079:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( spec.identifier, identifier );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:1094:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( menu_item, prop.menu_item );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:1112:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy( spec.identifier, identifier );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:1280:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf( uid, "%s", device->identifier );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:1320:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf( uid, "%s", handle->device.identifier );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_cache.c:52:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	 if( !strcpy( g_cache[ i ].key, key ) )
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_cache.c:65:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	       strcpy( g_cache[ i ].key, key );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:100:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf( tmp_buffer, 
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:125:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf( tmp_buffer, 
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:159: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( dest->identifier, src->identifier );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:183: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( dest->identifier, src->identifier );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:184: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( dest->category, src->category );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:185: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( dest->unit, src->unit );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:193: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( dest->menu_item, src->menu_item );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:230: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( dest->identifier, src->identifier );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:231: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( dest->category, src->category );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:232: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( dest->unit, src->unit );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:241:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy( dest->menu_item, src->menu_item );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:278:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf( tmp_buffer, 
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/logging.c:32:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   char *tmp = getenv( "UNICAP_EUVCCAM_LOG_PATH" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/logging.c:37:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   tmp = getenv( "UNICAP_EUVCCAM_LOG_LEVEL" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/logging.c:41:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   tmp = getenv( "UNICAP_EUVCCAM_LOG_MODULES_MASK" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam.c:327:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   if( ( env = getenv( "UNICAP_DCAM_BW_CONTROL" ) ) )
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/logging.c:33:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   char *tmp = getenv( "UNICAP_EUVCCAM_LOG_PATH" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/logging.c:38:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   tmp = getenv( "UNICAP_EUVCCAM_LOG_LEVEL" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/logging.c:42:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   tmp = getenv( "UNICAP_EUVCCAM_LOG_MODULES_MASK" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:95:9:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
   if( !realpath( devicepath, respath ) )
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/aravis_cpi.c:98: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 (reg_data, &cpi_s, sizeof( struct _unicap_cpi ));
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/aravis_cpi.c:131: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 (device->cpi_layer, "aravis_cpi");
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/aravis_properties.c:169: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 (propt + cnt, aravis_properties + i, sizeof (struct aravis_property));
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/logging.c:35: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).
      g_logfp = fopen( tmp, "w" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/logging.c:39:21:  [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).
      g_log_level = atoi( tmp );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/logging.c:43:28:  [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).
      g_log_modules_mask = atoi( tmp );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/logging.c:56:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char message[ 128 ];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam.c:126: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( reg_data, &cpi_s, sizeof( struct _unicap_cpi ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam.c:379: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( &dcamhandle->unicap_device, device, sizeof( unicap_device_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam.c:505: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( format, &dcamhandle->v_format_array[index], sizeof( unicap_format_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam.c:642: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( format, &_dcam_unicap_formats[index], sizeof( unicap_format_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam.h:172:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char *trigger_polarities[2];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_capture.c:152: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( dcamhandle->current_buffer->data + dcamhandle->current_buffer_offset, data, len );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_capture.c:174: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 dev_file[512];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_capture.c:181: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( dev_file, "/dev/video1394/%d", dcamhandle->port );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_capture.c:182:23:  [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).
	dcamhandle->dma_fd = open( dev_file, O_RDONLY );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_capture.c:189: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( dev_file, "/dev/video1394-%d", dcamhandle->port );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_capture.c:190:24:  [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).
		dcamhandle->dma_fd = open( dev_file, O_RDONLY );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_capture.c:193: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( dev_file, "/dev/video1394" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_capture.c:195:26:  [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).
				dcamhandle->dma_fd = open( dev_file, O_RDONLY );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_capture.c:327: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_buffer->fill_time, &vwait.filltime, sizeof( struct timeval ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_capture.c:335:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy( data_buffer->data, 
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_capture.c:352:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		   memcpy( &tmpbuffer.fill_time, &vwait.filltime, sizeof( struct timeval ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_capture.c:364:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy( &data_buffer->fill_time, &vwait.filltime, sizeof( struct timeval ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_capture.c:371:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
					memcpy( data_buffer->data, 
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_capture.c:445: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( &data_buffer->fill_time, &vwait.filltime, sizeof( struct timeval ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_capture.c:453:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	 memcpy( data_buffer->data, 
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_capture.c:470: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( &tmpbuffer.fill_time, &vwait.filltime, sizeof( struct timeval ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_capture.c:482:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	 memcpy( &data_buffer->fill_time, &vwait.filltime, sizeof( struct timeval ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_capture.c:489:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy( data_buffer->data, 
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_functions.c:80: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( &dcamhandle->last_register_access, &ctime, sizeof( struct timeval ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_functions.c:129: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( &dcamhandle->last_register_access, &ctime, sizeof( struct timeval ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_functions.c:440: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+(i*4), &val, 4 );		
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_functions.c:550: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[128];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_functions.c:560: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( device->device, "/dev/raw1394" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_functions.c:667:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
						char identifier[128];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_functions.c:668:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
						char vendor_name[128];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_functions.c:669:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
						char model_name[128];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_functions.c:739:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
						char vendor_name[128];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_functions.c:775:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
						char model_name[128];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_juju_capture.c:89: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[PATH_MAX];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_juju_capture.c:93: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 (filename, "/dev/fw%d", dcamhandle->port);
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_juju_capture.c:94:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open (filename, O_RDWR);
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_juju_capture.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 filename[PATH_MAX];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_juju_capture.c:122: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 (filename, "/dev/fw%d", dcamhandle->port);
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_juju_capture.c:124:23:  [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).
	dcamhandle->dma_fd = open (filename, O_RDWR);
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_juju_capture.c:404:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy( data_buffer->data,
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_juju_capture.c:411: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_buffer->fill_time,
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_juju_capture.c:429:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		   memcpy (&tmpbuffer.fill_time,
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_property.c:1620: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( property, &dcam_property->unicap_property, sizeof( unicap_property_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_v_modes.c:186:8:  [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( format_array + current_format, &_dcam_unicap_formats[index], sizeof( unicap_format_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/debayer.c:626:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char i8[16];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_capture.c:143:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char *usb_buffer[NUM_URBS];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_capture.c:300:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy( system_buffers[ current_buffer ].data, urb->buffer + 2, urb->actual_length - 2 );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_capture.c:305: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( system_buffers[ current_buffer ].data + bytes_done, urb->buffer, urb->actual_length );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_cpi.c:99: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( reg_data, &cpi_s, sizeof( struct _unicap_cpi ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_cpi.c:122: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( device->cpi_layer, "euvccam_cpi" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_device.c:638: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( property->menu_item, "trigger on rising edge" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_device.c:640: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( property->menu_item, "free running" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.c:202: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 unicode[256];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.c:242:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	 char buspath[PATH_MAX + 1];			
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.c:254: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.
	       char devpath[PATH_MAX + 1];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.c:259:14:  [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).
	       fd = open( devpath, O_RDWR, 0 );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.c:281: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( dev.strVendor, "The Imaging Source" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.c:285: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( dev.strProduct, "CMOS camera" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.c:318: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( dev, tmp, sizeof( euvccam_usb_device_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.c:319: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).
	 dev->fd = open( dev->devpath, O_RDWR, 0 );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.h:48:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char strProduct[64];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.h:49:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char strVendor[64];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.h:50:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char strSerialNumber[64];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.h:52:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char devpath[PATH_MAX +1];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.h:53:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char identifier[128];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/logging.c:36: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).
      g_logfp = fopen( tmp, "w" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/logging.c:40:21:  [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).
      g_log_level = atoi( tmp );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/logging.c:44:28:  [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).
      g_log_modules_mask = atoi( tmp );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/logging.c:57:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char message[ 128 ];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/thing/thing.c:226: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.
      unsigned char *system_buffers[THING_SYSTEM_BUFFERS];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/thing/thing.c:289: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->current_properties, null_properties, sizeof( null_properties ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/thing/thing.c:295: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( data->current_properties[2].menu_item, "MENU c" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/thing/thing.c:311: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->current_format, &null_formats[0], sizeof( unicap_format_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/thing/thing.c:366: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( device->identifier, "Thing capture %d", index + 1 );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/thing/thing.c:367:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy( device->model_name, "thing" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/thing/thing.c:368: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( device->vendor_name, "Genuine unicap");
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/thing/thing.c:407: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( format, &null_formats[index], sizeof( unicap_format_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/thing/thing.c:440: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->current_format, &null_formats[format_index], sizeof( unicap_format_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/thing/thing.c:469: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( format, &data->current_format, sizeof( unicap_format_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/thing/thing.c:500: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( property, &data->current_properties[index], sizeof( unicap_property_t) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/thing/thing.c:536: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( &data->current_properties[property_index], property, sizeof( unicap_property_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/thing/thing.c:565: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( property, &data->current_properties[property_index], sizeof( unicap_property_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/thing/thing.c:750: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)->format, &data->current_format, sizeof( unicap_format_t ) );			
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:140: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( reg_data, &cpi_s, sizeof( struct _unicap_cpi ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:211: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 devname[256];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:232:18:  [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( devname, O_RDONLY | O_NONBLOCK ) ) == -1 )
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:281: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( device->vendor_name, "v4l" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:321:18:  [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).
	v4lhandle->fd = open( device->device, O_RDWR );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:380: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( &v4lpict, &v4lhandle->v4lpict, sizeof( struct video_picture ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:439: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( format->identifier, "Grey ( Mono 8pp )" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:445: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( format->identifier, "HI240 Bt848 8Bit color cube" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:451: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( format->identifier, "RGB 16bpp" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:457: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( format->identifier, "RGB 15bpp" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:463: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( format->identifier, "BGR 24bpp" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:469: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( format->identifier, "RGB 32bpp" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:475: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( format->identifier, "YUV 4:2:2" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:481: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( format->identifier, "YUYV" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:487: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( format->identifier, "UYVY" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:493: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( format->identifier, "Y 4:2:0" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:499: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( format->identifier, "Y 4:1:1" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:505: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( format->identifier, "Bt848 raw format" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:511: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( format->identifier, "Y 4:2:2 planar" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:517: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( format->identifier, "Y 4:1:1 planar" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:547:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	   char str[1024];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:680: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( format, &v4lhandle->current_format, sizeof( unicap_format_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:709: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( property->identifier, "brightness" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:714: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( property->identifier, "hue" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:719: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( property->identifier, "colour" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:724: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( property->identifier, "contrast" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:729: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( property->identifier, "whiteness" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:745: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( property->category, "video" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:832: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( property->category, "video" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:1066:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy( data_buffer->data, new_frame_buffer.data, new_frame_buffer.buffer_size );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:1069:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	 memcpy( &data_buffer->fill_time, &new_frame_buffer.fill_time, sizeof( struct timeval ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.h:29:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char device[512];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/buffermanager.c:33:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
 #define OPEN   open
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/buffermanager.c:252:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy( &mgr->buffers[i].data_buffer.fill_time, &v4l2_buffer.timestamp, sizeof( struct timeval ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:50:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
 #define OPEN   open
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:83: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 respath[PATH_MAX];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:85: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 prodidpath[PATH_MAX];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:86: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 vendidpath[PATH_MAX];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:87: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 devicepath[PATH_MAX];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:88: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 tmp[PATH_MAX];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:102:4:  [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( vendidpath, "/../idVendor" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:104: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).
   f = fopen( vendidpath, "r" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:112:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[5];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:123:4:  [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( prodidpath, "/../idProduct" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:125: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).
   f = fopen( prodidpath, "r" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:133:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[5];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:179: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( property->identifier, "sharpness register" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:180: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( property->category, "debug" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tisuvccam.c:52:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
 #define OPEN   open
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tisuvccam.c:89:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char identifier[128];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tisuvccam.c:118: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/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/uvcvideo.h:426: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];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/uvcvideo.h: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 name[32];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/uvcvideo.h:600: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 *urb_buffer[UVC_URBS];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/uvcvideo.h:614: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/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:85:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
 #define OPEN   open
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:300: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( reg_data, &cpi_s, sizeof( struct _unicap_cpi ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:401: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 devname[512];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:420:18:  [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( devname, O_RDONLY | O_NONBLOCK ) ) == -1 )
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:482: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 identifier[128];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:507:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   handle->fd = open( device->device, O_RDWR );  
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:811: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( sizes, sfound, nfound * sizeof( unicap_rect_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:866:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char tmp_identifier[128];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1154: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( property->category, "video" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1312: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( property->category, "source" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.h:43:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char devpath[512];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.h:88:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char device[512];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.h:90:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char card_name[512];      
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.h:103:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char *video_inputs[V4L2_MAX_VIDEO_INPUTS];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.h:104:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char *video_norms[V4L2_MAX_VIDEO_NORMS];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_base.c:321:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy( &vid21394handle->fcp_response[0], data+2, *data+1 );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_base.c:574: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( response, &vid21394handle->fcp_response[0], vid21394handle->fcp_response_length );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_base.c:1819: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*)vid21394handle->current_data_buffer->data) + 
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c:313:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char rs232_buffer[1024];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c:364: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( reg_data, &cpi_s, sizeof( struct _unicap_cpi ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c:447: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 identifier[128];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c:449: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( identifier, "DFG/1394-1 %llx", get_guid( raw1394handle, i ) & 0xffffffff );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c:583: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( device->identifier, "DFG/1394-1 %llx", device->model_id & 0xffffffff );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c:584: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( device->model_name, "DFG/1394-1" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c:585: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( device->vendor_name, "unicap");
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c:589: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( device->device, "/dev/raw1394" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c:643: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->current_formats, vid21394_formats, sizeof( unicap_format_t ) * nr_formats );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c:662: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( format, &data->current_formats[index], sizeof( unicap_format_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c:900: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( property, &vid21394_properties[index], sizeof( unicap_property_t) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c:939: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->current_properties[property_index], property, sizeof( unicap_property_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c:1084: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( property, &data->current_properties[property_index], sizeof( unicap_property_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c:1141: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( property->menu_item, "unknown" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_cpi.c:1148:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char buffer[512];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:142:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char out_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:143:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char in_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:178:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char out_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:179:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char in_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:228:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char out_data[12];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:229:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char in_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:261:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char out_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:262:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char in_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:291:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char out_data[12];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:292:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char in_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:355:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char out_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:356:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char in_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:421:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char out_data[12];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:422:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char in_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:450:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char out_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:451:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char in_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:480:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char out_data[12];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:481:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char in_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:511:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char out_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:512:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char in_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:541:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char out_data[12];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:542:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char in_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:572:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char out_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:573:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char in_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:604:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char out_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:605:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char in_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:642:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char out_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:643:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char in_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:697:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	    strcpy( property->menu_item, "Unknown" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:764:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char out_data[8];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/visca.c:765:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   unsigned char in_data[10];
data/unicap-0.9.12+repack20150328.0.git2c600ae/include/unicap.h:83: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 identifier[128];
data/unicap-0.9.12+repack20150328.0.git2c600ae/include/unicap.h:84: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 model_name[128];
data/unicap-0.9.12+repack20150328.0.git2c600ae/include/unicap.h: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 vendor_name[128];
data/unicap-0.9.12+repack20150328.0.git2c600ae/include/unicap.h: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 cpi_layer[1024];
data/unicap-0.9.12+repack20150328.0.git2c600ae/include/unicap.h:91: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 device[1024];
data/unicap-0.9.12+repack20150328.0.git2c600ae/include/unicap.h:164:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char identifier[128];
data/unicap-0.9.12+repack20150328.0.git2c600ae/include/unicap.h:351:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char identifier[128];
data/unicap-0.9.12+repack20150328.0.git2c600ae/include/unicap.h:352:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char category[128];
data/unicap-0.9.12+repack20150328.0.git2c600ae/include/unicap.h:353:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char unit[128];
data/unicap-0.9.12+repack20150328.0.git2c600ae/include/unicap.h:361: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 menu_item[128]; 
data/unicap-0.9.12+repack20150328.0.git2c600ae/include/unicap_private.h:47: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 device_identifier[128];
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:152: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( &g_device_cache[i].device, device, sizeof( unicap_device_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:324: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( device, &g_devices[i], sizeof( unicap_device_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:355:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buffer[PATH_MAX];	
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:369:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char filename[512];
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:446: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( g_devices[idx_device].cpi_layer, "%d", idx_cpi );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:571: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( &handle->device, device, sizeof( unicap_device_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:628: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( &handle->cpi, static_cpis_s[idx_cpi], sizeof( struct _unicap_cpi ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:701: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( cloned_handle, handle, sizeof( struct _unicap_handle ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:728: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( cloned_handle, handle, sizeof( struct _unicap_handle ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:778: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( device, &handle->device, sizeof( unicap_device_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:1068:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   static char menu_item[128];
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:1273: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 uid[2048];
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:1313: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 uid[2048];
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_cache.c:17:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char key[64];
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.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 tmp_buffer[ 512 ];
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:123: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 tmp_buffer[512];
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:161: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( &dest->size, &src->size, sizeof( unicap_rect_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:162: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( &dest->min_size, &src->min_size, sizeof( unicap_rect_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:163: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( &dest->max_size, &src->max_size, sizeof( unicap_rect_t ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.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 tmp_buffer[512];
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/aravis_cpi.c:125:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (device->identifier, arv_get_device_id (index), sizeof (device->identifier)-1);
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/aravis_cpi.c:128:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy (device->model_name, arv_camera_get_model_name (camera), sizeof (device->model_name)-1);
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/aravis_cpi.c:130:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy (device->vendor_name, arv_camera_get_vendor_name (camera), sizeof (device->vendor_name)-1);
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/aravis/logging.c:62: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).
	 fwrite( message, strlen( message ), 1, g_logfp );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam.c:329: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).
      if( !strncasecmp( "enable", env, strlen( "enable" ) ) )
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam.c:416: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( 100000 );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam.c:1144:9:  [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/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_capture.c:316: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( 25000 );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_functions.c:77: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( REGISTER_DELAY - time );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_functions.c:99: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( REGISTER_DELAY );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_functions.c:126: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( REGISTER_DELAY - time );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_functions.c:143: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( REGISTER_DELAY );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_functions.c:665:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					if( strlen( device->identifier ) )
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_functions.c:737:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					if( strlen( device->vendor_name ) )
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_functions.c:773:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					if( strlen( device->model_name ) )
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_juju_capture.c:301:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		len = read (dcamhandle->dma_fd, &iso, sizeof (iso));
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_property.c:940:6:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
	    strcpy( dcam_property->unicap_property.unit, "s" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_property.c:1719:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy( property->menu_item, dcam_trigger_modes[0], 127 );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/dcam/dcam_property.c:1725:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy( property->menu_item, dcam_trigger_modes[ mode+1 ], 127 );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_capture.c:271:6:  [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/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_capture.c:285:6:  [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/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_device.c:217: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/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_device.c:891:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if (property->identifier[strlen(property->identifier)-1] == '1'){
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_device.c:913:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if (property->identifier[strlen(property->identifier)-1] == '1'){
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_device.c:937:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   switch (property->identifier[strlen(property->identifier)-1]){
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_device.c:967:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   switch (property->identifier[strlen(property->identifier)-1]){
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.c:264:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	       int rd = read( fd, (void*)&descriptor, sizeof( descriptor ) );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/euvccam_usb.c:289:4:  [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( dev.strSerialNumber, "0" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/euvccam/logging.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).
	 fwrite( message, strlen( message ), 1, g_logfp );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/thing/thing.c:379:4:  [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( device->device, "" ) ; // no controlling device
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/thing/thing.c:744: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( usec );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:180:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if( strlen( a->d_name ) > 5 )
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:188: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( a->d_name ) > 6 )
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l/v4l.c:198: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( a->d_name ) > 7 )
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:251:6:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
	    strcpy( property->unit, "" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:269:6:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
	    strcpy( property->unit, "s" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tiseuvccam.c:746: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/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/tisuvccam.c:521:6:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
	    strcpy( property->unit, "" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/udev.c:55: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).
					ret = malloc (strlen (serial)+1);
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:366:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if( strlen( a->d_name ) > 5 )
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:374: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( a->d_name ) > 6 )
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:384: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( a->d_name ) > 7 )
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:470:4:  [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( device->vendor_name, "");
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1155:4:  [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( property->unit, "" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1239:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy( handle->video_inputs[input.index], (char*)input.name, 32 );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1252:4:  [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( property->unit, "" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1313:4:  [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( property->unit, "" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1456: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( handle->unicap_properties[ tmp_ppty_index ].unit, "" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:1572: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( handle->unicap_properties[ tmp_ppty_index ].unit, "" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:2304:7:  [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/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/v4l2cpi/v4l2.c:2387: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/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/1394util.c:72: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(DELAY);
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/1394util.c:99: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( DELAY );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_base.c:757:7:  [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( 5000 );
data/unicap-0.9.12+repack20150328.0.git2c600ae/cpi/vid21394/vid21394_base.c:1365:7:  [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( 100 );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/check_match.c:50: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( specifier->identifier ) )
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/check_match.c:63: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( specifier->model_name ) )
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/check_match.c:72: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( specifier->vendor_name ) )
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/check_match.c:99: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( specifier->cpi_layer ) )
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/check_match.c:108: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( specifier->device ) )
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/check_match.c:138: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( specifier->identifier ) && 
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/check_match.c:282: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( specifier->identifier ) )
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/check_match.c:291: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( specifier->unit ) )
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/check_match.c:300: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( specifier->category ) )
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:373:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  ( strlen( strstr( filename, suffix ) ) != strlen( suffix ) ) ){
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:373: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).
	  ( strlen( strstr( filename, suffix ) ) != strlen( suffix ) ) ){
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap.c:833:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if( !strlen( format->identifier ) ){
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:43: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( device->identifier, "" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:44: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( device->model_name, "" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:45: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( device->vendor_name, "" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:48: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( device->cpi_layer, "" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:49: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( device->device, "" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:63: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( format->identifier, "" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:83: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( property->identifier, "" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:84: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( property->unit, "" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:85: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( property->category, "" );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:116:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy( buffer, tmp_buffer, (*buffer_size)-1 );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:152:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy( buffer, tmp_buffer, *buffer_size );
data/unicap-0.9.12+repack20150328.0.git2c600ae/src/unicap_helpers.c:296:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy( buffer, tmp_buffer, *buffer_size );

ANALYSIS SUMMARY:

Hits = 448
Lines analyzed = 33870 in approximately 0.69 seconds (49197 lines/second)
Physical Source Lines of Code (SLOC) = 24986
Hits@level = [0]  48 [1]  79 [2] 240 [3]   8 [4] 121 [5]   0
Hits@level+ = [0+] 496 [1+] 448 [2+] 369 [3+] 129 [4+] 121 [5+]   0
Hits/KSLOC@level+ = [0+] 19.8511 [1+] 17.93 [2+] 14.7683 [3+] 5.16289 [4+] 4.84271 [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.