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/nvtv-0.4.7/src/nvdump.c
Examining data/nvtv-0.4.7/src/mmio.c
Examining data/nvtv-0.4.7/src/print.c
Examining data/nvtv-0.4.7/src/libc_wrapper.c
Examining data/nvtv-0.4.7/src/xf86i2c.c
Examining data/nvtv-0.4.7/src/pipe.c
Examining data/nvtv-0.4.7/src/tv_common.c
Examining data/nvtv-0.4.7/src/tv_nv.c
Examining data/nvtv-0.4.7/src/tv_tdfx.c
Examining data/nvtv-0.4.7/src/tv_i810.c
Examining data/nvtv-0.4.7/src/tv_i2c.c
Examining data/nvtv-0.4.7/src/tv_null.c
Examining data/nvtv-0.4.7/src/tv_bt.c
Examining data/nvtv-0.4.7/src/tv_nx.c
Examining data/nvtv-0.4.7/src/tv_ch1_7007.c
Examining data/nvtv-0.4.7/src/tv_ch2_7009.c
Examining data/nvtv-0.4.7/src/tv_ph1_saa7102.c
Examining data/nvtv-0.4.7/src/tv_ph2_saa7104.c
Examining data/nvtv-0.4.7/src/data.c
Examining data/nvtv-0.4.7/src/data_bt.c
Examining data/nvtv-0.4.7/src/data_ch.c
Examining data/nvtv-0.4.7/src/data_ph.c
Examining data/nvtv-0.4.7/src/data_nx.c
Examining data/nvtv-0.4.7/src/data_nv.c
Examining data/nvtv-0.4.7/src/data_tdfx.c
Examining data/nvtv-0.4.7/src/data_i810.c
Examining data/nvtv-0.4.7/src/data_xbox.c
Examining data/nvtv-0.4.7/src/data_vesa.c
Examining data/nvtv-0.4.7/src/calc_bt.c
Examining data/nvtv-0.4.7/src/back_nvidia.c
Examining data/nvtv-0.4.7/src/back_tdfx.c
Examining data/nvtv-0.4.7/src/back_i810.c
Examining data/nvtv-0.4.7/src/back_null.c
Examining data/nvtv-0.4.7/src/back_winio.c
Examining data/nvtv-0.4.7/src/back_mswin.c
Examining data/nvtv-0.4.7/src/back_client.c
Examining data/nvtv-0.4.7/src/xbox.c
Examining data/nvtv-0.4.7/src/gui_bt.c
Examining data/nvtv-0.4.7/src/gui_cx.c
Examining data/nvtv-0.4.7/src/gui_ch.c
Examining data/nvtv-0.4.7/src/gui_ph.c
Examining data/nvtv-0.4.7/src/gui_nx.c
Examining data/nvtv-0.4.7/src/gui_nv.c
Examining data/nvtv-0.4.7/src/gui_tdfx.c
Examining data/nvtv-0.4.7/src/gui_i810.c
Examining data/nvtv-0.4.7/src/actions.h
Examining data/nvtv-0.4.7/src/back_client.h
Examining data/nvtv-0.4.7/src/back_direct.h
Examining data/nvtv-0.4.7/src/backend.h
Examining data/nvtv-0.4.7/src/back_i810.h
Examining data/nvtv-0.4.7/src/back_mswin.h
Examining data/nvtv-0.4.7/src/back_null.h
Examining data/nvtv-0.4.7/src/back_nvidia.h
Examining data/nvtv-0.4.7/src/back_tdfx.h
Examining data/nvtv-0.4.7/src/back_unix.h
Examining data/nvtv-0.4.7/src/bitmask.h
Examining data/nvtv-0.4.7/src/calc_bt.h
Examining data/nvtv-0.4.7/src/card_direct.h
Examining data/nvtv-0.4.7/src/data.h
Examining data/nvtv-0.4.7/src/data_bt.h
Examining data/nvtv-0.4.7/src/data_ch.h
Examining data/nvtv-0.4.7/src/data_ph.h
Examining data/nvtv-0.4.7/src/data_nx.h
Examining data/nvtv-0.4.7/src/data_i810.h
Examining data/nvtv-0.4.7/src/data_nv.h
Examining data/nvtv-0.4.7/src/data_tdfx.h
Examining data/nvtv-0.4.7/src/data_vesa.h
Examining data/nvtv-0.4.7/src/data_xbox.h
Examining data/nvtv-0.4.7/src/debug.h
Examining data/nvtv-0.4.7/src/error.h
Examining data/nvtv-0.4.7/src/miscstruct.h
Examining data/nvtv-0.4.7/src/mmio.h
Examining data/nvtv-0.4.7/src/xbox.h
Examining data/nvtv-0.4.7/src/gui.h
Examining data/nvtv-0.4.7/src/gui_bt.h
Examining data/nvtv-0.4.7/src/gui_cx.h
Examining data/nvtv-0.4.7/src/gui_ch.h
Examining data/nvtv-0.4.7/src/gui_ph.h
Examining data/nvtv-0.4.7/src/gui_nx.h
Examining data/nvtv-0.4.7/src/gui_i810.h
Examining data/nvtv-0.4.7/src/gui_nv.h
Examining data/nvtv-0.4.7/src/gui_tdfx.h
Examining data/nvtv-0.4.7/src/pipe.h
Examining data/nvtv-0.4.7/src/print.h
Examining data/nvtv-0.4.7/src/i810_type.h
Examining data/nvtv-0.4.7/src/nv_type.h
Examining data/nvtv-0.4.7/src/tdfx_type.h
Examining data/nvtv-0.4.7/src/tv_chip.h
Examining data/nvtv-0.4.7/src/tv_i2c.h
Examining data/nvtv-0.4.7/src/tv_null.h
Examining data/nvtv-0.4.7/src/tv_nv.h
Examining data/nvtv-0.4.7/src/tv_i810.h
Examining data/nvtv-0.4.7/src/tv_tdfx.h
Examining data/nvtv-0.4.7/src/tv_bt.h
Examining data/nvtv-0.4.7/src/tv_cx.h
Examining data/nvtv-0.4.7/src/tv_ch1_7007.h
Examining data/nvtv-0.4.7/src/tv_ch2_7009.h
Examining data/nvtv-0.4.7/src/tv_ph1_saa7102.h
Examining data/nvtv-0.4.7/src/tv_ph2_saa7104.h
Examining data/nvtv-0.4.7/src/tv_nx.h
Examining data/nvtv-0.4.7/src/xf86_ansic.h
Examining data/nvtv-0.4.7/src/xf86i2c.h
Examining data/nvtv-0.4.7/src/xf86PciInfo.h
Examining data/nvtv-0.4.7/src/xf86str.h
Examining data/nvtv-0.4.7/src/xfree.h
Examining data/nvtv-0.4.7/src/actions.c
Examining data/nvtv-0.4.7/src/back_direct.c
Examining data/nvtv-0.4.7/src/nvtvd.c
Examining data/nvtv-0.4.7/src/tv_cx.c
Examining data/nvtv-0.4.7/src/local.h
Examining data/nvtv-0.4.7/src/back_unix.c
Examining data/nvtv-0.4.7/src/card_direct.c
Examining data/nvtv-0.4.7/src/tv_common.h
Examining data/nvtv-0.4.7/src/gui.c
Examining data/nvtv-0.4.7/src/data_cx.c
Examining data/nvtv-0.4.7/src/data_cx.h
Examining data/nvtv-0.4.7/src/nvtv.c
Examining data/nvtv-0.4.7/src/nvtv.h
Examining data/nvtv-0.4.7/test/tester.c
Examining data/nvtv-0.4.7/test/test_mmio.c
Examining data/nvtv-0.4.7/test/test_i2c.c
Examining data/nvtv-0.4.7/test/test_record.c
Examining data/nvtv-0.4.7/test/back_test.c
Examining data/nvtv-0.4.7/test/life.c
Examining data/nvtv-0.4.7/test/back_test.h
Examining data/nvtv-0.4.7/test/tester.h
Examining data/nvtv-0.4.7/test/test_record.h

