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/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_kbd.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_local.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/osd_manager.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/demux_xvdr.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/vo_osdreorder.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/vo_frameoutput.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/input_xvdr_mrl.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/xvdr_plugin.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/vo_osdreorder.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/xvdr_metronom.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/vo_props.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/vo_lastpts.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/demux_xvdr_tsdata.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/adjustable_scr.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/vo_osdscaler.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/adjustable_scr.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/post.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/vo_hook.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/post_util.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/ts2es.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/vo_post.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/osd_manager.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/ts2es.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/demux_xvdr_tsdata.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/xvdr_metronom.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/vo_hook.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/post.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/vo_osdscaler.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/vo_frameoutput.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/vo_lastpts.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr_net.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_lirc.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_local.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/logdefs.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/equalizer.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/menuitems.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/include/vdr-xineliboutput/service_pip.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/media_player.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_kbd.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/equalizer.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/mpg2c.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_fbfe_frontend.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_lirc.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/device.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_post_audiochannel.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/media_player.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_post_swscale.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xineliboutput.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_post_autocrop.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/device.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_wlfe_frontend.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_main.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_sxfe_frontend.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/osd.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_cec.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/vdrlogo_32x32.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/logdefs.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/menuitems.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_internal.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/time_pts.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/mpeg.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/h265.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/debug_mutex.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/h264.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/backgroundwriter.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/gnome_screensaver.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/bitstream.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/ts.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/avahi.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/mpeg.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/udp_pes_scheduler.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/udp_pes_scheduler.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/backgroundwriter.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/http.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sdp.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sap.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sys_cap.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/udp_buffer.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/listiter.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/display_message.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/h264.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/gnome_screensaver.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/timer.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/vdrdiscovery.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/functor.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/http.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/section_lock.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/ts.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/endian_compat.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/iso639.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/rtp.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/pip_service_impl.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/pes.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/functorimpl.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/rle.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/time_pts.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/time_ms.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sys_cap.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sdp.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/osd_command.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/cxsocket.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/avahi.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/h265.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/metainfo_menu.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/pes.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/cxsocket.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/general_remote.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/metainfo_menu.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sap.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/rle.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sock_compat.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/timer.c
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/rtcp.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/future.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/vdrdiscovery.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_cec.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/osd.h
Examining data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c

FINAL RESULTS:

data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:394:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(dest, src);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:397:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(dest, src);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:448:29:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString folder = cString::sprintf("%s/VIDEO_TS/", fname);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:450:23:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    folder = cString::sprintf("%s/video_ts/", fname);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:455:21:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  if (stat(cString::sprintf("%s/video_ts.ifo", *folder), &st) == 0)
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:458:21:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  if (stat(cString::sprintf("%s/VIDEO_TS.IFO", *folder), &st) == 0)
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:468:29:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString folder = cString::sprintf("%s/BDMV/", fname);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:470:23:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    folder = cString::sprintf("%s/bdmv/", fname);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:475:21:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  if (stat(cString::sprintf("%s/MovieObject.bdmv", *folder), &st) == 0)
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:478:21:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  if (stat(cString::sprintf("%s/movieobject.bdmv", *folder), &st) == 0)
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:481:21:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  if (stat(cString::sprintf("%s/MOVIEOBJECT.BDMV", *folder), &st) == 0)
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:492:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  return cString::sprintf(
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:512:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  return cString::sprintf("output_aspect=%s,output_width=%d,output_height=%d,no_downscaling=%d",
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:525:21:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    return cString::sprintf("quality=%d,mode=%s", ffmpeg_pp_quality, ffmpeg_pp_mode);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:527:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  return cString::sprintf("quality=%d", ffmpeg_pp_quality);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:535:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  return cString::sprintf("luma_matrix_width=%d,luma_matrix_height=%d,luma_amount=%1.1f,"
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:548:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  return cString::sprintf("luma=%1.1f,chroma=%1.1f,time=%1.1f",
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:739:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    m_ProcessedArgs = cString::sprintf("%s%s ", *m_ProcessedArgs ? *m_ProcessedArgs : " ", Name);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:823:58:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                ProcessArg("X11.WindowWidth",  *cString::sprintf("%d", _width));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:824:58:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                ProcessArg("X11.WindowHeight", *cString::sprintf("%d", _height));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:825:58:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                ProcessArg("X11.XPos",         *cString::sprintf("%d", _xpos));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:826:58:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                ProcessArg("X11.YPos",         *cString::sprintf("%d", _ypos));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:94:9:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
        sscanf(key, "%" PRIX64, &value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:145:89:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	m_Dev->SetAvailableTrack(ttSubtitle, id, id+1, iso639_1_to_iso639_2(lang) ?: *cString::sprintf("%03d", id+1));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:174:97:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      m_Dev->SetAvailableTrack(ttDolby, id, ttDolby+id, iso639_1_to_iso639_2(lang) ?: *cString::sprintf("%03d", id+1));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:288:26:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString str = cString::sprintf("VOLUME %d%s", NewVolume * 100 / 255,
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:302:26:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString str = cString::sprintf("TRICKSPEED %d%s", Speed, Backwards ? " Backwards" : "");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:366:26:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString buf = cString::sprintf("SPUSTREAM %d%s", 
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:374:25:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  Xine_Control(cString::sprintf("PIP %d %d %d %d %d", Index, X, Y, W, H));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:379:25:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  Xine_Control(cString::sprintf("PIP %d Close", Index));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:617:31:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      fd = open(Path=cString::sprintf("%s/plugins/xineliboutput/logo.mpv", *SetupPath), O_RDONLY);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:684:6:  [4] (format) snprintf:
  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.
  if(snprintf(buf, sizeof(buf), "%s %" PRId64, cmd, p1) >= (int)sizeof(buf)) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:727:17:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	vis = cString::sprintf("%s:%s", xc.audio_visualization, xc.audio_vis_goom_opts);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:729:17:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	vis = cString::sprintf("%s:%s", xc.audio_visualization, xc.audio_vis_image_mrl);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:737:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  buf = cString::sprintf("PLAYFILE %s %d %s %s",
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:775:31:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        Xine_Control(cString::sprintf("SPUSTREAM %s", lang1));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:777:26:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	  Xine_Control(cString::sprintf("SPUSTREAM %s", spu_lang));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:781:29:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      Xine_Control(cString::sprintf("SPUSTREAM %d", ttXSubtitleNone));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:815:27:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    Xine_Control(cString::sprintf("SCR %s %d", 
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:840:29:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  r = Xine_Control(cString::sprintf("EQUALIZER %d %d %d %d %d %d %d %d %d %d",
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:866:26:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString cmd = cString::sprintf("POST %s %s %s",
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:879:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  return Xine_Control(cString::sprintf("VIDEO_PROPERTIES %d %d %d %d %d %d %d",
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:160:27:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    m_PipesDir = cString::sprintf("%s/xineliboutput/pipes.%d", *Base, getpid());
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:161:35:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    m_AllowedHostsFile = cString::sprintf("%s/" ALLOWED_HOSTS_FILE, *Base);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:164:27:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    m_PipesDir = cString::sprintf("/tmp/xineliboutput/pipes.%d", getpid());
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:165:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    m_AllowedHostsFile = cString::sprintf("/video/" ALLOWED_HOSTS_FILE);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:640:28:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    cString tmp = cString::sprintf("FLUSH %d %" PRIu64 " %d",
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:979:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cmd = cString::sprintf("GRAB %s %d %d %d\r\n",
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:1044:25:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    pipeName = cString::sprintf("%s/pipe.%d", *m_PipesDir, i);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:1349:11:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  if(3 == sscanf(arg, "%d-%d %" PRIu64, &seq1, &seq2, &pos)) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:1555:44:  [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 RTSPOUT(x...) do { fd_control[cli].printf(x); LOGMSG("RTSP TX:" x); } while(0)
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:1791:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    if(1 == sscanf(cmd+4, "%" PRId64, &pts))
data/vdr-plugin-xineliboutput-2.1.0+git20191101/logdefs.c:36:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf(buf, sizeof(buf), fmt, argp);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/logdefs.h:67:31:  [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.
       __attribute__((format (printf, 3, 4)))
data/vdr-plugin-xineliboutput-2.1.0+git20191101/media_player.c:72:30:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      cString cmd = cString::sprintf(s, i);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/media_player.c:256:34:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        m_Playlist.Read(cString::sprintf("cdda:/%d", i+1));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/media_player.c:257:45:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        m_Playlist.Last()->Title = cString::sprintf("Track %d", i + 1);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/media_player.c:258:51:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        m_Playlist.Last()->Tracknumber = cString::sprintf("%d/%d", i + 1, count);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/media_player.c:270:31:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      m_ResumeFile = cString::sprintf("%s.resume", *m_File);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/media_player.c:279:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      mrl = cString::sprintf("%s#subtitle:%s", *mrl,
data/vdr-plugin-xineliboutput-2.1.0+git20191101/media_player.c:358:21:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  SetTitle(cString::sprintf("%s: %s", tr("Playlist"), m_IC.Convert(*Playlist.Name())));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:315:31:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      cString name = cString::sprintf("%s/%s", (const char *)m_CurrentDir, it->Name());
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:319:27:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
          name = cString::sprintf("%s.resume", *name);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:357:34:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      cString bd_path = cString::sprintf("%s/%s/", *m_CurrentDir, GetCurrent()->Name());
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:377:30:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        cString f = cString::sprintf("%s/%s/", *m_CurrentDir, GetCurrent()->Name());
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:405:26:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    cString f = cString::sprintf("%s/%s", *m_CurrentDir, GetCurrent()->Name());
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:420:27:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
          unlink(cString::sprintf("%s.resume", *f));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:439:35:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
          Playlist->Read(cString::sprintf("%s/%s", *m_CurrentDir, it->Name()));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:453:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    cString filename = cString::sprintf("%s/%s", *m_CurrentDir, GetCurrent()->Name());
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:467:35:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        cString buffer = cString::sprintf("%s/%s", DirName, e->d_name);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:512:43:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
              cString basename = cString::sprintf("%s/%s", DirName, e->d_name);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:518:40:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                cString tmp = cString::sprintf("%s%s", *basename, xc.s_subExts[i]);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:524:37:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
              resumefile = cString::sprintf("%s/%s.resume", DirName, e->d_name);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:797:28:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        Message = cString::sprintf("%s %s %s", tr("Local Frontend"),
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:811:26:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      Message = cString::sprintf("%s %s %s", tr("Aspect ratio"),
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:824:26:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      Message = cString::sprintf("%s %s %s", tr("Video aspect ratio"),
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:845:26:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      Message = cString::sprintf("%s %s %s", tr("Crop letterbox 4:3 to 16:9"),
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:864:28:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        Message = cString::sprintf("%s %s %s", tr("Deinterlacing"),
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:876:26:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      Message = cString::sprintf("%s %s %s",
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:890:26:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      Message = cString::sprintf("%s %s %s",
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:901:35:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
          cString file = cString::sprintf("%s%s", cPlugin::ConfigDirectory("xineliboutput"), "/default_playlist");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:928:26:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      Message = cString::sprintf("%s %s %d %s", tr("Delay"),
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:941:26:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      Message = cString::sprintf("%s %s %d %s", tr("Delay"),
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:947:26:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      Message = cString::sprintf(tr("xineliboutput: hotkey %s not binded"), cKey::ToString(Key));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menuitems.c:36:23:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    SetValue(cString::sprintf("%d %s", *value, *type));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menuitems.c:120:23:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    SetValue(cString::sprintf("%1.1f", ((float)(*value)) / (float)my_exp10(decimals)));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menuitems.c:174:17:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	txt = cString::sprintf("\tD\t[%s] ", *m_Name); // text2skin requires space at end of string to display item correctly ...
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menuitems.c:176:17:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	txt = cString::sprintf("\tB\t[%s] ", *m_Name);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menuitems.c:178:17:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	txt = cString::sprintf("\t\t[%s] ", *m_Name); // text2skin requires space at end of string to display item correctly ...
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menuitems.c:180:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      txt = cString::sprintf("%c\t%c\t%s", m_HasResume ? ' ' : '*', *m_SubFile ? 'S' : m_IsDvd ? 'D' : m_IsBluRay ? 'B' : ' ', *m_Name);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menuitems.c:186:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      txt = cString::sprintf("[%s] ", *m_Name); // text2skin requires space at end of string to display item correctly ...
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menuitems.h:18:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  return cString::sprintf("%s >>", Label);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menuitems.h:23:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  return cString::sprintf("  %s", Label);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menuitems.h:28:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  return cString::sprintf("----- %s -----", Label);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:1102:28:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    cString tmp = cString::sprintf("EXTSUBSIZE %d", newconfig.extsub_size);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:1430:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(newconfig.audio_port, xc.audio_port);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:1456:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(newconfig.video_port, xc.video_port);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/cxsocket.c:273:19:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
ssize_t cxSocket::printf(const char *fmt, ...)
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/cxsocket.c:280:7:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  r = vsnprintf(buf, sizeof(buf), fmt, argp);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/cxsocket.h:68:11:  [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.
  ssize_t printf(const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/cxsocket.h:68:64:  [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.
  ssize_t printf(const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/http.c:230:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    switch(sscanf(Range, "bytes=%" PRId64 "-%" PRId64, &m_Start, &m_End)) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/metainfo_menu.c:55:28:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      cString s = cString::sprintf("%s: %s\n", key, data);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/metainfo_menu.c:144:20:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    cmd = cString::sprintf("file -b '%s'; cat '%s'", *m_Filename, *m_Filename);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/metainfo_menu.c:146:20:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    cmd = cString::sprintf("mp3info -x '%s' ; file -b '%s'", *m_Filename, *m_Filename);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/metainfo_menu.c:148:20:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    cmd = cString::sprintf("file -b '%s'; midentify '%s'", *m_Filename, *m_Filename);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/metainfo_menu.c:150:20:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    cmd = cString::sprintf("file -b '%s'; identify '%s'", *m_Filename, *m_Filename);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/metainfo_menu.c:152:20:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    cmd = cString::sprintf("file -b '%s'", *m_Filename);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/metainfo_menu.c:168:36:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cStatus::MsgOsdTextItem(cString::sprintf("%s\n%s", tr("Metainfo"), *m_Filename));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:73:25:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    Filename = cString::sprintf("%s/%s", path, filename);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:75:25:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    Filename = cString::sprintf("%s%s", path, filename);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:157:59:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        Item->Tracknumber = strlen(data) == 1 ? *cString::sprintf("0%s", data) : data;
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:225:43:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
             Item->Tracknumber = cString::sprintf("%s%s", strlen(md_list->keyword) == 1 ? "0" : "", md_list->keyword);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:236:28:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            Cmd = cString::sprintf("metaflac "
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:244:28:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            Cmd = cString::sprintf("mp3info -p \""
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:264:44:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
              Item->Tracknumber = cString::sprintf("%s%s", strlen(pt) == 13 ? "0" : "", (pt+12));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:552:27:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString Name = cString::sprintf("%s%s", *m_Folder, PLAYLIST_CACHE);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:602:29:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    cString Name = cString::sprintf("%s%s", *m_Folder, PLAYLIST_CACHE);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:718:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      cString Buffer = cString::sprintf("%s%s", FolderName, e->d_name);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:729:21:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		Buffer = cString::sprintf("%s/", *Buffer);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:787:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString CacheName = cString::sprintf("%s%s", *m_Folder, PLAYLIST_CACHE);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:828:28:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    cString Cmd = cString::sprintf("curl %s", file);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:871:35:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	      n += ReadPlaylist(cString::sprintf("%s%s", *Folder, pt));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:946:25:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      m_Name = cString::sprintf("%s - %s", *dir, name);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:965:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	  m_Name = cString::sprintf("%s - %s", *dir, strrchr(m_Name, '/')+1);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:1034:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  return cString::sprintf("%s:%s%s%s%s",
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:1046:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      Entry = cString::sprintf("%s%s%s%s%s%s(%s%s%s)",
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:1057:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      Entry = cString::sprintf("%s%s%s%s%s",
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sap.c:94:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(tmp, payload_type);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sap.c:96:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(tmp, payload);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sap.c:99:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(&pdu->payload[0], "%s%c%c", payload, 0, 0);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sap.c:199:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(x, t);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sap.c:201:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(a, t);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sdp.c:42:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    payload = cString::sprintf(
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sdp.c:49:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    payload = cString::sprintf(
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/udp_pes_scheduler.c:589:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(it->data, "VDR@%s:%d%c%c%c",
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/udp_pes_scheduler.c:651:15:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				 cString::sprintf("xineliboutput@%s.sdp",
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/udp_pes_scheduler.c:894:5:  [4] (format) snprintf:
  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.
    snprintf(udp_ctrl.payload, sizeof(udp_ctrl.payload),
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/udp_pes_scheduler.c:948:5:  [4] (format) snprintf:
  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.
    snprintf(udp_ctrl.payload, sizeof(udp_ctrl.payload),
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/post.c:353:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(dst, src);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:120:15:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if (-1 == system(cmd))
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:450: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.
        if(system(cmd) == -1)
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:1654:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf(mrl, MRL_ID "+slave://%p#nocache",
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_kbd.c:163:14:  [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.
    status = system("setterm -cursor on");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_kbd.c:182:14:  [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.
    status = system("setterm -cursor off");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_kbd.c:185:14:  [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.
    status = system("setterm -blank off");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_kbd.c:235:5:  [4] (format) snprintf:
  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.
    snprintf(str, sizeof(str), "%016" PRIX64, code);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_lirc.c:206:11:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
          strcpy(LastKeyName, KeyName);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_main.c:91:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(dest, src);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_main.c:94:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(dest, src);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_main.c:248:45:  [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 PRINTF(x...) do { if(SysLogLevel>1) printf(x); } while(0)
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_main.c:249:27:  [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 EXIT(x...)   do { fprintf(stderr, x); exit(-1); } while(0)
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_main.c:423:19:  [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 (access(tty, R_OK | W_OK) < 0) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:158:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf(buf, sizeof(buf), fmt, argp);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:216:23:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define TRACE(x...) printf(x)
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:1059:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf(buf, sizeof(buf), fmt, argp);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:1219:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  vsnprintf(buf, sizeof(buf), fmt, argp);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:2468:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	  sprintf(mrl, "%s%s", mrlbase, filename + is_file_mrl);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:2566:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf(tmp, "SLAVE %p %s\r\n",
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:3245:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    if(1 == sscanf(cmd+10, "%" PRIu64, &tmp64)) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:4047:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
    if(1 == sscanf(cmd+8, "%" PRIu64, &index)) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:4390:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
      sscanf(((char*)pkt_data)+12, "%d-%d %" PRIu64,
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_post_swscale.c:69:47:  [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 DBG(x...) do { if(this->config.debug) fprintf(stderr, "post_warp: " x); } while (0)
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_sxfe_frontend.c:2968:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf(tmp, "KEY %s", map[y][x]);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_wlfe_frontend.c:119:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(tmp, "KEY %s", map[y][x]);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xineliboutput.c:409:23:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      return cString::sprintf("Local frontend: %s", xc.local_frontend);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xineliboutput.c:427:21:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    return cString::sprintf("Switching primary device to %d", primary);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:776: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, long_options, NULL)) != -1) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_fbfe_frontend.c:76:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char *env_old = getenv("DFBARGS");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_main.c:302: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, long_options, NULL)) != -1) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:181:30:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char *pLogToSyslog = getenv("VDR_FE_SYSLOG");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:182:30:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char *pSysLogLevel = getenv("VDR_FE_LOG_LEVEL");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_sxfe_frontend.c:1381:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (NULL!=(video_port=getenv("DISPLAY")) && !(this->display = XOpenDisplay(video_port)))
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_wlfe_frontend.c:787:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    video_port = getenv("WAYLAND_DISPLAY");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:899:66:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "VideoModeSwitching")) modeswitch = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:900:66:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Fullscreen"))         fullscreen = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:902:76:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "ForcePrimaryDevice")) force_primary_device = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:903:73:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "AutoSuspendOutput"))  use_suspendoutput = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:905:107:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "X11.WindowId"))     window_id = (!strcmp(Value, "root")) ? WINDOW_ID_ROOT : atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:906:59:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "X11.WindowWidth"))  width = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:907:60:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "X11.WindowHeight")) height = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:908:58:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "X11.XPos"))         xpos = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:909:58:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "X11.YPos"))         ypos = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:910:68:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "X11.UseKeyboard"))  use_x_keyboard = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:911:63:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "X11.HUDOSD"))       hud_osd |= (atoi(Value) ? HUD_COMPOSITE : 0);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:912:60:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "X11.OpenglAlways")) opengl = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:913:63:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "X11.OpenglHUDOSD")) hud_osd |= (atoi(Value) ? HUD_OPENGL : 0);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:914:63:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "X11.XShapeHUDOSD")) hud_osd |= (atoi(Value) ? HUD_XSHAPE : 0);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:915:74:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "truecoloreverytime")) truecoloreverytime = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:921:61:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Audio.Delay"))  audio_delay = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:922:72:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Audio.Compression")) audio_compression = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:926:67:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Audio.Surround"))  audio_surround = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:927:64:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Audio.Upmix"))     audio_upmix = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:928:62:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Audio.Headphone")) headphone = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:929:82:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Audio.SoftwareVolumeControl")) sw_volume_control = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:931:70:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "OSD.HideMainMenu"))   hide_main_menu = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:933:65:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "OSD.Width"))          osd_width = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:934:66:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "OSD.Height"))         osd_height = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:936:65:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "OSD.LayersVisible"))  osd_mixer = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:937:67:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "OSD.Scaling"))        osd_scaling = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:938:71:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "OSD.ScalingSPU"))     osd_spu_scaling = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:939:68:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "OSD.Blending"))       osd_blending = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:940:80:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "OSD.BlendingLowRes")) osd_blending_lowresvideo = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:943:68:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "OSD.UnscaledAlways")) osd_blending = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:944:80:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "OSD.UnscaledLowRes")) osd_blending_lowresvideo = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:946:76:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "OSD.AlphaCorrection"))    alpha_correction = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:947:80:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "OSD.AlphaCorrectionAbs")) alpha_correction_abs = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:949:66:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "OSD.ExtSubSize"))    extsub_size = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:950:68:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "OSD.DvbSubtitles"))  dvb_subtitles = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:952:68:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "RemoteMode"))          remote_mode = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:953:68:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Remote.ListenPort"))   listen_port = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:954:72:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Remote.Keyboard"))     remote_keyboard = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:955:75:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Remote.MaxClients"))   remote_max_clients = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:956:70:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Remote.UseTcp"))       remote_usetcp = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:957:70:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Remote.UseUdp"))       remote_useudp = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:958:70:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Remote.UseRtp"))       remote_usertp = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:959:70:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Remote.UsePipe"))      remote_usepipe= atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:960:74:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Remote.UseHttp"))      remote_http_files = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:961:72:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Remote.UseBroadcast")) remote_usebcast = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:964:73:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Remote.Rtp.Port"))     remote_rtp_port = (atoi(Value)) & (0xfffe);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:965:71:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Remote.Rtp.TTL"))      remote_rtp_ttl = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:966:77:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Remote.Rtp.AlwaysOn")) remote_rtp_always_on = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:967:79:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Remote.Rtp.SapAnnouncements")) remote_rtp_sap = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:969:73:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Remote.AllowRtsp"))     remote_use_rtsp = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:970:78:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Remote.AllowRtspCtrl")) remote_use_rtsp_ctrl = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:971:73:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Remote.AllowHttp"))     remote_use_http = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:972:78:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Remote.AllowHttpCtrl")) remote_use_http_ctrl = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:977:66:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Decoder.PesBuffers"))  pes_buffers=atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:982:66:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.Scale"))       scale_video = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:986:63:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.AutoCrop"))    autocrop = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:987:84:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.AutoCrop.AutoDetect"))   autocrop_autodetect = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:988:93:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.AutoCrop.AutoDetectRate"))   autocrop_autodetect_rate = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:989:78:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.AutoCrop.SoftStart"))    autocrop_soft = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:990:93:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.AutoCrop.SoftStartStep"))    autocrop_soft_start_step = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:991:83:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.AutoCrop.FixedSize"))    autocrop_fixedsize = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:992:92:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.AutoCrop.StabilizeTime"))    autocrop_stabilize_time = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:993:78:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.AutoCrop.DetectSubs"))   autocrop_subs = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:994:102:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.AutoCrop.SubsDetectLifetime"))   autocrop_subs_detect_lifetime = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:995:113:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.AutoCrop.SubsDetectStabilizeTime"))   autocrop_subs_detect_stabilize_time = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:996:83:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.AutoCrop.LogoWidth"))   autocrop_logo_width = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:997:92:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.AutoCrop.UseDriverCrop"))   autocrop_use_driver_crop = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:998:100:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.AutoCrop.UseAvardsAnalysis"))   autocrop_use_avards_analysis = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:999:101:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.AutoCrop.OverscanCompensate"))   autocrop_overscan_compensate = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1000:98:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.AutoCrop.BarToneTolerance"))   autocrop_bar_tone_tolerance = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1002:68:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.SwScale"))           swscale = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1003:82:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.SwScale.Aspect"))    swscale_change_aspect = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1004:75:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.SwScale.Resize"))    swscale_resize = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1005:78:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.SwScale.Downscale")) swscale_downscale = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1006:74:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.SwScale.Width"))     swscale_width = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1007:75:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.SwScale.Height"))    swscale_height = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1009:58:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.HUE"))         hue = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1010:65:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.Saturation"))  saturation = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1011:63:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.Contrast"))    contrast = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1012:65:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.Brightness"))  brightness = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1013:64:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.Sharpness"))   sharpness = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1014:73:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.NoiseReduction")) noise_reduction = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1015:63:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.Overscan"))    overscan = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1016:72:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.IBPTrickSpeed"))  ibp_trickspeed = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1017:72:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.MaxTrickSpeed"))  max_trickspeed = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1018:73:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Video.AspectRatio"))    vo_aspect_ratio = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1025:64:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Post.pp.Enable"))    ffmpeg_pp = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1026:72:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Post.pp.Quality"))   ffmpeg_pp_quality = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1029:99:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Post.unsharp.Enable"))               unsharp                      = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1030:99:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Post.unsharp.luma_matrix_width"))    unsharp_luma_matrix_width    = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1031:99:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Post.unsharp.luma_matrix_height"))   unsharp_luma_matrix_height   = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1032:99:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Post.unsharp.luma_amount"))          unsharp_luma_amount          = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1033:99:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Post.unsharp.chroma_matrix_width"))  unsharp_chroma_matrix_width  = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1034:99:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Post.unsharp.chroma_matrix_height")) unsharp_chroma_matrix_height = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1035:99:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Post.unsharp.chroma_amount"))        unsharp_chroma_amount        = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1037:76:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Post.denoise3d.Enable"))  denoise3d        = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1038:76:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Post.denoise3d.luma"))    denoise3d_luma   = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1039:76:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Post.denoise3d.chroma"))  denoise3d_chroma = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1040:76:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Post.denoise3d.time"))    denoise3d_time   = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1046:78:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Media.ShowHiddenFiles"))   show_hidden_files = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1047:90:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Media.CacheImplicitPlaylists")) cache_implicit_playlists = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1048:79:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Media.EnableID3Scanner"))  enable_id3_scanner = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1049:103:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Media.DVD.ArrowKeysControlPlayback")) dvd_arrow_keys_control_playback = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1050:77:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Media.MenuItems"))         media_menu_items = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1051:80:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Media.EnableDelete"))      media_enable_delete = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1052:80:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Media.EnableResume"))      media_enable_resume = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1054:78:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Playlist.Tracknumber")) playlist_tracknumber = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1055:73:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Playlist.Artist"))      playlist_artist = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1056:72:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Playlist.Album"))       playlist_album = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1058:73:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Advanced.LiveModeSync")) live_mode_sync = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1059:69:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Advanced.AdjustSCR"))    scr_tuning = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:1060:65:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  else if (!strcasecmp(Name, "Advanced.SCRSpeed"))     scr_hz = atoi(Value);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:231:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_bufferSize             [PES_BUFFERS_count   + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:233:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_aspects                [ASPECT_count        + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:234:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_vo_aspects             [VO_ASPECT_count     + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:235:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_deinterlaceMethods     [DEINTERLACE_count   + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:236:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_deinterlaceMethodNames [DEINTERLACE_count   + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:237:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_audioDriverNames       [AUDIO_DRIVER_count  + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:238:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_audioDrivers           [AUDIO_DRIVER_count  + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:239:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_videoDriverNamesX11    [X11_DRIVER_count    + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:240:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_videoDriversX11        [X11_DRIVER_count    + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:241:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_videoDriverNamesFB     [FB_DRIVER_count     + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:242:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_videoDriversFB         [FB_DRIVER_count     + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:243:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_frontendNames          [FRONTEND_count      + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:244:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_frontends              [FRONTEND_count      + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:245:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_frontend_files         [FRONTEND_count      + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:246:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_audioEqNames           [AUDIO_EQ_count      + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:247:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_audioVisualizations    [AUDIO_VIS_count     + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:248:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_audioVisualizationNames[AUDIO_VIS_count     + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:249:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_speakerArrangements    [SPEAKERS_count      + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:250:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_subtitleSizes          [SUBTITLESIZE_count  + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:251:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_osdBlendingMethods     [OSD_BLENDING_count  + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:252:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_osdMixers              [OSD_MIXER_count     + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:253:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_osdScalings            [OSD_SCALING_count   + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:254:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_osdSizes               [OSD_SIZE_count      + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:255:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_osdColorDepths         [OSD_DEPTH_count     + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:256:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_decoders_MPEG2         [DECODER_MPEG2_count + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:257:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_decoders_H264          [DECODER_H264_count  + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:258:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_ff_skip_loop_filters   [FF_H264_SKIP_LOOPFILTER_count + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:259:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const s_ff_speed_over_accuracy [FF_H264_SPEED_OVER_ACCURACY_count + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:278:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char local_frontend[64];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:279:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char video_driver[32];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:280:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char video_port[32];     // X11: DISPLAY=...
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:281:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char audio_driver[32];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:282:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char audio_port[64];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:287:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char modeline[64];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:313:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char audio_visualization[64];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:314:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char audio_vis_goom_opts[256];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:315:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char audio_vis_image_mrl[4096];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:348:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char media_root_dir[4096];     // restrict file browser
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:349:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char browse_files_dir[4096];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:350:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char browse_music_dir[4096];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:351:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char browse_images_dir[4096];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:365:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char deinterlace_method[32];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:366:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char deinterlace_opts[256];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:371:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ffmpeg_pp_mode[256];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:418:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char remote_local_if[32]; // Listen only on this interface
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:419:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char remote_local_ip[32]; // Bind locally to this IP
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.h:437:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char remote_rtp_addr[32]; //xxx.xxx.xxx.xxx\0
data/vdr-plugin-xineliboutput-2.1.0+git20191101/device.c:1112:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(m_TsBuf + m_TsBufSize, buf, length);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/device.h:229:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     m_MetaInfo[mi_Count][MAX_METAINFO_LEN+1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/equalizer.c:21:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(m_Values, xc.audio_equalizer, sizeof(xc.audio_equalizer));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:133:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	  CurrentTrack = atoi(map);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:139:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	int id = atoi(map);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:168:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      int id = atoi(map);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:386: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 buf[128];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:518:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(data2+i2, data1+i1, len-i1);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:558:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(frame, hdr_vid, hdrlen);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:559:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(frame+hdrlen, data+done, blocklen);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:617: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 = open(Path=cString::sprintf("%s/plugins/xineliboutput/logo.mpv", *SetupPath), O_RDONLY);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:622:10:  [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(Path=STARTUP_IMAGE_FILE, O_RDONLY);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:672: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 buf[128];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:683: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 buf[128];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:694: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 buf[1024];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:771:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char lang1[5];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_local.c:167:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    buf[32];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_local.c:239:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[4096];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_local.c:259: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 libname[4096]="";
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:211:22:  [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_control[i].open() && m_Writer[i])
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:261:22:  [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_control[cli].open()) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:336:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&cmdnet, cmd, sizeof(osd_command_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:355:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&cmdnet_argbrle, cmd, sizeof(osd_command_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:370:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if(fd_control[i].open() && m_bConfigOk[i]) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:373: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 (!fd.open())
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:473:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(m_Header + m_HeaderLength, Data, Length);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:485:22:  [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_control[i].open()) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:554:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if(fd_control[i].open()) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:578:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if(fd_control[i].open() && m_bConfigOk[i] && m_Writer[i]) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:633:22:  [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_control[i].open() && fd_data[i]>=0 && m_Writer[i])
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:658:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[4096];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:668:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if(fd_control[i].open() && (fd_data[i]>=0 || m_bMulticast[i]) && m_bConfigOk[i])
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:689:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[256];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:700:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if(fd_control[i].open() && m_bConfigOk[i]) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:820:22:  [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_control[i].open() && m_bConfigOk[i])
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:833:23:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (fd_control[i].open() && m_bConfigOk[i]) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:910:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char txt[128];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:1065:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if((fd = open(pipeName, O_WRONLY|O_NONBLOCK)) < 0) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:1102:28:  [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_control[clientId].open()) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:1256:51:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int fd = sock_connect(fd_control[cli].handle(), atoi(arg), SOCK_DGRAM);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:1284: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 buf[256], *pt, *key;
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:1630:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[64];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:1700:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      int fd = sock_connect(fd_control[cli], atoi(arg), SOCK_DGRAM);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:1865: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 buf[64];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:1874:25:  [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_control[cli].open())
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:1946: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 buf[DISCOVERY_MSG_MAXSIZE] = {0};
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:1959:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if(fd_control[c].open())
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:2015:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if(fd_control[i].open()) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.h:120:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char m_CtrlBuf    [MAXCLIENTS][CTRL_BUF_SIZE + 1];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/logdefs.c:33: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 buf[512];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/media_player.c:271:38:  [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(m_UseResumeFile && 0 <= (fd = open(m_ResumeFile, O_RDONLY))) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/media_player.c:297:16:  [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(0 <= (fd = open(m_ResumeFile, O_WRONLY | O_CREAT, 
data/vdr-plugin-xineliboutput-2.1.0+git20191101/media_player.c:657:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char t[128] = "";
data/vdr-plugin-xineliboutput-2.1.0+git20191101/media_player.c:672:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(t, "%d:%02d:%02d", Total/3600, (Total%3600)/60, Total%60);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/media_player.c:674:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(t, "%d:%02d:%02d", Current/3600, (Current%3600)/60, Current%60);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/media_player.c:1655:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char t[128] = "";
data/vdr-plugin-xineliboutput-2.1.0+git20191101/media_player.c:1658:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(t, "%d", count);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/media_player.c:1660:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(t, "%d", index+1);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:134:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char   *help[4];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:857:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(xc.deinterlace_method, "none");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:859:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(xc.deinterlace_method, "tvtime");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/mpg2c.c:29: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).
  FILE *fi = fopen(argv[2],"rb");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/mpg2c.c:30: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).
  FILE *fo = fopen(argv[3],"wt");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/osd.c:340:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&osdcmd.dirty_area, DirtyArea, sizeof(osd_rect_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:137:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&newconfig, &xc, sizeof(config_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:148:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    goom_width = max(320, min(1920, atoi(pt+6)));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:150:38:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    goom_height = max(240, min(1280, atoi(pt+7)));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:152:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    goom_fps = max(1, min(100, atoi(pt+4)));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:279:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&xc, &newconfig, sizeof(config_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:325:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&newconfig, &xc, sizeof(config_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:370:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&xc, &newconfig, sizeof(config_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:372: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 tmp[256];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:373: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(tmp,"%d %d %d %d %d %d %d %d %d %d",
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:471: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.
    static char buf[256];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:543:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&newconfig, &xc, sizeof(config_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:870:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&xc, &newconfig, sizeof(config_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:977:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&newconfig, &xc, sizeof(config_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:1106:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&xc, &newconfig, sizeof(config_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:1168:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&newconfig, &xc, sizeof(config_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:1289:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&newconfig, &xc, sizeof(config_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:1432:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(newconfig.audio_port, "default");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:1434:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(newconfig.audio_port, "/dev/dsp");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:1459:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy(newconfig.video_port, "/dev/fb/0");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:1461:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy(newconfig.video_port, "0.0");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:1480:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&xc, &newconfig, sizeof(config_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:1543:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&newconfig, &xc, sizeof(config_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:1669:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&xc, &newconfig, sizeof(config_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:1726:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&newconfig, &xc, sizeof(config_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:1790:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&xc, &newconfig, sizeof(config_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:1880: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[32];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:1894:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(s, "b %d", br);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:1904:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(s, "c %d", co);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:2020: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 buf[128];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/cxsocket.c:107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[0x10000];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/cxsocket.c:276: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 buf[1024];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/cxsocket.c:410:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(str, "%d.%d.%d.%d", 
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/cxsocket.c:414:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(str, "%u.%u.%u.%u:%u", 
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/cxsocket.h:56: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).
  bool open(void)   const { return m_fd >= 0; }
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/h264.c:126:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&sps->pixel_aspect, &aspect_ratios[aspect_ratio_idc], sizeof(mpeg_rational_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/h264.c:212:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&size->pixel_aspect, &sps.pixel_aspect, sizeof(mpeg_rational_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/http.c:264: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).
    m_fdf = open(m_Filename, O_RDONLY);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/http.c:340: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 buf[2048];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/http.h:59:56:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    int  IntValue(void)              { return *m_Value?atoi(m_Value):-1; }
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/iso639.h:18:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char iso639_2[4];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/iso639.h:19:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char iso639_1[4];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/mpeg.c:66:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&size->pixel_aspect, &mpeg2_aspect[a & 0xf], sizeof(mpeg_rational_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/pip_service_impl.h:59:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(m_Data + m_DataLen, Data, TS_SIZE);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:233:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[4096];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:562:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	  f = fopen(Name, "w");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:603:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *f = fopen(Name, "r");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:646: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 file[1024] = "", host[128] = "", pt;
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:658:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    port = atoi(pt);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:824:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen(file, "r");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/rtcp.h:97: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    data[0];          /* text, not null-terminated */
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sap.c:67: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 payload[0];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sap.c:195:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char x[4096]="", a[4096]="";
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sap.c:197:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char t[8], ch = ((char*)pdu)[i];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sap.c:198:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(t, "%02X ", ((unsigned int)ch)&0xff);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sap.c:200:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(t, "%c", (ch>=32 && ch<127) ? ch : '.');
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sdp.c:33: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     hostname[256];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sdp.c:38:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(hostname, "localhost");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sdp.c:56:19:  [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.
  return cString::sprintf(
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/ts.c:337:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pmt->pmt_write_ptr, ptr, len);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/ts.c:474:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy(pmt->spu_tracks[no].lang, &stream[pos], 3);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/ts.c:692:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ts->buf + ts->buf_len, ts_GET_PAYLOAD(data), len);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/udp_buffer.h:112:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(header->payload, Data, DataLen);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/udp_pes_scheduler.c:140:16:  [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(m_fd_rtcp.open() || m_fd_rtp.open())
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/udp_pes_scheduler.c:140:35:  [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(m_fd_rtcp.open() || m_fd_rtp.open())
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/udp_pes_scheduler.c:159:16:  [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(m_fd_rtcp.open()) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/udp_pes_scheduler.c:305: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(m_fd_rtp.open() || m_fd_rtcp.open()) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/udp_pes_scheduler.c:305:35:  [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(m_fd_rtp.open() || m_fd_rtcp.open()) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/udp_pes_scheduler.c:551: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(!m_fd_rtcp.open())
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/udp_pes_scheduler.c:558:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char hostname[64] = "";
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/udp_pes_scheduler.c:624:38:  [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(!xc.remote_rtp_sap || !m_fd_rtp.open())
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/udp_pes_scheduler.c:627: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 ip[64] = "";
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/udp_pes_scheduler.c:653: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).
    FILE *fp = fopen(fname, "w");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/udp_pes_scheduler.c:861:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(m_fd_rtcp.open() && (m_Frames & 0xff) == 1) { // every 256th frame
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/udp_pes_scheduler.c:883:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                payload[64-sizeof(stream_udp_header_t)];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/vdrdiscovery.c:290: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 buf[DISCOVERY_MSG_MAXSIZE];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/vdrdiscovery.c:295: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 address[16];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/vdrdiscovery.c:317:11:  [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(address, "%d.%d.%d.%d",
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/vdrdiscovery.c:331:15:  [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(address, "%d.%d.%d.%d",
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/osd_manager.c:469:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&osd->cmd, cmd, sizeof(osd_command_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/osd_manager.c:478:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(osd->cmd.palette, cmd->palette, 4*cmd->colors);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/osd_manager.c:555:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(ov_overlay.hili_color, &extra_data, sizeof(extra_data));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/osd_manager.c:584:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(osd->cmd.data, cmd->data, cmd->datalen);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/osd_manager.c:602:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&cmdrle, cmd, sizeof(osd_command_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/osd_manager.c:682:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(ov_overlay.hili_color, &extra_data, sizeof(extra_data));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/osd_manager.c:727:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(dst, src, stride * sizeof(uint32_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/osd_manager.c:881:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&tmp, &this->osd[i].cmd, sizeof(osd_command_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/post.c:407:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char s[4096]="";
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/ts2es.c:246:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(this->buf->content + this->buf->size, data, bytes);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/vo_osdscaler.c:136:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&data->ovl, ovl, sizeof(vo_overlay_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_fbfe_frontend.c:173:20:  [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).
    this->fd_tty = open("/dev/tty", O_RDWR);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:98:19:  [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(NULL != (f = fopen("/proc/cpuinfo", "r"))) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:99:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[256];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:445:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char cmd[4096];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:667: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 log_level[16];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:668: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(log_level, "%d", SysLogLevel);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:1148: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 initstr[1024];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:1171:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char tmp[16];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:1183:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(tmp, "%04d", (int)(r*1000.0));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:1282: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 str[128];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:1524:40:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      this->toggle_fullscreen_cb(this, atoi(data+11) ? 1: 0);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:1534:61:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    xine_set_param(this->stream, XINE_PARAM_VO_DEINTERLACE, atoi(data+12) ? 1 : 0);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:1647:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char mrl[256];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:1660:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char params[64];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:1661:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(params, "pip_num=1,x=%d,y=%d,w=%d,h=%d", x,y,w,h);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:1701:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	fe_post_close(this, NULL, atoi(name));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:2008: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((char*)pnm, "P6\n%d\n%d\n255\n", frame->width, frame->height);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:2082: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((char*)pnm, "P6\n%d\n%d\n255\n", width, height);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_cec.c:73:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char    key[12];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_cec.c:364:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p->strDeviceLanguage, CEC_DEFAULT_DEVICE_LANGUAGE, 3);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_kbd.c:176: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 str[64];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_kbd.c:274: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 str[128], *pt;
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_lirc.c:137: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     buf[LIRC_BUFFER_SIZE];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_lirc.c:138: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     LastKeyName[LIRC_KEY_BUF] = "";
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_lirc.c:184:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char KeyName[LIRC_KEY_BUF];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_main.c:332:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                window_id = atoi(optarg);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_main.c:408:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    case 'w': width = atoi(optarg);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_main.c:414:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    case 'h': height = atoi(optarg);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_main.c:418:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    case 'B': pes_buffers = atoi(optarg);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_main.c:432:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    case 'p': inactivity_timer = atoi(optarg);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:156: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 buf[512];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:184:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  SysLogLevel = pSysLogLevel ? atoi(pSysLogLevel) : SysLogLevel;
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:238: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 meter[sizeof(headr)];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:900:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    *port = atoi(cport + 1);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:909:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(host, chost, host_len);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:1055: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    buf[512];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:1216: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    buf[512];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:1853: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).
  int fd = open(path=home, O_RDONLY);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:1854: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(fd<0) fd = open(path="/etc/vdr/plugins/xineliboutput/nosignal.mpg", O_RDONLY);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:1855: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(fd<0) fd = open(path="/etc/vdr/plugins/xine/noSignal.mpg", O_RDONLY);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:1856: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(fd<0) fd = open(path="/video/plugins/xineliboutput/nosignal.mpg", O_RDONLY);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:1857: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(fd<0) fd = open(path="/video/plugins/xine/noSignal.mpg", O_RDONLY);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:1858: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(fd<0) fd = open(path=NOSIGNAL_IMAGE_FILE, O_RDONLY);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:2247: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 buffer[28], cmd[16], sense[16];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:2260: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(device, O_RDWR | O_NONBLOCK)) == -1) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:2388:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[64];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:2389:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "SLAVE %p\r\n", (void *)NULL);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:2407: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 filename[4096], av[256+4096], *pav = av;
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:2418:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  pos = atoi(pt);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:2439:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mrlbase[256+32] = "";
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:2441:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char host[256];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:2465:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  char mrl[sizeof(filename)+256];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:2564:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  char tmp[128];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:2599:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char bgmrl[4096+256];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:2614:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char str[4096+256+128], *avopts;
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:2654: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[128];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:2655: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, "GRAB %d %lu\r\n", this->token, (unsigned long)data->size);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:2853:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char     name[28]; 
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:3089:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    tmp32 = atoi(cmd+5);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:3403:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char spu_lang[3] = {cmd[10], cmd[11], 0};
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:3410:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char spu_lang[4] = {cmd[10], cmd[11], cmd[12], 0};
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:3501:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	pos_time += atoi(cmd+6) * 1000;
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:3503:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	pos_time -= atoi(cmd+6) * 1000;
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:3505:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	pos_time = atoi(cmd+5) * 1000;
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:3604: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 line[8128];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:3701: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 tracks[1024], lang[128];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:3712:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(tracks, "INFO TRACKMAP AUDIO ");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:3729:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(tracks + cnt, "\r\n");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:3737:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(tracks, "INFO TRACKMAP SPU ");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:3763:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(tracks + cnt, "\r\n");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:3770:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char      name[12];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:4600:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&udp->server_address, &sin, sizeof(sin));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:5373: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 tmpbuf[256];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:5450: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 cmd[256];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:5574:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&this->udp_data->server_address, &sin, sizeof(sin));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:5583: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 cmd[256];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:5616:13:  [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.
  cmd_len = sprintf(cmd, "UDP %d\r\n", port);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:5672:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&this->udp_data->server_address, &sin, sizeof(sin));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:5687: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 tmpbuf[256];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:5712:13:  [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.
  cmd_len = sprintf(tmpbuf,
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:5742: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 tmpbuf[256];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:5775:19:  [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_data = open(tmpbuf+5, O_RDONLY|O_NONBLOCK)) < 0) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:5800: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 tmpbuf[256];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:5818:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char host[256];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_post_audiochannel.c:94:31:  [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).
  return port->original_port->open(port->original_port, stream, bits, rate, mode );
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_post_audiochannel.c:100:31:  [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).
  return port->original_port->open(port->original_port, stream, format);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_post_audiochannel.c:156:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(newbuf->mem, buf->mem, buf->num_frames*2*buf->format.bits);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_post_swscale.c:1697:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&this->config, params, sizeof(warp_parameters_t));  
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_post_swscale.c:1717:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(params, &this->config, sizeof(warp_parameters_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_sxfe_frontend.c:819:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(dst, data, cmd->w * sizeof(uint32_t));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_sxfe_frontend.c:2684:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(edid, prop, *size);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_sxfe_frontend.c:2746:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           buffer[20];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_sxfe_frontend.c:2796:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char keyname[40] = "";
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_sxfe_frontend.c:2799:11:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
          strcat(keyname, "Alt+");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_sxfe_frontend.c:2802:11:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
          strcat(keyname, "Ctrl+");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_sxfe_frontend.c:2858:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char str[128];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_sxfe_frontend.c:2962:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static const char * const map[3][4] = {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_sxfe_frontend.c:2967:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char tmp[128];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_wlfe_frontend.c:113:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const map[3][4] = {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_wlfe_frontend.c:118:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char tmp[128];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_wlfe_frontend.c:712: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 str[64];
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:30:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(strlen(src) >= sizeof(dst)) \
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:391:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t l = (dest ? strlen(dest) : 0) + strlen(src) + 1;
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:391:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t l = (dest ? strlen(dest) : 0) + strlen(src) + 1;
data/vdr-plugin-xineliboutput-2.1.0+git20191101/config.c:892: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).
     *(pt-1) == ' ' && *(pt+strlen(Name)) == ' ') {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend.c:626:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int datalen = read(fd, data, STARTUP_MAX_SIZE);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_local.c:285:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
    strncat(libname, xc.s_frontend_files[fe_ind], 64);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:1288:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t n = *buf ? strlen(buf)-1 : 0;
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:1375:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ssize_t n = fd_control[cli].read(result, size, 2000);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:1644: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).
        size_t sdplen = strlen(sdp_descr);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:1889:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ssize_t len = strlen(msg);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:1899:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ssize_t len = strlen(msg);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/frontend_svr.c:1929:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ssize_t len = strlen(msg);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/media_player.c:105:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen(File);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/media_player.c:272:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if(read(fd, &pos, sizeof(int)) != sizeof(int))
data/vdr-plugin-xineliboutput-2.1.0+git20191101/media_player.c:609:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen(File);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:216:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int RootDirLen = strlen(xc.media_root_dir);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:231:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  while (!ScanDir(m_CurrentDir) && strlen(m_CurrentDir) > 1) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:236:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int CurrentDirLen = strlen(m_CurrentDir);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/menu.c:397:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        memmove(buffer, buffer+1, strlen(buffer));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/mpg2c.c:36:22:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while(EOF != (ch = fgetc(fi))) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/setup_menu.c:1436:9:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
        strcpy(newconfig.audio_port, "");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/cxsocket.c:112:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    todow = ::read(fd_file, buf, count>sizeof(buf) ? sizeof(buf) : count);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/cxsocket.c:241:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
ssize_t cxSocket::read(void *buffer, size_t size, int timeout_ms)
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/cxsocket.c:255:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ssize_t p = ::read(m_fd, ptr, missing);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/cxsocket.c:311:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while((n = ::read(m_fd, buf+cnt, 1)) == 1) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/cxsocket.h:65:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ssize_t read(void *buffer, size_t size, int timeout_ms = -1);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/cxsocket.h:70:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  { return write(str, len ?: strlen(str), timeout_ms); }
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/cxsocket.h:72:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  { return write(str, len ?: strlen(str), 10); }
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/http.c:62:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if(strlen(Header) < 4096) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/http.c:78:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if(strlen(Name) > 64 || strlen(Value) > 4096) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/http.c:78:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if(strlen(Name) > 64 || strlen(Value) > 4096) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/metainfo_menu.c:57:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      text_len = strlen(text);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:72:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if(path[strlen(path)-1] != '/')
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:157: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).
        Item->Tracknumber = strlen(data) == 1 ? *cString::sprintf("0%s", data) : data;
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:225:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
             Item->Tracknumber = cString::sprintf("%s%s", strlen(md_list->keyword) == 1 ? "0" : "", md_list->keyword);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:235:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if(!strcasecmp((Item->Filename) + strlen(Item->Filename) - 5, ".flac"))
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:257:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if(!strncasecmp(pt, "ARTIST=", 7) && strlen(pt) > 8)
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:259:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            else if(!strncasecmp(pt, "ALBUM=", 6) && strlen(pt) > 7)
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:261:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            else if(!strncasecmp(pt, "TITLE=", 6) && strlen(pt) > 7)
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:263:61:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            else if(!strncasecmp(pt, "TRACKNUMBER=", 12) && strlen(pt) > 12)
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:264:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              Item->Tracknumber = cString::sprintf("%s%s", strlen(pt) == 13 ? "0" : "", (pt+12));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:553:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int len = strlen(m_Folder), entries = 0;
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:605:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int len = strlen(m_Folder);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:649:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  strn0cpy(host, PlaylistFile+strlen("http://"), sizeof(host)-1);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:953:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            PlaylistFile[strlen(PlaylistFile)-1] == '/') {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/playlist.c:996:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int size = strlen(s) + 16;
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sap.c:79:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int length = sizeof(sap_pdu_t) + strlen(payload) + 3;
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sap.c:82:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length += strlen(payload_type);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sap.c:95:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    tmp += strlen(tmp) + 1;
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sap.c:172:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len += strlen(&pdu->payload[0]);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/sap.c:176:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len += strlen(&pdu->payload[len]);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/udp_pes_scheduler.c:592:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    it->length = strlen(it->data);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/vdrdiscovery.c:110:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen(msg);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/vdrdiscovery.c:215:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if(!strncmp(id_string, buf, strlen(id_string))) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/vdrdiscovery.c:312:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if(!strncmp(mystring, buf, strlen(mystring))) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/vdrdiscovery.c:322:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          iploc = strstr(buf + strlen(mystring), "Server address: ");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/vdrdiscovery.c:325:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            iploc += strlen("Server address: ");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/vdrdiscovery.c:343:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if (1 == sscanf(buf + strlen(mystring), "%d", &port) &&
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/vdrdiscovery.c:350:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              descr += strlen("Server version: ");
data/vdr-plugin-xineliboutput-2.1.0+git20191101/tools/vdrdiscovery.c:410:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(address, svrs[0]->host, address_size);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/post.c:271:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if(pchain && strlen(pchain)) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/post.c:278:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(p && strlen(p)) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/post.c:290:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if(p && (strlen(p) > 1))
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/post.c:343:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen(dst) + strlen(src);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine/post.c:343:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen(dst) + strlen(src);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:247:7:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
      usleep(100*1000);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:510:69:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if(audio_driver && audio_port && !strcmp("alsa", audio_driver) && strlen(audio_port) > 0) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:1137:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(1 == sscanf(pt+strlen(opt)+1, "%d", &val))
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:1184:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(pt, tmp, 4); 
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:1498:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            .data_length = strlen(msg) + 1,
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:1559:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              .data_length = strlen(msg) + 1,
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:1700:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(name) == 1)
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:2009:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int hdrlen = strlen((char*)pnm);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend.c:2083:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int hdrlen = strlen((char*)pnm);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_cec.c:454:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
  strncpy(config.strDeviceName, "VDR", sizeof(config.strDeviceName));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_cec.c:559:7:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
      usleep(5000*1000);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_cec.c:568:7:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
      usleep(1000*1000);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_kbd.c:66:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (1 == (err = read(STDIN_FILENO, &ch, 1)))
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_lirc.c:92:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(addr.un.sun_path, this->lirc_device_name, sizeof(addr.un.sun_path));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_lirc.c:164:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ret = read(this->fd_lirc, buf, sizeof(buf));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_lirc.c:187:13:  [1] (buffer) sscanf:
  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.
        if (sscanf(buf, "%*x %x %29s", &count, KeyName) != 2) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_main.c:88:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  l = (dest ? strlen(dest) : 0) + strlen(src) + 1;
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_frontend_main.c:88:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  l = (dest ? strlen(dest) : 0) + strlen(src) + 1;
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:903:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    host_len = strlen(chost);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:1040:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ret = write_control_data(this, str, strlen(str));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:1861:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    datalen = read(fd, tmp, NOSIGNAL_MAX_SIZE);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:2470:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            size_t len = strlen(mrl);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:2657:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  write_control_data(this, s, strlen(s));
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:3176:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	       strlen(XINELIBOUTPUT_VERSION)+1)) {
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:3713:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  cnt = strlen(tracks);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:3738:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  cnt = strlen(tracks);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:4124:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      n = read(this->fd_data, read_buffer->content + read_buffer->size, todo - read_buffer->size);
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_input_vdr.c:6002: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(mrl)==7))
data/vdr-plugin-xineliboutput-2.1.0+git20191101/xine_sxfe_frontend.c:2804:9:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
        strncat(keyname, ks_name, sizeof(keyname) - 11);

ANALYSIS SUMMARY:

Hits = 681
Lines analyzed = 52299 in approximately 1.25 seconds (41967 lines/second)
Physical Source Lines of Code (SLOC) = 38201
Hits@level = [0] 162 [1]  94 [2] 413 [3]   7 [4] 167 [5]   0
Hits@level+ = [0+] 843 [1+] 681 [2+] 587 [3+] 174 [4+] 167 [5+]   0
Hits/KSLOC@level+ = [0+] 22.0675 [1+] 17.8268 [2+] 15.3661 [3+] 4.55485 [4+] 4.37161 [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.