FINAL RESULTS:

data/nvtv-0.4.7/src/actions.c:234:26:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define Fatal_Error(X) { fprintf(stderr, X); exit (1); }
data/nvtv-0.4.7/src/back_client.c:277:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
int bcl_listModes (TVSystem system, TVMode *(list[]))
data/nvtv-0.4.7/src/back_client.c:282:41:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  RAISE (MSG_DEBUG, "bcl_listModes %i", system);
data/nvtv-0.4.7/src/back_client.c:284:38:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  pipeWriteArgs (pipe_out, 1, sizeof(system), &system);
data/nvtv-0.4.7/src/back_client.c:284:48:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  pipeWriteArgs (pipe_out, 1, sizeof(system), &system);
data/nvtv-0.4.7/src/back_client.c:299:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Bool bcl_findBySize (TVSystem system, int xres, int yres, char *size, 
data/nvtv-0.4.7/src/back_client.c:304:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  RAISE (MSG_DEBUG, "bcl_findBySize %i %i,%i %s", system, xres, yres, size);
data/nvtv-0.4.7/src/back_client.c:306:38:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  pipeWriteArgs (pipe_out, 4, sizeof(system), &system, 
data/nvtv-0.4.7/src/back_client.c:306:48:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  pipeWriteArgs (pipe_out, 4, sizeof(system), &system, 
data/nvtv-0.4.7/src/back_client.c:318:35:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Bool bcl_findByOverscan (TVSystem system, int xres, int yres, 
data/nvtv-0.4.7/src/back_client.c:323:46:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  RAISE (MSG_DEBUG, "bcl_findByOC %i %i,%i", system, xres, yres);
data/nvtv-0.4.7/src/back_client.c:325:38:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  pipeWriteArgs (pipe_out, 5, sizeof(system), &system, 
data/nvtv-0.4.7/src/back_client.c:325:48:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  pipeWriteArgs (pipe_out, 5, sizeof(system), &system, 
data/nvtv-0.4.7/src/back_client.h:60:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Bool bcl_findBySize (TVSystem system, int xres, int yres, char *size, 
data/nvtv-0.4.7/src/back_client.h:62:35:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Bool bcl_findByOverscan (TVSystem system, int xres, int yres, 
data/nvtv-0.4.7/src/back_direct.c:53:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  TVSystem system, TVMode *(list[]))
data/nvtv-0.4.7/src/back_direct.c:56:42:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  return data_listModes (data->modes (), system, list);
data/nvtv-0.4.7/src/back_direct.c:65:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  TVSystem system, int xres, int yres, char *size, TVMode *mode)
data/nvtv-0.4.7/src/back_direct.c:70:36:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  tvm = data_find (data->modes (), system, xres, yres, size);
data/nvtv-0.4.7/src/back_direct.c:81:62:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
bdir_findByOverscan (CardType card, DataFunc *data, TVSystem system, 
data/nvtv-0.4.7/src/back_direct.c:87:43:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  tvm = data_findNearest (data->modes (), system, xres, yres, hoc, voc);
data/nvtv-0.4.7/src/back_direct.h:49:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  TVSystem system, TVMode *(list[]));
data/nvtv-0.4.7/src/back_direct.h:52:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  TVSystem system, int xres, int yres, char *size, TVMode *mode);
data/nvtv-0.4.7/src/back_direct.h:54:67:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Bool bdir_findByOverscan (CardType card, DataFunc *data, TVSystem system, 
data/nvtv-0.4.7/src/back_i810.c:320:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
int bi810_listModes (TVSystem system, TVMode *(list[]))
data/nvtv-0.4.7/src/back_i810.c:322:49:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  return bdir_listModes (CARD_I810, bi810_data, system, list);
data/nvtv-0.4.7/src/back_i810.c:329:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Bool bi810_findBySize (TVSystem system, int xres, int yres, char *size, 
data/nvtv-0.4.7/src/back_i810.c:332:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  return bdir_findBySize (CARD_I810, bi810_data, system, xres, yres, 
data/nvtv-0.4.7/src/back_i810.c:340:37:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Bool bi810_findByOverscan (TVSystem system, int xres, int yres, 
data/nvtv-0.4.7/src/back_i810.c:343:54:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  return bdir_findByOverscan (CARD_I810, bi810_data, system, xres, yres, 
data/nvtv-0.4.7/src/back_i810.h:49:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Bool bi810_findBySize (TVSystem system, int xres, int yres, char *size, 
data/nvtv-0.4.7/src/back_i810.h:51:37:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Bool bi810_findByOverscan (TVSystem system, int xres, int yres, 
data/nvtv-0.4.7/src/back_null.c:204:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
int bnull_listModes (TVSystem system, TVMode *(list[]))
data/nvtv-0.4.7/src/back_null.c:206:48:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  return data_listModes (bnull_data->modes (), system, list);
data/nvtv-0.4.7/src/back_null.c:209:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Bool bnull_findBySize (TVSystem system, int xres, int yres, char *size, 
data/nvtv-0.4.7/src/back_null.c:214:53:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  RAISE (MSG_DEBUG, "bnull_findBySize %i %i,%i %s", system, xres, yres, size);
data/nvtv-0.4.7/src/back_null.c:216:42:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  tvm = data_find (bnull_data->modes (), system, xres, yres, size);
data/nvtv-0.4.7/src/back_null.c:222:37:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Bool bnull_findByOverscan (TVSystem system, int xres, int yres, 
data/nvtv-0.4.7/src/back_null.c:225:48:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  RAISE (MSG_DEBUG, "bnull_findByOC %i %i,%i", system, xres, yres);
data/nvtv-0.4.7/src/back_null.h:50:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Bool bnull_findBySize (TVSystem system, int xres, int yres, char *size, 
data/nvtv-0.4.7/src/back_null.h:52:37:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Bool bnull_findByOverscan (TVSystem system, int xres, int yres, 
data/nvtv-0.4.7/src/back_nvidia.c:604:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
int bnv_listModes (TVSystem system, TVMode *(list[]))
data/nvtv-0.4.7/src/back_nvidia.c:607:49:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  return bdir_listModes (CARD_NVIDIA, bnv_data, system, list);
data/nvtv-0.4.7/src/back_nvidia.c:614:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Bool bnv_findBySize (TVSystem system, int xres, int yres, char *size, 
data/nvtv-0.4.7/src/back_nvidia.c:618:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  return bdir_findBySize (CARD_NVIDIA, bnv_data, system, xres, yres, 
data/nvtv-0.4.7/src/back_nvidia.c:622:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Bool bxbox_findBySize (TVSystem system, int xres, int yres, char *size, 
data/nvtv-0.4.7/src/back_nvidia.c:626:48:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  return bdir_findBySize (CARD_XBOX, bnv_data, system, xres, yres, 
data/nvtv-0.4.7/src/back_nvidia.c:634:35:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Bool bnv_findByOverscan (TVSystem system, int xres, int yres, 
data/nvtv-0.4.7/src/back_nvidia.c:638:54:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  return bdir_findByOverscan (CARD_NVIDIA, bnv_data, system, xres, yres, 
data/nvtv-0.4.7/src/back_nvidia.c:642:37:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Bool bxbox_findByOverscan (TVSystem system, int xres, int yres, 
data/nvtv-0.4.7/src/back_nvidia.c:646:52:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  return bdir_findByOverscan (CARD_XBOX, bnv_data, system, xres, yres, 
data/nvtv-0.4.7/src/back_nvidia.h:48:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Bool bnv_findBySize (TVSystem system, int xres, int yres, char *size, 
data/nvtv-0.4.7/src/back_nvidia.h:50:35:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Bool bnv_findByOverscan (TVSystem system, int xres, int yres, 
data/nvtv-0.4.7/src/back_tdfx.c:294:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
int btdfx_listModes (TVSystem system, TVMode *(list[]))
data/nvtv-0.4.7/src/back_tdfx.c:296:49:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  return bdir_listModes (CARD_TDFX, btdfx_data, system, list);
data/nvtv-0.4.7/src/back_tdfx.c:303:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Bool btdfx_findBySize (TVSystem system, int xres, int yres, char *size, 
data/nvtv-0.4.7/src/back_tdfx.c:306:50:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  return bdir_findBySize (CARD_TDFX, btdfx_data, system, xres, yres, 
data/nvtv-0.4.7/src/back_tdfx.c:314:37:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Bool btdfx_findByOverscan (TVSystem system, int xres, int yres, 
data/nvtv-0.4.7/src/back_tdfx.c:317:54:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  return bdir_findByOverscan (CARD_TDFX, btdfx_data, system, xres, yres, 
data/nvtv-0.4.7/src/back_tdfx.h:48:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Bool btdfx_findBySize (TVSystem system, int xres, int yres, char *size, 
data/nvtv-0.4.7/src/back_tdfx.h:50:37:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
Bool btdfx_findByOverscan (TVSystem system, int xres, int yres, 
data/nvtv-0.4.7/src/backend.h:116:30:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  int (*listModes) (TVSystem system, TVMode *(modes[]));
data/nvtv-0.4.7/src/backend.h:117:32:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  Bool (*findBySize) (TVSystem system, int xres, int yres, char *size, 
data/nvtv-0.4.7/src/backend.h:119:36:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  Bool (*findByOverscan) (TVSystem system, int xres, int yres, 
data/nvtv-0.4.7/src/calc_bt.c:19:21:  [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 DebugOut(x) printf(x)
data/nvtv-0.4.7/src/calc_bt.c:847:30:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void recalc_system (TVSystem system, PENCODER_SETTINGS pS, TVBtRegs *b)
data/nvtv-0.4.7/src/calc_bt.c:852:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  switch (system) 
data/nvtv-0.4.7/src/calc_bt.c:919:28:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void recalc_find (TVSystem system, int hres, int vres, 
data/nvtv-0.4.7/src/calc_bt.c:927:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  recalc_system (system, &s, NULL);
data/nvtv-0.4.7/src/calc_bt.c:938:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void recalc_bt_find (TVSystem system, int hres, int vres, 
data/nvtv-0.4.7/src/calc_bt.c:942:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  recalc_find (system, hres, vres, hoc_min, hoc_max, voc_min, voc_max,
data/nvtv-0.4.7/src/calc_bt.c:946:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void recalc_cx_find (TVSystem system, int hres, int vres, 
data/nvtv-0.4.7/src/calc_bt.c:950:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  recalc_find (system, hres, vres, hoc_min, hoc_max, voc_min, voc_max,
data/nvtv-0.4.7/src/calc_bt.c:1021:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void recalc_bt_custom (TVSystem system, int hres, int vres, 
data/nvtv-0.4.7/src/calc_bt.c:1027:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  recalc_system (system, &s, &r->enc.bt);
data/nvtv-0.4.7/src/calc_bt.c:1036:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void recalc_cx_custom (TVSystem system, int hres, int vres, 
data/nvtv-0.4.7/src/calc_bt.c:1043:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  recalc_system (system, &s, &r->enc.cx.bt);
data/nvtv-0.4.7/src/calc_bt.h:15:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void recalc_bt_find (TVSystem system, int hres, int vres, 
data/nvtv-0.4.7/src/calc_bt.h:19:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void recalc_bt_custom (TVSystem system, int hres, int vres, 
data/nvtv-0.4.7/src/calc_bt.h:22:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void recalc_cx_find (TVSystem system, int hres, int vres, 
data/nvtv-0.4.7/src/calc_bt.h:26:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void recalc_cx_custom (TVSystem system, int hres, int vres, 
data/nvtv-0.4.7/src/card_direct.c:248:6:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	    vsnprintf (s, 38, format, ap); 
data/nvtv-0.4.7/src/data.c:80:45:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
int data_listModes (TVMode *modes, TVSystem system, TVMode *(list[]))
data/nvtv-0.4.7/src/data.c:87:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for (m = modes; m->spec.system != TV_SYSTEM_NONE; m++) {
data/nvtv-0.4.7/src/data.c:88:55:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if (system == TV_SYSTEM_NONE || system == m->spec.system) c++;
data/nvtv-0.4.7/src/data.c:92:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for (m = modes; m->spec.system != TV_SYSTEM_NONE; m++) {
data/nvtv-0.4.7/src/data.c:93:55:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if (system == TV_SYSTEM_NONE || system == m->spec.system) *r++ = *m;
data/nvtv-0.4.7/src/data.c:102:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
TVMode *data_find (TVMode *modes, TVSystem system, 
data/nvtv-0.4.7/src/data.c:106:22:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  while (modes->spec.system != TV_SYSTEM_NONE) {
data/nvtv-0.4.7/src/data.c:109:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	(system == modes->spec.system) &&
data/nvtv-0.4.7/src/data.c:113:19:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  if (modes->spec.system != TV_SYSTEM_NONE) {
data/nvtv-0.4.7/src/data.c:126:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
TVMode *data_findNearest (TVMode *modes, TVSystem system, 
data/nvtv-0.4.7/src/data.c:135:22:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  while (modes->spec.system != TV_SYSTEM_NONE) {
data/nvtv-0.4.7/src/data.c:138:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	(system == modes->spec.system)) 
data/nvtv-0.4.7/src/data.c:171:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void data_calc_null (TVSystem system, int hres, int vres, 
data/nvtv-0.4.7/src/data.h:36:26:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  void (*calc) (TVSystem system, int hres, int vres, double hoc, double voc, 
data/nvtv-0.4.7/src/data.h:51:44:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
TVMode *data_find (TVMode *modes, TVSystem system, 
data/nvtv-0.4.7/src/data.h:54:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
TVMode *data_findNearest (TVMode *modes, TVSystem system, 
data/nvtv-0.4.7/src/data.h:57:45:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
int data_listModes (TVMode *modes, TVSystem system, TVMode *(list[]));
data/nvtv-0.4.7/src/data.h:59:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void data_calc_null (TVSystem system, int hres, int vres, 
data/nvtv-0.4.7/src/data_bt.c:1179:35:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void data_init_nomux_bt (TVSystem system, TVBtRegs *r)
data/nvtv-0.4.7/src/data_bt.c:1189:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  switch (system)
data/nvtv-0.4.7/src/data_bt.c:1202:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  switch (system)
data/nvtv-0.4.7/src/data_bt.c:1311:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void data_init_bt (TVSystem system, TVBtRegs *r)
data/nvtv-0.4.7/src/data_bt.c:1314:23:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  data_init_nomux_bt (system, r);
data/nvtv-0.4.7/src/data_bt.h:32:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void data_init_bt (TVSystem system, TVBtRegs *r);
data/nvtv-0.4.7/src/data_bt.h:37:35:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void data_init_nomux_bt (TVSystem system, TVBtRegs *r);
data/nvtv-0.4.7/src/data_ch.c:969:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
data_init_ch (TVSystem system, TVChRegs *r) 
data/nvtv-0.4.7/src/data_ch.c:986:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
data_init_ch1 (TVSystem system, TVChRegs *r) 
data/nvtv-0.4.7/src/data_ch.c:988:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  data_init_ch (system, r);
data/nvtv-0.4.7/src/data_ch.c:989:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  switch (system) {
data/nvtv-0.4.7/src/data_ch.c:1025:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
data_init_ch2 (TVSystem system, TVChRegs *r) 
data/nvtv-0.4.7/src/data_ch.c:1027:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  data_init_ch (system, r);
data/nvtv-0.4.7/src/data_ch.c:1028:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  switch (system) {
data/nvtv-0.4.7/src/data_ch.h:32:30:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void data_init_ch1 (TVSystem system, TVChRegs *r);
data/nvtv-0.4.7/src/data_ch.h:33:30:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void data_init_ch2 (TVSystem system, TVChRegs *r);
data/nvtv-0.4.7/src/data_cx.c:431:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void data_init_cx (TVSystem system, TVCxRegs *r, int btmode)
data/nvtv-0.4.7/src/data_cx.c:438:23:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  data_init_nomux_bt (system, &r->bt);
data/nvtv-0.4.7/src/data_cx.c:452:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  if (system != TV_SYSTEM_SECAM) {
data/nvtv-0.4.7/src/data_cx.h:32:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void data_init_cx (TVSystem system, TVCxRegs *r, int btmode);
data/nvtv-0.4.7/src/data_i810.c:333:64:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
loop_create_i810_ch1 (TVMode *m, TVTemplateI810Ch *t, TVSystem system, 
data/nvtv-0.4.7/src/data_i810.c:336:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for (; t->spec.system != TV_SYSTEM_NONE; t++) {
data/nvtv-0.4.7/src/data_i810.c:338:22:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    m->spec.system = system;
data/nvtv-0.4.7/src/data_i810.c:345:22:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      m->spec.size = strcat (strcpy (s, t->spec.size), suffix);
data/nvtv-0.4.7/src/data_i810.c:345:30:  [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).
      m->spec.size = strcat (strcpy (s, t->spec.size), suffix);
data/nvtv-0.4.7/src/data_i810.c:356:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    data_init_ch1 (system, &m->regs.enc.ch);
data/nvtv-0.4.7/src/data_i810.c:364:64:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
loop_create_i810_ch2 (TVMode *m, TVTemplateI810Ch *t, TVSystem system, 
data/nvtv-0.4.7/src/data_i810.c:367:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for (; t->spec.system != TV_SYSTEM_NONE; t++) {
data/nvtv-0.4.7/src/data_i810.c:369:22:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    m->spec.system = system;
data/nvtv-0.4.7/src/data_i810.c:376:22:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      m->spec.size = strcat (strcpy (s, t->spec.size), suffix);
data/nvtv-0.4.7/src/data_i810.c:376:30:  [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).
      m->spec.size = strcat (strcpy (s, t->spec.size), suffix);
data/nvtv-0.4.7/src/data_i810.c:387:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    data_init_ch2 (system, &m->regs.enc.ch);
data/nvtv-0.4.7/src/data_nv.c:679:28:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
data_count_nv_bt (TVSystem system)
data/nvtv-0.4.7/src/data_nv.c:685:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for (t = templ_nv_bt; t->spec.system != TV_SYSTEM_NONE; t++) {
data/nvtv-0.4.7/src/data_nv.c:686:55:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if (system == TV_SYSTEM_NONE || system == t->spec.system) count++;
data/nvtv-0.4.7/src/data_nv.c:695:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for (; t->spec.system != TV_SYSTEM_NONE; t++) {
data/nvtv-0.4.7/src/data_nv.c:713:35:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      data_init_nomux_bt (m->spec.system, &m->regs.enc.bt);
data/nvtv-0.4.7/src/data_nv.c:924:47:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
data_count_nv_cx (TVTemplateNvCx *t, TVSystem system)
data/nvtv-0.4.7/src/data_nv.c:929:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for (; t->spec.system != TV_SYSTEM_NONE; t++) {
data/nvtv-0.4.7/src/data_nv.c:930:55:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if (system == TV_SYSTEM_NONE || system == t->spec.system) count++;
data/nvtv-0.4.7/src/data_nv.c:943:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for (; t->spec.system != TV_SYSTEM_NONE; t++) {
data/nvtv-0.4.7/src/data_nv.c:958:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      data_init_cx (m->spec.system, &m->regs.enc.cx, TRUE);
data/nvtv-0.4.7/src/data_nv.c:981:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for (; t->spec.system != TV_SYSTEM_NONE; t++) {
data/nvtv-0.4.7/src/data_nv.c:994:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      data_init_cx (m->spec.system, &m->regs.enc.cx, FALSE);
data/nvtv-0.4.7/src/data_nv.c:2198:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  TVSystem system, int f, char *suffix)
data/nvtv-0.4.7/src/data_nv.c:2200:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for (; t->spec.system != TV_SYSTEM_NONE; t++) {
data/nvtv-0.4.7/src/data_nv.c:2202:22:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    m->spec.system = system;
data/nvtv-0.4.7/src/data_nv.c:2209:22:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      m->spec.size = strcat (strcpy (s, t->spec.size), suffix);
data/nvtv-0.4.7/src/data_nv.c:2209:30:  [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).
      m->spec.size = strcat (strcpy (s, t->spec.size), suffix);
data/nvtv-0.4.7/src/data_nv.c:2217:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    data_init_ch1 (system, &m->regs.enc.ch);
data/nvtv-0.4.7/src/data_nv.c:2226:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  TVSystem system, int f, char *suffix)
data/nvtv-0.4.7/src/data_nv.c:2228:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for (; t->spec.system != TV_SYSTEM_NONE; t++) {
data/nvtv-0.4.7/src/data_nv.c:2230:22:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    m->spec.system = system;
data/nvtv-0.4.7/src/data_nv.c:2237:22:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      m->spec.size = strcat (strcpy (s, t->spec.size), suffix);
data/nvtv-0.4.7/src/data_nv.c:2237:30:  [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).
      m->spec.size = strcat (strcpy (s, t->spec.size), suffix);
data/nvtv-0.4.7/src/data_nv.c:2245:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    data_init_ch2 (system, &m->regs.enc.ch);
data/nvtv-0.4.7/src/data_nv.c:2706:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
data_count_nv_ph1 (TVSystem system)
data/nvtv-0.4.7/src/data_nv.c:2712:34:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for (t = templ_nv_ph1; t->spec.system != TV_SYSTEM_NONE; t++) {
data/nvtv-0.4.7/src/data_nv.c:2713:55:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if (system == TV_SYSTEM_NONE || system == t->spec.system) count++;
data/nvtv-0.4.7/src/data_nv.c:2719:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
data_count_nv_ph2 (TVSystem system)
data/nvtv-0.4.7/src/data_nv.c:2725:34:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for (t = templ_nv_ph2; t->spec.system != TV_SYSTEM_NONE; t++) {
data/nvtv-0.4.7/src/data_nv.c:2726:55:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if (system == TV_SYSTEM_NONE || system == t->spec.system) count++;
data/nvtv-0.4.7/src/data_nv.c:2743:34:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for (t = templ_nv_ph1; t->spec.system != TV_SYSTEM_NONE; t++) {
data/nvtv-0.4.7/src/data_nv.c:2751:28:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    data_init_ph1 (m->spec.system, &m->regs.enc.ph1);
data/nvtv-0.4.7/src/data_nv.c:2773:36:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for (t1 = templ_nv_ph1; t1->spec.system != TV_SYSTEM_NONE; t1++) {
data/nvtv-0.4.7/src/data_nv.c:2783:28:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    data_init_ph2 (m->spec.system, &m->regs.enc.ph2);
data/nvtv-0.4.7/src/data_nv.c:2787:36:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for (t2 = templ_nv_ph2; t2->spec.system != TV_SYSTEM_NONE; t2++) {
data/nvtv-0.4.7/src/data_nv.c:2795:28:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    data_init_ph2 (m->spec.system, &m->regs.enc.ph2);
data/nvtv-0.4.7/src/data_nv.c:2897:59:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
loop_create_nv_nx (TVMode *m, TVTemplateNvNx *t, TVSystem system)
data/nvtv-0.4.7/src/data_nv.c:2899:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for (; t->spec.system != TV_SYSTEM_NONE; t++) {
data/nvtv-0.4.7/src/data_nv.c:2901:22:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    m->spec.system = system;
data/nvtv-0.4.7/src/data_nv.c:2907:19:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    data_init_nx (system, &m->regs.enc.nx); /* initializes rest */
data/nvtv-0.4.7/src/data_nv.c:3020:32:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void data_calc_nv_bt (TVSystem system, int hres, int vres, 
data/nvtv-0.4.7/src/data_nv.c:3023:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  recalc_bt_custom (system, hres, vres, hoc, voc, r);
data/nvtv-0.4.7/src/data_nv.c:3026:23:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  data_init_nomux_bt (system, &r->enc.bt);
data/nvtv-0.4.7/src/data_nv.c:3030:32:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void data_calc_nv_cx (TVSystem system, int hres, int vres, 
data/nvtv-0.4.7/src/data_nv.c:3033:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  recalc_cx_custom (system, hres, vres, hoc, voc, r);
data/nvtv-0.4.7/src/data_nv.c:3035:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  data_init_cx (system, &r->enc.cx, 0);
data/nvtv-0.4.7/src/data_nx.c:235:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
data_init_nx (TVSystem system, TVNxRegs *r) 
data/nvtv-0.4.7/src/data_nx.c:245:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  switch (system) {
data/nvtv-0.4.7/src/data_nx.h:35:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void data_init_nx (TVSystem system, TVNxRegs *r);
data/nvtv-0.4.7/src/data_ph.c:565:30:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void data_init_ph1 (TVSystem system, TVPh1Regs *r)
data/nvtv-0.4.7/src/data_ph.c:570:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  switch (system) /* 7.5 IRE setup vs. non-setup */
data/nvtv-0.4.7/src/data_ph.c:596:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  switch (system) 
data/nvtv-0.4.7/src/data_ph.c:632:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  switch (system)
data/nvtv-0.4.7/src/data_ph.c:655:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  switch (system)
data/nvtv-0.4.7/src/data_ph.c:688:30:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void data_init_ph2 (TVSystem system, TVPh2Regs *r)
data/nvtv-0.4.7/src/data_ph.c:691:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  data_init_ph1 (system, &r->super);
data/nvtv-0.4.7/src/data_ph.h:32:30:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void data_init_ph1 (TVSystem system, TVPh1Regs *r);
data/nvtv-0.4.7/src/data_ph.h:33:30:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void data_init_ph2 (TVSystem system, TVPh2Regs *r);
data/nvtv-0.4.7/src/data_tdfx.c:302:34:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
int data_count_tdfx_bt (TVSystem system)
data/nvtv-0.4.7/src/data_tdfx.c:308:35:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for (t = templ_tdfx_bt; t->spec.system != TV_SYSTEM_NONE; t++) {
data/nvtv-0.4.7/src/data_tdfx.c:309:55:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if (system == TV_SYSTEM_NONE || system == t->spec.system) count++;
data/nvtv-0.4.7/src/data_tdfx.c:325:35:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for (t = templ_tdfx_bt; t->spec.system != TV_SYSTEM_NONE; t++) {
data/nvtv-0.4.7/src/data_tdfx.c:334:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    data_init_nomux_bt (m->spec.system, &m->regs.enc.bt);
data/nvtv-0.4.7/src/data_tdfx.c:420:34:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void data_calc_tdfx_bt (TVSystem system, int hres, int vres, 
data/nvtv-0.4.7/src/data_tdfx.c:423:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  recalc_bt_custom (system, hres, vres, hoc, voc, r);
data/nvtv-0.4.7/src/data_tdfx.c:426:23:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  data_init_nomux_bt (system, &r->enc.bt);
data/nvtv-0.4.7/src/data_xbox.c:109:55:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
int data_count_xbox_cx (TVTemplateXBoxCx *t, TVSystem system)
data/nvtv-0.4.7/src/data_xbox.c:114:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for (; t->spec.system != TV_SYSTEM_NONE; t++) {
data/nvtv-0.4.7/src/data_xbox.c:115:55:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if (system == TV_SYSTEM_NONE || system == t->spec.system) count++;
data/nvtv-0.4.7/src/data_xbox.c:123:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  for (; t->spec.system != TV_SYSTEM_NONE; t++) {
data/nvtv-0.4.7/src/data_xbox.c:134:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      data_init_cx (m->spec.system, &m->regs.enc.cx, FALSE);
data/nvtv-0.4.7/src/data_xbox.c:204:34:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void data_calc_xbox_cx (TVSystem system, int hres, int vres, 
data/nvtv-0.4.7/src/data_xbox.c:207:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  recalc_cx_custom (system, hres, vres, hoc, voc, r);
data/nvtv-0.4.7/src/data_xbox.c:209:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  data_init_cx (system, &r->enc.cx, 0);
data/nvtv-0.4.7/src/gui.c:148:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  GtkOptionMenu *system;
data/nvtv-0.4.7/src/gui.c:974:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    while (m->spec.system != TV_SYSTEM_NONE) {
data/nvtv-0.4.7/src/gui.c:1035:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
void gui_system_set (TVSystem system)
data/nvtv-0.4.7/src/gui.c:1037:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  gui_system = system;
data/nvtv-0.4.7/src/gui.c:1039:48:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    gtk_option_menu_set_history (gui_mode_mask.system, gui_system);
data/nvtv-0.4.7/src/gui.c:1050:48:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    gtk_option_menu_set_history (gui_mode_mask.system, gui_system);
data/nvtv-0.4.7/src/nvdump.c:94:14:  [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.
  if (title) printf (title, from, to);
data/nvtv-0.4.7/src/nvdump.c:115:14:  [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.
  if (title) printf (title, from, to);
data/nvtv-0.4.7/src/nvtv.c:232:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stderr, format, args);
data/nvtv-0.4.7/src/nvtv.c:391:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    while (m->spec.system != TV_SYSTEM_NONE) {
data/nvtv-0.4.7/src/nvtv.c:393:62:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	printf ("%s\t%4i,%4i\t%s\t%05.2f,%05.2f\t%s\n", sys[m->spec.system],
data/nvtv-0.4.7/src/nvtv.c:408:62:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	printf ("%s\t%4i,%4i\t%s\t%05.2f,%05.2f\t%s\n", sys[m->spec.system],
data/nvtv-0.4.7/src/nvtvd.c:107:13:  [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.
    delta = vsnprintf(buf + pos, sizeof(buf) - pos, format, args);
data/nvtv-0.4.7/src/nvtvd.c:347:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  TVSystem system;
data/nvtv-0.4.7/src/nvtvd.c:352:36:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  pipeReadArgs (pipe_in, 1, sizeof(system), &system);
data/nvtv-0.4.7/src/nvtvd.c:352:46:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  pipeReadArgs (pipe_in, 1, sizeof(system), &system);
data/nvtv-0.4.7/src/nvtvd.c:354:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  c = back_card->listModes (system, &modes);
data/nvtv-0.4.7/src/nvtvd.c:365:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  TVSystem system;
data/nvtv-0.4.7/src/nvtvd.c:371:36:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  pipeReadArgs (pipe_in, 4, sizeof(system), &system, 
data/nvtv-0.4.7/src/nvtvd.c:371:46:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  pipeReadArgs (pipe_in, 4, sizeof(system), &system, 
data/nvtv-0.4.7/src/nvtvd.c:374:30:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  if (back_card->findBySize (system, xres, yres, size, &mode)) {
data/nvtv-0.4.7/src/nvtvd.c:385:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  TVSystem system;
data/nvtv-0.4.7/src/nvtvd.c:391:36:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  pipeReadArgs (pipe_in, 5, sizeof(system), &system, 
data/nvtv-0.4.7/src/nvtvd.c:391:46:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  pipeReadArgs (pipe_in, 5, sizeof(system), &system, 
data/nvtv-0.4.7/src/nvtvd.c:395:34:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  if (back_card->findByOverscan (system, xres, yres, hoc, voc, &mode)) 
data/nvtv-0.4.7/src/tv_chip.h:688:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  TVSystem	system;
data/nvtv-0.4.7/src/tv_common.c:189: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 (chain->name, name);
data/nvtv-0.4.7/src/tv_common.c:271:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf (s, 7, format, ap);
data/nvtv-0.4.7/test/test_i2c.c:95:3:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  access:TestAccessCH1, status:TestStatusCH};
data/nvtv-0.4.7/test/test_i2c.c:100:3:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  access:TestAccessCH2, status:TestStatusCH};
data/nvtv-0.4.7/test/test_i2c.c:105:3:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  access:TestAccessCX1, status:TestStatusCX};
data/nvtv-0.4.7/test/test_i2c.c:109:3:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  access:TestAccessCX2, status:TestStatusCX};
data/nvtv-0.4.7/test/test_i2c.c:113:3:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  access:TestAccessPH, status:TestStatusPH};
data/nvtv-0.4.7/test/test_i2c.c:117:3:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  access:TestAccessPH, status:TestStatusPH};
data/nvtv-0.4.7/test/test_i2c.c:145:17:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    else if (r->access (r, subaddr) == -1) {
data/nvtv-0.4.7/test/test_i2c.c:151:28:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  recordWrite (r->zone, r->access (r, subaddr), data, BIT8, "out");
data/nvtv-0.4.7/test/test_i2c.c:162:17:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    else if (r->access (r, subaddr) == -1) {
data/nvtv-0.4.7/test/test_i2c.c:168:28:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  recordWrite (r->zone, r->access (r, subaddr), *buf++, BIT8, "out");
data/nvtv-0.4.7/test/test_i2c.c:170:30:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    recordWrite (r->zone, r->access (r, -1), *buf++, BIT8, "out");
data/nvtv-0.4.7/test/test_i2c.c:180:30:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    recordWrite (r->zone, r->access (r, subaddr), *data, BIT8, "in ");
data/nvtv-0.4.7/test/test_i2c.c:183:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (r->access (r, subaddr) == -1) { tvBusOk = FALSE; return; }
data/nvtv-0.4.7/test/test_i2c.c:184:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    *data = recordRead (r->zone, r->access (r, subaddr), BIT8, "in ");
data/nvtv-0.4.7/test/test_i2c.c:195:30:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    recordWrite (r->zone, r->access (r, subaddr), *buf++, BIT8, "in ");
data/nvtv-0.4.7/test/test_i2c.c:197:32:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      recordWrite (r->zone, r->access (r, -1), *buf++, BIT8, "in ");
data/nvtv-0.4.7/test/test_i2c.c:200:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (r->access (r, subaddr) == -1) { tvBusOk = FALSE; return; }
data/nvtv-0.4.7/test/test_i2c.c:201:38:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    *buf++ = recordRead (r->zone, r->access (r, subaddr), BIT8, "in ");
data/nvtv-0.4.7/test/test_i2c.c:203:40:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      *buf++ = recordRead (r->zone, r->access (r, -1), BIT8, "in ");
data/nvtv-0.4.7/test/test_record.c:583:3:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  access:   test_nv_access,
data/nvtv-0.4.7/test/test_record.c:591:3:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  access:   test_tdfx_access,   
data/nvtv-0.4.7/test/test_record.c:599:3:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  access:   test_intel_access,   
data/nvtv-0.4.7/test/test_record.c:756:20:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  for (r = config->access; r->bits != BIT_NONE; r++) {
data/nvtv-0.4.7/test/tester.c:59:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf (stderr, format, args);
data/nvtv-0.4.7/test/tester.h:85:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  int (*access) (RecordDevicePtr this, int subaddr);
data/nvtv-0.4.7/test/tester.h:98:17:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  RecordAccess* access;
data/nvtv-0.4.7/src/back_mswin.c:149:18:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
  card_win_lib = LoadLibrary("NVARCH32.DLL");
data/nvtv-0.4.7/src/nvdump.c:358:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, short_options, 
data/nvtv-0.4.7/src/nvtv.c:598:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, short_options, 
data/nvtv-0.4.7/src/nvtvd.c:640:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, short_options, 
data/nvtv-0.4.7/test/tester.c:209:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((c = getopt_long (argc, argv, short_options, 
data/nvtv-0.4.7/src/back_client.c:106:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  pipe_out = fopen (PIPE_OUT, "w");
data/nvtv-0.4.7/src/back_client.c:107:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  pipe_in  = fopen (PIPE_IN, "r");
data/nvtv-0.4.7/src/back_client.c:456:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd_out = open (PIPE_OUT, O_WRONLY | O_NONBLOCK);
data/nvtv-0.4.7/src/back_client.c:458:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd_in  = open (PIPE_IN, O_RDONLY | O_NONBLOCK);
data/nvtv-0.4.7/src/back_mswin.c:66:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char gDeviceName[128] = "Display";
data/nvtv-0.4.7/src/back_nvidia.c:1020:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char s[14];
data/nvtv-0.4.7/src/back_unix.c:89: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 mod[80];
data/nvtv-0.4.7/src/back_unix.c:95:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((f = fopen ("/proc/modules", "r"))) {
data/nvtv-0.4.7/src/back_unix.c:115:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((fd = open (DEV_NVCTL, O_RDWR, 0)) < 0) return FALSE;
data/nvtv-0.4.7/src/card_direct.c:92:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((fd = open(card->dev, O_RDWR)) < 0) {
data/nvtv-0.4.7/src/card_direct.c:201:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char s[40];
data/nvtv-0.4.7/src/card_direct.c:332:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *dev_nvcard [NV_MAX_DEVICES] = {
data/nvtv-0.4.7/src/card_direct.c:437:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((f = fopen ("/proc/driver/nvidia/version", "r"))) {
data/nvtv-0.4.7/src/card_direct.c:476:8:  [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(DEV_NVCTL, O_RDWR, 0);
data/nvtv-0.4.7/src/gui.c:915:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char s[20];
data/nvtv-0.4.7/src/gui.c:959: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 sr[20], ss[20], so[20], sa[10];
data/nvtv-0.4.7/src/gui.c:960: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 *text [5];
data/nvtv-0.4.7/src/gui.c:1160:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char s[20];
data/nvtv-0.4.7/src/gui.c:1410:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char s [30];
data/nvtv-0.4.7/src/gui_bt.c:173:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char s [20];
data/nvtv-0.4.7/src/gui_bt.c:180:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (s, "%3.2f MHz", Fclk / 1e6);
data/nvtv-0.4.7/src/gui_bt.c:270: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 sh[10], sv[10], sb[10], sa[10], sn[4];
data/nvtv-0.4.7/src/gui_bt.c:271: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 *text [5];
data/nvtv-0.4.7/src/gui_ch.c:136:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char s [20];
data/nvtv-0.4.7/src/gui_ch.c:173:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (s, "%3.2f MHz", Fpixel);
data/nvtv-0.4.7/src/gui_ch.c:206:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char s[20];
data/nvtv-0.4.7/src/gui_cx.c:197:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char s [20];
data/nvtv-0.4.7/src/gui_cx.c:204:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (s, "%3.2f MHz", Fclk / 1e6);
data/nvtv-0.4.7/src/gui_ph.c:230:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char s [20];
data/nvtv-0.4.7/src/gui_ph.c:243:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (s, "%3.2f MHz", Fclk / 1e6);
data/nvtv-0.4.7/src/gui_ph.c:356:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char s[16];
data/nvtv-0.4.7/src/mmio.c:65: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).
    if ((desc = open ("/dev/io", O_RDWR)) == -1) return EPERM;
data/nvtv-0.4.7/src/nvtvd.c:100:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buf[1024];
data/nvtv-0.4.7/src/nvtvd.c:501:16:  [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).
    pipe_in  = fopen (PIPE_OUT, "r");
data/nvtv-0.4.7/src/nvtvd.c:514:16:  [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).
    pipe_out = fopen (PIPE_IN, "w");
data/nvtv-0.4.7/src/tdfx_type.h:20:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char *MMIOBase[MAXCHIPS];
data/nvtv-0.4.7/src/tv_bt.c:385:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char version [50];
data/nvtv-0.4.7/src/tv_ch1_7007.c:637:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char version [50];
data/nvtv-0.4.7/src/tv_ch2_7009.c:248:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char version [50];
data/nvtv-0.4.7/src/tv_common.c:206: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 version[50];
data/nvtv-0.4.7/src/tv_cx.c:440:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char version [50];
data/nvtv-0.4.7/src/tv_ph1_saa7102.c:647:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char version [50];
data/nvtv-0.4.7/src/back_client.c:308:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 strlen(size)+1, size);
data/nvtv-0.4.7/src/back_unix.c:98:7:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
      fscanf (f, "%80s %i %i", mod, &size, &count);
data/nvtv-0.4.7/src/back_unix.c:99:27:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while (! feof(f) && fgetc(f) != '\n');
data/nvtv-0.4.7/src/card_direct.c:441:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (fgetc (f) != 'K') continue;
data/nvtv-0.4.7/src/card_direct.c:442:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (fgetc (f) != 'e') continue;
data/nvtv-0.4.7/src/card_direct.c:443:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (fgetc (f) != 'r') continue;
data/nvtv-0.4.7/src/card_direct.c:444:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (fgetc (f) != 'n') continue;
data/nvtv-0.4.7/src/card_direct.c:445:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (fgetc (f) != 'e') continue;
data/nvtv-0.4.7/src/card_direct.c:446:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (fgetc (f) != 'l') continue;
data/nvtv-0.4.7/src/card_direct.c:447:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (fgetc (f) != ' ') continue;
data/nvtv-0.4.7/src/card_direct.c:448:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (fgetc (f) != 'M') continue;
data/nvtv-0.4.7/src/card_direct.c:449:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (fgetc (f) != 'o') continue;
data/nvtv-0.4.7/src/card_direct.c:450:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (fgetc (f) != 'd') continue;
data/nvtv-0.4.7/src/card_direct.c:451:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (fgetc (f) != 'u') continue;
data/nvtv-0.4.7/src/card_direct.c:452:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (fgetc (f) != 'l') continue;
data/nvtv-0.4.7/src/card_direct.c:453:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (fgetc (f) != 'e') continue;
data/nvtv-0.4.7/src/data_i810.c:343: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).
      s = (char *) malloc ((strlen(t->spec.size) + strlen (suffix) + 1) *
data/nvtv-0.4.7/src/data_i810.c:343:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      s = (char *) malloc ((strlen(t->spec.size) + strlen (suffix) + 1) *
data/nvtv-0.4.7/src/data_i810.c:374: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).
      s = (char *) malloc ((strlen(t->spec.size) + strlen (suffix) + 1) *
data/nvtv-0.4.7/src/data_i810.c:374:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      s = (char *) malloc ((strlen(t->spec.size) + strlen (suffix) + 1) *
data/nvtv-0.4.7/src/data_nv.c:2207: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).
      s = (char *) malloc ((strlen(t->spec.size) + strlen (suffix) + 1) *
data/nvtv-0.4.7/src/data_nv.c:2207:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      s = (char *) malloc ((strlen(t->spec.size) + strlen (suffix) + 1) *
data/nvtv-0.4.7/src/data_nv.c:2235: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).
      s = (char *) malloc ((strlen(t->spec.size) + strlen (suffix) + 1) *
data/nvtv-0.4.7/src/data_nv.c:2235:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      s = (char *) malloc ((strlen(t->spec.size) + strlen (suffix) + 1) *
data/nvtv-0.4.7/src/gui.c:1416:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy (s, "(No card)", 20);
data/nvtv-0.4.7/src/libc_wrapper.c:54:5:  [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/nvtv-0.4.7/src/nvtvd.c:358: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 (m->spec.size)+1, m->spec.size,
data/nvtv-0.4.7/src/nvtvd.c:359: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 (m->spec.aspect)+1, m->spec.aspect);
data/nvtv-0.4.7/src/nvtvd.c:376: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 (mode.spec.size)+1, mode.spec.size,
data/nvtv-0.4.7/src/nvtvd.c:377: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 (mode.spec.aspect)+1, mode.spec.aspect);
data/nvtv-0.4.7/src/nvtvd.c:398: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 (mode.spec.size)+1, mode.spec.size,
data/nvtv-0.4.7/src/nvtvd.c:399: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 (mode.spec.aspect)+1, mode.spec.aspect);
data/nvtv-0.4.7/src/nvtvd.c:673:3:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  umask (0000); /* Reset umask */
data/nvtv-0.4.7/src/pipe.c:141:31:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      for (j = 0; j < t; j++) fgetc (pipe);
data/nvtv-0.4.7/src/pipe.c:215:31:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      for (j = 0; j < t; j++) fgetc (pipe);
data/nvtv-0.4.7/src/pipe.c:226:31:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      for (j = 0; j < t; j++) fgetc (pipe);
data/nvtv-0.4.7/src/pipe.c:253: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).
      k = strlen(s) + 1;
data/nvtv-0.4.7/src/tv_common.c:188:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  chain->name = xalloc (strlen(name)+1);

ANALYSIS SUMMARY:

Hits = 345
Lines analyzed = 42088 in approximately 1.07 seconds (39246 lines/second)
Physical Source Lines of Code (SLOC) = 30338
Hits@level = [0] 478 [1]  38 [2]  42 [3]   5 [4] 260 [5]   0
Hits@level+ = [0+] 823 [1+] 345 [2+] 307 [3+] 265 [4+] 260 [5+]   0
Hits/KSLOC@level+ = [0+] 27.1277 [1+] 11.3719 [2+] 10.1193 [3+] 8.73492 [4+] 8.57011 [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.