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-2.4.1/status.h
Examining data/vdr-2.4.1/thread.c
Examining data/vdr-2.4.1/recording.c
Examining data/vdr-2.4.1/device.c
Examining data/vdr-2.4.1/eitscan.h
Examining data/vdr-2.4.1/eitscan.c
Examining data/vdr-2.4.1/eit.h
Examining data/vdr-2.4.1/diseqc.c
Examining data/vdr-2.4.1/dvbsubtitle.h
Examining data/vdr-2.4.1/nit.c
Examining data/vdr-2.4.1/player.h
Examining data/vdr-2.4.1/dvbci.c
Examining data/vdr-2.4.1/shutdown.h
Examining data/vdr-2.4.1/remote.c
Examining data/vdr-2.4.1/skinclassic.c
Examining data/vdr-2.4.1/sdt.c
Examining data/vdr-2.4.1/svdrp.c
Examining data/vdr-2.4.1/themes.h
Examining data/vdr-2.4.1/plugin.h
Examining data/vdr-2.4.1/skinlcars.c
Examining data/vdr-2.4.1/osd.h
Examining data/vdr-2.4.1/keys.h
Examining data/vdr-2.4.1/remux.h
Examining data/vdr-2.4.1/status.c
Examining data/vdr-2.4.1/sdt.h
Examining data/vdr-2.4.1/menu.c
Examining data/vdr-2.4.1/skinclassic.h
Examining data/vdr-2.4.1/interface.h
Examining data/vdr-2.4.1/skinsttng.h
Examining data/vdr-2.4.1/pat.c
Examining data/vdr-2.4.1/mtd.h
Examining data/vdr-2.4.1/font.c
Examining data/vdr-2.4.1/lirc.c
Examining data/vdr-2.4.1/epg.c
Examining data/vdr-2.4.1/mtd.c
Examining data/vdr-2.4.1/ringbuffer.h
Examining data/vdr-2.4.1/diseqc.h
Examining data/vdr-2.4.1/ringbuffer.c
Examining data/vdr-2.4.1/i18n.c
Examining data/vdr-2.4.1/thread.h
Examining data/vdr-2.4.1/receiver.h
Examining data/vdr-2.4.1/channels.c
Examining data/vdr-2.4.1/svdrp.h
Examining data/vdr-2.4.1/dvbspu.h
Examining data/vdr-2.4.1/timers.c
Examining data/vdr-2.4.1/remux.c
Examining data/vdr-2.4.1/sourceparams.h
Examining data/vdr-2.4.1/libsi/descriptor.h
Examining data/vdr-2.4.1/libsi/section.c
Examining data/vdr-2.4.1/libsi/util.h
Examining data/vdr-2.4.1/libsi/headers.h
Examining data/vdr-2.4.1/libsi/si.c
Examining data/vdr-2.4.1/libsi/util.c
Examining data/vdr-2.4.1/libsi/section.h
Examining data/vdr-2.4.1/libsi/si.h
Examining data/vdr-2.4.1/libsi/descriptor.c
Examining data/vdr-2.4.1/config.h
Examining data/vdr-2.4.1/device.h
Examining data/vdr-2.4.1/pat.h
Examining data/vdr-2.4.1/font.h
Examining data/vdr-2.4.1/timers.h
Examining data/vdr-2.4.1/menuitems.c
Examining data/vdr-2.4.1/transfer.h
Examining data/vdr-2.4.1/dvbplayer.h
Examining data/vdr-2.4.1/sections.c
Examining data/vdr-2.4.1/recorder.c
Examining data/vdr-2.4.1/spu.h
Examining data/vdr-2.4.1/audio.c
Examining data/vdr-2.4.1/positioner.h
Examining data/vdr-2.4.1/sources.c
Examining data/vdr-2.4.1/interface.c
Examining data/vdr-2.4.1/sourceparams.c
Examining data/vdr-2.4.1/nit.h
Examining data/vdr-2.4.1/menu.h
Examining data/vdr-2.4.1/ci.c
Examining data/vdr-2.4.1/cutter.c
Examining data/vdr-2.4.1/keys.c
Examining data/vdr-2.4.1/ci.h
Examining data/vdr-2.4.1/remote.h
Examining data/vdr-2.4.1/dvbplayer.c
Examining data/vdr-2.4.1/skins.c
Examining data/vdr-2.4.1/dvbdevice.h
Examining data/vdr-2.4.1/transfer.c
Examining data/vdr-2.4.1/spu.c
Examining data/vdr-2.4.1/audio.h
Examining data/vdr-2.4.1/tools.c
Examining data/vdr-2.4.1/tools.h
Examining data/vdr-2.4.1/vdr.c
Examining data/vdr-2.4.1/videodir.h
Examining data/vdr-2.4.1/PLUGINS/src/skincurses/skincurses.c
Examining data/vdr-2.4.1/PLUGINS/src/pictures/player.h
Examining data/vdr-2.4.1/PLUGINS/src/pictures/entry.h
Examining data/vdr-2.4.1/PLUGINS/src/pictures/menu.c
Examining data/vdr-2.4.1/PLUGINS/src/pictures/menu.h
Examining data/vdr-2.4.1/PLUGINS/src/pictures/entry.c
Examining data/vdr-2.4.1/PLUGINS/src/pictures/pictures.c
Examining data/vdr-2.4.1/PLUGINS/src/pictures/player.c
Examining data/vdr-2.4.1/PLUGINS/src/svdrpdemo/svdrpdemo.c
Examining data/vdr-2.4.1/PLUGINS/src/hello/hello.c
Examining data/vdr-2.4.1/PLUGINS/src/osddemo/osddemo.c
Examining data/vdr-2.4.1/PLUGINS/src/servicedemo/svcsvr.c
Examining data/vdr-2.4.1/PLUGINS/src/servicedemo/svccli.c
Examining data/vdr-2.4.1/PLUGINS/src/epgtableid0/epgtableid0.c
Examining data/vdr-2.4.1/PLUGINS/src/status/status.c
Examining data/vdr-2.4.1/config.c
Examining data/vdr-2.4.1/dvbspu.c
Examining data/vdr-2.4.1/skinsttng.c
Examining data/vdr-2.4.1/filter.h
Examining data/vdr-2.4.1/plugin.c
Examining data/vdr-2.4.1/i18n.h
Examining data/vdr-2.4.1/videodir.c
Examining data/vdr-2.4.1/osdbase.h
Examining data/vdr-2.4.1/channels.h
Examining data/vdr-2.4.1/lirc.h
Examining data/vdr-2.4.1/skins.h
Examining data/vdr-2.4.1/menuitems.h
Examining data/vdr-2.4.1/shutdown.c
Examining data/vdr-2.4.1/recording.h
Examining data/vdr-2.4.1/receiver.c
Examining data/vdr-2.4.1/sources.h
Examining data/vdr-2.4.1/args.h
Examining data/vdr-2.4.1/epg.h
Examining data/vdr-2.4.1/dvbsubtitle.c
Examining data/vdr-2.4.1/sections.h
Examining data/vdr-2.4.1/player.c
Examining data/vdr-2.4.1/recorder.h
Examining data/vdr-2.4.1/positioner.c
Examining data/vdr-2.4.1/dvbci.h
Examining data/vdr-2.4.1/cutter.h
Examining data/vdr-2.4.1/osd.c
Examining data/vdr-2.4.1/dvbdevice.c
Examining data/vdr-2.4.1/themes.c
Examining data/vdr-2.4.1/args.c
Examining data/vdr-2.4.1/filter.c
Examining data/vdr-2.4.1/skinlcars.h
Examining data/vdr-2.4.1/debian/vdr-shutdown-wrapper.c
Examining data/vdr-2.4.1/osdbase.c
Examining data/vdr-2.4.1/eit.c

FINAL RESULTS:

data/vdr-2.4.1/tools.c:525:35:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
                          int n = readlink(buffer, l, size - 1);
data/vdr-2.4.1/PLUGINS/src/osddemo/osddemo.c:347:45:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                       cString s = cString::sprintf("Line %d", ++ScrollLineNumber);
data/vdr-2.4.1/PLUGINS/src/osddemo/osddemo.c:461:48:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                          cString s = cString::sprintf("Line %d", ++ScrollLineNumber);
data/vdr-2.4.1/PLUGINS/src/pictures/menu.c:51:27:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        SetTitle(cString::sprintf("%s: %s", pictureEntry->Parent()->Name(), *HandleUnderscores(pictureEntry->Name()))); // Year/Description
data/vdr-2.4.1/PLUGINS/src/pictures/player.c:23:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
     strcpy(buf, p);
data/vdr-2.4.1/PLUGINS/src/skincurses/skincurses.c:349:43:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  osd->DrawText(0, 0, WithDisk ? cString::sprintf("%s  -  %s", *title, *cVideoDiskUsage::String()) : title, clrBlack, clrCyan, &Font, ScOsdWidth);
data/vdr-2.4.1/PLUGINS/src/skincurses/skincurses.c:416:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString t = cString::sprintf("%s  %s - %s", *Event->GetDateString(), *Event->GetTimeString(), *Event->GetEndTimeString());
data/vdr-2.4.1/PLUGINS/src/skincurses/skincurses.c:419:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     cString buffer = cString::sprintf(" VPS: %s", *Event->GetVpsString());
data/vdr-2.4.1/PLUGINS/src/skincurses/skincurses.c:424:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     cString buffer = cString::sprintf(" %s ", *Event->GetParentalRatingString());
data/vdr-2.4.1/PLUGINS/src/skincurses/skincurses.c:455:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString t = cString::sprintf("%s  %s  %s", *DateString(Recording->Start()), *TimeString(Recording->Start()), Info->ChannelName() ? Info->ChannelName() : "");
data/vdr-2.4.1/PLUGINS/src/skincurses/skincurses.c:459:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     cString buffer = cString::sprintf(" %s ", *Info->GetEvent()->GetParentalRatingString());
data/vdr-2.4.1/PLUGINS/src/svdrpdemo/svdrpdemo.c:48:28:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
           return cString::sprintf("%ld\nThis is the number of seconds since the epoch\nand a demo of a multi-line reply", time(NULL));
data/vdr-2.4.1/PLUGINS/src/svdrpdemo/svdrpdemo.c:51:28:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
           return cString::sprintf("Unknown option: \"%s\"", Option);
data/vdr-2.4.1/args.c:35:25:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     lastArg = cString::sprintf("%s %s", *lastArg, s);
data/vdr-2.4.1/args.c:57:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      if ((access(*fullFileName, F_OK) != 0) || (stat(*fullFileName, &fs) != 0) || S_ISDIR(fs.st_mode))
data/vdr-2.4.1/args.c:80:44:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                        lastArg = cString::sprintf("--plugin=%s", s);
data/vdr-2.4.1/channels.c:43:3:  [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(buffer, sizeof(buffer), rid ? "%s-%d-%d-%d-%d" : "%s-%d-%d-%d", *cSource::ToString(source), nid, tid, sid, rid);
data/vdr-2.4.1/channels.c:112:34:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
           nameSource = cString::sprintf("%s (%c)", name, cSource::ToChar(source));
data/vdr-2.4.1/channels.c:114:34:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
           nameSource = cString::sprintf("%s (%s)", name, *cSource::ToString(source));
data/vdr-2.4.1/channels.c:127:36:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        shortNameSource = cString::sprintf("%s (%c)", shortName, cSource::ToChar(source));
data/vdr-2.4.1/channels.c:322:14:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        q += sprintf(q, Base == 16 ? "%s%X" : "%s%d", i ? "," : "", a[i]);
data/vdr-2.4.1/channels.c:326:20:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
              q += sprintf(q, "%s%s", Delim, n[i]);
data/vdr-2.4.1/channels.c:330:20:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
              q += sprintf(q, "%s@%d", Delim, t[i]);
data/vdr-2.4.1/channels.c:508:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  q += sprintf(q, "linking channel %d (%s) from", Number(), name);
data/vdr-2.4.1/channels.c:542:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     return cString::sprintf("%d:%s:%s", frequency, *parameters, *cSource::ToString(source));
data/vdr-2.4.1/channels.c:543:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  return cString::sprintf("%d:%s:%s:%d", frequency, *parameters, *cSource::ToString(source), srate);
data/vdr-2.4.1/channels.c:550:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  q += sprintf(q, "%s", Channel->name);
data/vdr-2.4.1/channels.c:553:14:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        q += sprintf(q, ",%s", Channel->shortName);
data/vdr-2.4.1/channels.c:557:14:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        q += sprintf(q, ";%s", Channel->provider);
data/vdr-2.4.1/channels.c:564:27:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        buffer = cString::sprintf(":@%d %s", Channel->number, FullName);
data/vdr-2.4.1/channels.c:566:27:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        buffer = cString::sprintf(":%s", FullName);
data/vdr-2.4.1/channels.c:598:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     buffer = cString::sprintf("%s:%d:%s:%s:%d:%s:%s:%s:%s:%d:%d:%d:%d", FullName, Channel->frequency, *Channel->parameters, *cSource::ToString(Channel->source), Channel->srate, vpidbuf, apidbuf, tpidbuf, caidbuf, Channel->sid, Channel->nid, Channel->tid, Channel->rid);
data/vdr-2.4.1/channels.c:1107:59:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            ChannelsModified |= Channel->SetName(cString::sprintf("%s %s", Channel->Name(), CHANNELMARKOBSOLETE), Channel->ShortName(), cString::sprintf("%s %s", CHANNELMARKOBSOLETE, Channel->Provider()));
data/vdr-2.4.1/channels.c:1107:146:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            ChannelsModified |= Channel->SetName(cString::sprintf("%s %s", Channel->Name(), CHANNELMARKOBSOLETE), Channel->ShortName(), cString::sprintf("%s %s", CHANNELMARKOBSOLETE, Channel->Provider()));
data/vdr-2.4.1/ci.c:36:46:  [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 dbgprotocol(a...) if (DebugProtocol) fprintf(stderr, a)
data/vdr-2.4.1/ci.c:1127:34:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                  Ids = cString::sprintf("%s %04X", *Ids ? *Ids : "", id);
data/vdr-2.4.1/ci.c:2835:129:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      dsyslog("CAM %d: %sready, %s", CamSlot->SlotNumber(), CamSlot->Ready() ? "" : "not ", CamSlot->IsMasterSlot() ? *cString::sprintf("master (%s)", CamSlot->GetCamName() ? CamSlot->GetCamName() : "empty") : *cString::sprintf("slave of CAM %d", CamSlot->MasterSlotNumber()));
data/vdr-2.4.1/ci.c:2835:221:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      dsyslog("CAM %d: %sready, %s", CamSlot->SlotNumber(), CamSlot->Ready() ? "" : "not ", CamSlot->IsMasterSlot() ? *cString::sprintf("master (%s)", CamSlot->GetCamName() ? CamSlot->GetCamName() : "empty") : *cString::sprintf("slave of CAM %d", CamSlot->MasterSlotNumber()));
data/vdr-2.4.1/ci.c:3017:7:  [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(fileName, R_OK) == 0) {
data/vdr-2.4.1/ci.c:3067:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                   s = cString::sprintf("%s%s%d", *s ? *s : "", *s ? " " : "", i);
data/vdr-2.4.1/config.c:111:20:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      s = cString::sprintf("%s%d ", *s, array[i]);
data/vdr-2.4.1/config.c:242: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 (fileName && access(fileName, F_OK) == 0) {
data/vdr-2.4.1/config.c:386:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(NameInstantRecord, TIMERMACRO_TITLE " " TIMERMACRO_EPISODE);
data/vdr-2.4.1/config.c:459:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(FontOsd, DefaultFontOsd);
data/vdr-2.4.1/config.c:460:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(FontSml, DefaultFontSml);
data/vdr-2.4.1/config.c:461:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(FontFix, DefaultFontFix);
data/vdr-2.4.1/config.c:534:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  Store(Name, cString::sprintf("%d", Value), Plugin);
data/vdr-2.4.1/config.h:125:21:  [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 (fileName && access(fileName, F_OK) == 0) {
data/vdr-2.4.1/debian/vdr-shutdown-wrapper.c:5:11:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
   return execv("/usr/lib/vdr/vdr-shutdown", argv);
data/vdr-2.4.1/dvbdevice.c:229:54:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ST("  ST*")  q += PrintParameter(q, 'S', MapToUser(system, SystemValuesSat)); // we only need the numerical value, so Sat or Terr doesn't matter
data/vdr-2.4.1/dvbdevice.c:284:43:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          case 'S': s = ParseParameter(s, system, SystemValuesSat); break; // we only need the numerical value, so Sat or Terr doesn't matter
data/vdr-2.4.1/dvbdevice.c:484:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
         ds = cString::sprintf("%s%s%s", *ds, i ? "," : "", GetDeliverySystemName(deliverySystems[i]));
data/vdr-2.4.1/dvbdevice.c:486:82:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     if (frontendInfo.caps & FE_CAN_QPSK)      { numModulations++; ms = cString::sprintf("%s%s%s", *ms, **ms ? "," : "", MapToUserString(QPSK, ModulationValues)); }
data/vdr-2.4.1/dvbdevice.c:487:82:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     if (frontendInfo.caps & FE_CAN_QAM_16)    { numModulations++; ms = cString::sprintf("%s%s%s", *ms, **ms ? "," : "", MapToUserString(QAM_16, ModulationValues)); }
data/vdr-2.4.1/dvbdevice.c:488:82:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     if (frontendInfo.caps & FE_CAN_QAM_32)    { numModulations++; ms = cString::sprintf("%s%s%s", *ms, **ms ? "," : "", MapToUserString(QAM_32, ModulationValues)); }
data/vdr-2.4.1/dvbdevice.c:489:82:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     if (frontendInfo.caps & FE_CAN_QAM_64)    { numModulations++; ms = cString::sprintf("%s%s%s", *ms, **ms ? "," : "", MapToUserString(QAM_64, ModulationValues)); }
data/vdr-2.4.1/dvbdevice.c:490:82:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     if (frontendInfo.caps & FE_CAN_QAM_128)   { numModulations++; ms = cString::sprintf("%s%s%s", *ms, **ms ? "," : "", MapToUserString(QAM_128, ModulationValues)); }
data/vdr-2.4.1/dvbdevice.c:491:82:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     if (frontendInfo.caps & FE_CAN_QAM_256)   { numModulations++; ms = cString::sprintf("%s%s%s", *ms, **ms ? "," : "", MapToUserString(QAM_256, ModulationValues)); }
data/vdr-2.4.1/dvbdevice.c:492:82:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     if (frontendInfo.caps & FE_CAN_8VSB)      { numModulations++; ms = cString::sprintf("%s%s%s", *ms, **ms ? "," : "", MapToUserString(VSB_8, ModulationValues)); }
data/vdr-2.4.1/dvbdevice.c:493:82:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     if (frontendInfo.caps & FE_CAN_16VSB)     { numModulations++; ms = cString::sprintf("%s%s%s", *ms, **ms ? "," : "", MapToUserString(VSB_16, ModulationValues)); }
data/vdr-2.4.1/dvbdevice.c:494:82:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     if (frontendInfo.caps & FE_CAN_TURBO_FEC) { numModulations++; ms = cString::sprintf("%s%s%s", *ms, **ms ? "," : "", "TURBO_FEC"); }
data/vdr-2.4.1/dvbdevice.c:621:38:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString FrontendNumbers = cString::sprintf("%d", frontend);
data/vdr-2.4.1/dvbdevice.c:625:14:  [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(DvbName(DEV_DVB_FRONTEND, adapter, i), F_OK) == 0) {
data/vdr-2.4.1/dvbdevice.c:626:17:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
            if (access(DvbName(DEV_DVB_DEMUX, adapter, i), F_OK) != 0) {
data/vdr-2.4.1/dvbdevice.c:631:43:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
               FrontendNumbers = cString::sprintf("%s+%d", *FrontendNumbers, i);
data/vdr-2.4.1/dvbdevice.c:747:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     return cString::sprintf("%c %c", ToneOff ? 't' : 'T', VoltOff ? 'v' : 'V');
data/vdr-2.4.1/dvbdevice.c:1796:80:  [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.
    case  1: ST("  ST")  return new cMenuEditMapItem( tr("System"),       &dtp.system,       SystemValues);       else return GetOsdItem();
data/vdr-2.4.1/dvbdevice.c:1862:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  return cString::sprintf("%s/%s%d/%s%d", DEV_DVB_BASE, DEV_DVB_ADAPTER, Adapter, Name, Frontend);
data/vdr-2.4.1/dvbdevice.c:1882:7:  [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(FileName, F_OK) == 0) {
data/vdr-2.4.1/dvbdevice.c:1942:31:  [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(DvbName(DEV_DVB_DEMUX, Adapter, Frontend), F_OK) == 0) { // we only create devices for actual demuxes
data/vdr-2.4.1/dvbdevice.c:1944:59:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                             Nodes.Append(strdup(cString::sprintf("%2d %2d", Adapter, Frontend)));
data/vdr-2.4.1/dvbdevice.c:2368:31:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString FileName = cString::sprintf("/dev/dvb/adapter%d/frontend%d", Adapter, Frontend);
data/vdr-2.4.1/dvbdevice.c:2376:38:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                 FileName = cString::sprintf("/sys/class/dvb/%s/dev", e->d_name);
data/vdr-2.4.1/dvbdevice.c:2385:47:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                          FileName = cString::sprintf("/sys/class/dvb/%s/device/subsystem_vendor", e->d_name);
data/vdr-2.4.1/dvbdevice.c:2392:50:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                             FileName = cString::sprintf("/sys/class/dvb/%s/device/idVendor", e->d_name);
data/vdr-2.4.1/dvbdevice.c:2399:47:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                          FileName = cString::sprintf("/sys/class/dvb/%s/device/subsystem_device", e->d_name);
data/vdr-2.4.1/dvbdevice.c:2406:50:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                             FileName = cString::sprintf("/sys/class/dvb/%s/device/idProduct", e->d_name);
data/vdr-2.4.1/dvbdevice.h:114:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  int system;
data/vdr-2.4.1/dvbdevice.h:133:35:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  int System(void) const { return system; }
data/vdr-2.4.1/dvbspu.c:39:32:  [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 DEBUG(format, args...) printf (format, ## args)
data/vdr-2.4.1/dvbsubtitle.c:113:30:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString ImgName = cString::sprintf("dbg-%03d.jpg", imgCnt++);
data/vdr-2.4.1/dvbsubtitle.c:132:6:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
     vfprintf(f, Format, ap);
data/vdr-2.4.1/epg.c:252:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
     sprintf(vpsbuf, "(VPS: %s) ", *GetVpsString());
data/vdr-2.4.1/epg.c:253:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  return cString::sprintf("%s %s-%s %s'%s'", *GetDateString(), *GetTimeString(), *GetEndTimeString(), vpsbuf, Title());
data/vdr-2.4.1/epg.c:424:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     return cString::sprintf(tr("ParentalRating$from %d"), parentalRating);
data/vdr-2.4.1/epg.c:1297:29:  [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 (epgDataFileName && access(epgDataFileName, R_OK) == 0) {
data/vdr-2.4.1/font.c:610:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(s + l + 1, p);
data/vdr-2.4.1/i18n.c:115:38:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
         cString FileName = cString::sprintf("%s/%s/LC_MESSAGES/vdr.mo", *I18nLocaleDir, Locales[i]);
data/vdr-2.4.1/i18n.c:116:14:  [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(FileName, F_OK) == 0) { // found a locale with VDR texts
data/vdr-2.4.1/i18n.c:166:29:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString Domain = cString::sprintf("vdr-%s", Plugin);
data/vdr-2.4.1/interface.c:84:42:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
           DisplayMenu->SetItem(cString::sprintf(tr("Press key for '%s'"), cKey::ToString(NewKey, true)), 4, false, false);
data/vdr-2.4.1/interface.c:163:10:  [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(Headline, sizeof(Headline), tr("Learning Remote Control Keys"));
data/vdr-2.4.1/libsi/descriptor.c:115:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(buffer+index, separation2); // let's have a separator between the long text and the items
data/vdr-2.4.1/libsi/descriptor.c:126:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(buffer+index, separation1);
data/vdr-2.4.1/libsi/descriptor.c:136:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(buffer+index, separation2);
data/vdr-2.4.1/libsi/descriptor.c:214:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(buffer+index, separation1);
data/vdr-2.4.1/libsi/descriptor.c:224:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(buffer+index, separation2);
data/vdr-2.4.1/menu.c:119:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     SetValue(cString::sprintf("%s - %s", *cSource::ToString(source->Code()), source->Description()));
data/vdr-2.4.1/menu.c:334:27:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        buffer = cString::sprintf("%d\t%s%s\t%s - %s", channel->Number(), X, R, channel->Provider(), channel->Name());
data/vdr-2.4.1/menu.c:336:27:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        buffer = cString::sprintf("%d\t%s%s\t%s", channel->Number(), X, R, channel->Name());
data/vdr-2.4.1/menu.c:339:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     buffer = cString::sprintf("\t\t%s", channel->Name());
data/vdr-2.4.1/menu.c:689:23:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     SetText(cString::sprintf("%s...", folder->Text()));
data/vdr-2.4.1/menu.c:745:41:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        Skins.Message(mtError, cString::sprintf(tr("Folder name must not contain '%c'!"), *p));
data/vdr-2.4.1/menu.c:887:127:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                  AddSubMenu(new cMenuFolder(Title(), Folder->Folder()->SubItems(), nestedItemList, !isempty(dir) ? *cString::sprintf("%s%c%s", *dir, FOLDERDELIMCHAR, Folder->Folder()->Text()) : Folder->Folder()->Text(), p + 1));
data/vdr-2.4.1/menu.c:902:127:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
           return AddSubMenu(new cMenuFolder(Title(), Folder->Folder()->SubItems(), nestedItemList, !isempty(dir) ? *cString::sprintf("%s%c%s", *dir, FOLDERDELIMCHAR, Folder->Folder()->Text()) : Folder->Folder()->Text()));
data/vdr-2.4.1/menu.c:962:28:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
           return cString::sprintf("%s%c%s", Folder->Folder()->Text(), FOLDERDELIMCHAR, *mf->GetFolder());
data/vdr-2.4.1/menu.c:1073:38:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        strn0cpy(data.file, cString::sprintf("%s%c%s", *Folder, FOLDERDELIMCHAR, p), sizeof(data.file));
data/vdr-2.4.1/menu.c:1084:35:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  Skins.Message(mtError, cString::sprintf("%s %d@%s!", tr("Error while accessing remote timer"), Timer->Id(), Timer->Remote()));
data/vdr-2.4.1/menu.c:1122:28:  [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(data.file, data.Channel()->ShortName(true));
data/vdr-2.4.1/menu.c:1217:20:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  SetText(cString::sprintf("%c\t%d\t%s%s%s\t%02d:%02d\t%02d:%02d\t%s%s",
data/vdr-2.4.1/menu.c:1227:49:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                    timer->Remote() ? *cString::sprintf("@%s: ", timer->Remote()) : "",
data/vdr-2.4.1/menu.c:1323:57:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        if (!ExecSVDRPCommand(Timer->Remote(), cString::sprintf("MODT %d %s", Timer->Id(), *Timer->ToText(true)), &Response) || SVDRPCode(Response[0]) != 250)
data/vdr-2.4.1/menu.c:1551:27:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        buffer = cString::sprintf("%d\t%.*s\t%.*s\t%s\t%c%c%c\t%s", channel->Number(), Utf8SymChars(csn, 999), csn, Utf8SymChars(eds, 6), *eds, *event->GetTimeString(), t, v, r, event->Title());
data/vdr-2.4.1/menu.c:1553:27:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        buffer = cString::sprintf("%d\t%.*s\t%s\t%c%c%c\t%s", channel->Number(), Utf8SymChars(csn, 999), csn, *event->GetTimeString(), t, v, r, event->Title());
data/vdr-2.4.1/menu.c:1555:27:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        buffer = cString::sprintf("%.*s\t%s\t%c%c%c\t%s", Utf8SymChars(eds, 6), *eds, *event->GetTimeString(), t, v, r, event->Title());
data/vdr-2.4.1/menu.c:1870:27:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        SetTitle(cString::sprintf(tr("Schedule - %s"), Channel->Name()));
data/vdr-2.4.1/menu.c:1890:30:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
           SetTitle(cString::sprintf(tr("This event - %s"), Channel->Name()));
data/vdr-2.4.1/menu.c:2141:39:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
         Add(new cOsdItem(hk(cString::sprintf("%s...", s))));
data/vdr-2.4.1/menu.c:2182:53:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        if (!confirm || Interface->Confirm(cString::sprintf("%s?", *title))) {
data/vdr-2.4.1/menu.c:2183:45:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
           Skins.Message(mtStatus, cString::sprintf("%s...", *title));
data/vdr-2.4.1/menu.c:2188:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
              cmdbuf = cString::sprintf("%s %s", *command, *parameters);
data/vdr-2.4.1/menu.c:2291:21:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  SetTitle(cString::sprintf("CAM %d - %s", camSlot->SlotNumber(), (s && *s) ? s : camSlot->GetCamName()));
data/vdr-2.4.1/menu.c:2375:9:  [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(buffer, sizeof(buffer), tr("Please enter %d digits!"), ciEnquiry->ExpectedLength());
data/vdr-2.4.1/menu.c:2517:40:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString NewPath = *folder ? cString::sprintf("%s%c%s", folder, FOLDERDELIMCHAR, name) : name;
data/vdr-2.4.1/menu.c:2525:60:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     if (NumRecordings > 1 && !Interface->Confirm(cString::sprintf(tr("Move entire folder containing %d recordings?"), NumRecordings)))
data/vdr-2.4.1/menu.c:2697:10:  [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(cCutter::EditedFileName(recording->FileName()), F_OK) != 0 || Interface->Confirm(tr("Edited version already exists - overwrite?"))) {
data/vdr-2.4.1/menu.c:2768:40:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString NewName = *folder ? cString::sprintf("%s%c%s", folder, FOLDERDELIMCHAR, name) : name;
data/vdr-2.4.1/menu.c:2953:20:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  SetText(cString::sprintf("%d\t\t%d\t%s", totalEntries, newEntries, name));
data/vdr-2.4.1/menu.c:3106:27:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        buffer = cString::sprintf("%s%c%s", base, FOLDERDELIMCHAR, t);
data/vdr-2.4.1/menu.c:3262:114:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     eOSState state = AddSubMenu(menu = new cMenuCommands(tr("Recording commands"), &RecordingCommands, cString::sprintf("\"%s\"", *strescape(ri->Recording()->FileName(), "\\\"$"))));
data/vdr-2.4.1/menu.c:3824:47:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            Add(new cMenuEditIntItem(cString::sprintf(tr("Setup.LNB$Device %d connected to sat cable"), i + 1), &satCableNumbers.Array()[i], 0, NumSatDevices, tr("Setup.LNB$own")));
data/vdr-2.4.1/menu.c:3901:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     AssignedDevice = cString::sprintf(" %s", tr("@ device"));
data/vdr-2.4.1/menu.c:3904:36:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
         AssignedDevice = cString::sprintf("%s %d", *AssignedDevice, DeviceNumbers[i]);
data/vdr-2.4.1/menu.c:3907:29:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString buffer = cString::sprintf(" %d %s%s%s", camSlot->SlotNumber(), CamName, *AssignedDevice, Activating);
data/vdr-2.4.1/menu.c:4254:51:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
         Add(new cMenuSetupPluginItem(hk(cString::sprintf("%s (%s) - %s", p->Name(), p->Version(), p->Description())), i));
data/vdr-2.4.1/menu.c:4496:35:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
           item->SetText(cString::sprintf("%s%s", tr(STOP_RECORDING), s));
data/vdr-2.4.1/menu.c:5234:27:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     instantId = cString::sprintf(cDevice::NumDevices() > 1 ? "%s - %d" : "%s", timer->Channel()->Name(), device->DeviceNumber() + 1);
data/vdr-2.4.1/menu.c:5275:48:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        SetRecordingTimerId(fileName, cString::sprintf("%d@%s", timer->Id(), Setup.SVDRPHostName));
data/vdr-2.4.1/menu.c:5801:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(buf, tr("Jump: "));
data/vdr-2.4.1/menu.c:5984:18:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        else if (access(cCutter::EditedFileName(fileName), F_OK) == 0 && !Interface->Confirm(tr("Edited version already exists - overwrite?")))
data/vdr-2.4.1/menuitems.c:39:29:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString buffer = cString::sprintf("%s:\t%s", name, Value);
data/vdr-2.4.1/menuitems.c:249:21:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  SetValue(cString::sprintf(s ? "%.*f %s" : "%.*f", factor / 10, double(v) / factor, s));
data/vdr-2.4.1/menuitems.c:951:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
     strcat(buf, WeekDayName(tm_r.tm_wday));
data/vdr-2.4.1/menuitems.c:1066:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    case 1:  SetValue(cString::sprintf("%01d-:--", hh / 10)); break;
data/vdr-2.4.1/menuitems.c:1067:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    case 2:  SetValue(cString::sprintf("%02d:--", hh)); break;
data/vdr-2.4.1/menuitems.c:1068:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    case 3:  SetValue(cString::sprintf("%02d:%01d-", hh, mm / 10)); break;
data/vdr-2.4.1/menuitems.c:1069:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    default: SetValue(cString::sprintf("%02d:%02d", hh, mm));
data/vdr-2.4.1/menuitems.c:1201:21:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  SetTitle(cString::sprintf("%s - %s", tr("Setup"), Section));
data/vdr-2.4.1/menuitems.c:1223:23:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  SetSection(cString::sprintf("%s '%s'", tr("Plugin"), plugin->Name()));
data/vdr-2.4.1/nit.c:27:36:  [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 dbgnit(a...) if (DebugNit) fprintf(stderr, a)
data/vdr-2.4.1/osdbase.c:145:27:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        buffer = cString::sprintf(" %c %s", (digit < 10) ? '0' + digit : ' ' , s);
data/vdr-2.4.1/pat.c:287:45:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#define DBGLOG(a...) { cString s = cString::sprintf(a); fprintf(stderr, "%s\n", *s); dsyslog("%s", *s); }
data/vdr-2.4.1/plugin.c:145:21:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  buffer = cString::sprintf("%s/plugins%s%s", *configDirectory, PluginName ? "/" : "", PluginName ? PluginName : "");
data/vdr-2.4.1/plugin.c:159:21:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  buffer = cString::sprintf("%s/plugins%s%s", *cacheDirectory, PluginName ? "/" : "", PluginName ? PluginName : "");
data/vdr-2.4.1/plugin.c:173:21:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  buffer = cString::sprintf("%s/plugins%s%s", *resourceDirectory, PluginName ? "/" : "", PluginName ? PluginName : "");
data/vdr-2.4.1/plugin.c:344:30:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  dlls.Add(new cDll(cString::sprintf("%s/%s%s%s%s", directory, LIBVDR_PREFIX, s, SO_INDICATOR, APIVERSION), Args));
data/vdr-2.4.1/plugin.c:417:60:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
               if (!Prompt || !Interface->Confirm(cString::sprintf("%s - %s", *s, Prompt)))
data/vdr-2.4.1/recording.c:250:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
     strcpy(fileName, FileName);
data/vdr-2.4.1/recording.c:251:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     sprintf(fileName + strlen(fileName), Suffix, Setup.ResumeID ? "." : "", Setup.ResumeID ? *itoa(Setup.ResumeID) : "");
data/vdr-2.4.1/recording.c:420:30:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  fileName = strdup(cString::sprintf("%s%s", FileName, INFOFILESUFFIX));
data/vdr-2.4.1/recording.c:456:30:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  fileName = strdup(cString::sprintf("%s%s", FileName, IsPesRecording ? INFOFILESUFFIX ".vdr" : INFOFILESUFFIX));
data/vdr-2.4.1/recording.c:805:29:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     name = strdup(cString::sprintf("%s%c%s", Timer->File(), FOLDERDELIMCHAR, Subtitle));
data/vdr-2.4.1/recording.c:848:15:  [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 (7 == sscanf(p + 1, DATAFORMATTS, &t.tm_year, &t.tm_mon, &t.tm_mday, &t.tm_hour, &t.tm_min, &channel, &instanceId)
data/vdr-2.4.1/recording.c:849:15:  [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.
      || 7 == sscanf(p + 1, DATAFORMATPES, &t.tm_year, &t.tm_mon, &t.tm_mday, &t.tm_hour, &t.tm_min, &priority, &lifetime)) {
data/vdr-2.4.1/recording.c:864:38:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     cString InfoFileName = cString::sprintf("%s%s", fileName, isPesRecording ? INFOFILESUFFIX ".vdr" : INFOFILESUFFIX);
data/vdr-2.4.1/recording.c:883:44:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        cString SummaryFileName = cString::sprintf("%s%s", fileName, SUMMARYFILESUFFIX);
data/vdr-2.4.1/recording.c:898:27:  [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(data[line], s);
data/vdr-2.4.1/recording.c:923:21:  [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(data[1], data[2]);
data/vdr-2.4.1/recording.c:1070:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     fileName = strdup(cString::sprintf(fmt, cVideoDirectory::Name(), Name, t->tm_year + 1900, t->tm_mon + 1, t->tm_mday, t->tm_hour, t->tm_min, ch, ri));
data/vdr-2.4.1/recording.c:1092:27:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        Length = cString::sprintf("%c%d:%02d",
data/vdr-2.4.1/recording.c:1098:36:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     titleBuffer = strdup(cString::sprintf("%02d.%02d.%02d%c%02d:%02d%s%c%c%s",
data/vdr-2.4.1/recording.c:1175:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  return access(cMarks::MarksFileName(this), F_OK) == 0;
data/vdr-2.4.1/recording.c:1193:35:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString InfoFileName = cString::sprintf("%s%s", OtherFileName ? OtherFileName : FileName(), isPesRecording ? INFOFILESUFFIX ".vdr" : INFOFILESUFFIX);
data/vdr-2.4.1/recording.c:1247:20:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
     bool Exists = access(NewFileName, F_OK) == 0;
data/vdr-2.4.1/recording.c:1270:10:  [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(NewName, F_OK) == 0) {
data/vdr-2.4.1/recording.c:1276:10:  [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(FileName(), F_OK) == 0) {
data/vdr-2.4.1/recording.c:1307:10:  [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(NewName, F_OK) == 0) {
data/vdr-2.4.1/recording.c:1314:13:  [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(FileName(), F_OK) == 0)
data/vdr-2.4.1/recording.c:1469:14:  [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(r->FileName(), F_OK) != 0)
data/vdr-2.4.1/recording.c:1579:10:  [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(Recording->FileName(), F_OK) == 0) {
data/vdr-2.4.1/recording.c:1655:40:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            cString NewName = cString::sprintf("%s%s", NewPath, p);
data/vdr-2.4.1/recording.c:1810:22:  [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(FileNameDst, F_OK) == 0) {
data/vdr-2.4.1/recording.c:2102:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  return cString::sprintf("%s%s%s", *IndexToHMSF(position, true, framesPerSecond), Comment() ? " " : "", Comment() ? Comment() : "");
data/vdr-2.4.1/recording.c:2311:23:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
       cmd = cString::sprintf("%s %s \"%s\" \"%s\"", command, State, *strescape(RecordingFileName, "\\\"$"), *strescape(SourceFileName, "\\\"$"));
data/vdr-2.4.1/recording.c:2313:23:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
       cmd = cString::sprintf("%s %s \"%s\"", command, State, *strescape(RecordingFileName, "\\\"$"));
data/vdr-2.4.1/recording.c:2544:21:  [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 (!Record && access(fileName, R_OK) != 0) {
data/vdr-2.4.1/recording.c:2553:24:  [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.
              } while (access(fileName, R_OK) != 0 && time(NULL) < tmax);
data/vdr-2.4.1/recording.c:2556:10:  [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(fileName, R_OK) == 0) {
data/vdr-2.4.1/recording.c:2620:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  return cString::sprintf("%s%s", FileName, IsPesRecording ? INDEXFILESUFFIX ".vdr" : INDEXFILESUFFIX);
data/vdr-2.4.1/recording.c:2865:16:  [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(IndexFileName, R_OK) == 0)
data/vdr-2.4.1/recording.c:2902:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(fileName, FileName);
data/vdr-2.4.1/recording.c:2919:10:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
         sprintf(pFileNumber, RECORDFILESUFFIXTS, Number);
data/vdr-2.4.1/recording.c:2920:14:  [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(fileName, F_OK) != 0) { // file doesn't exist
data/vdr-2.4.1/recording.c:2928:10:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
         sprintf(pFileNumber, RECORDFILESUFFIXTS, Number);
data/vdr-2.4.1/recording.c:2975:13:  [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(fileName, R_OK) == 0) {
data/vdr-2.4.1/recording.c:3005:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     sprintf(pFileNumber, isPesRecording ? RECORDFILESUFFIXPES : RECORDFILESUFFIXTS, fileNumber);
data/vdr-2.4.1/recording.c:3007:13:  [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(fileName, F_OK) == 0) {
data/vdr-2.4.1/recording.c:3060:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  return cString::sprintf(WithFrame ? "%s%d:%02d:%02d.%02d" : "%s%d:%02d:%02d", Sign, h, m, s, f);
data/vdr-2.4.1/recording.c:3101:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  return access(AddDirectory(Directory, SORTMODEFILE), R_OK) == 0;
data/vdr-2.4.1/recording.c:3118:21:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     fputs(cString::sprintf("%d\n", SortMode), f);
data/vdr-2.4.1/remote.c:127:3:  [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(buffer, sizeof(buffer), "%016" PRIX64, Code);
data/vdr-2.4.1/remux.c:23:42:  [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 dbgpatpmt(a...) if (DebugPatPmt) fprintf(stderr, a)
data/vdr-2.4.1/remux.c:24:42:  [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 dbgframes(a...) if (DebugFrames) fprintf(stderr, a)
data/vdr-2.4.1/sdt.c:19:36:  [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 dbgsdt(a...) if (DebugSdt) fprintf(stderr, a)
data/vdr-2.4.1/sdt.c:97:31:  [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(ShortNameBuf, skipspace(p));
data/vdr-2.4.1/shutdown.c:72:42:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        Skins.Message(mtStatus, cString::sprintf(message, *cString::sprintf("%d:%d0", counter > 0 ? counter / 6 : 0, counter > 0 ? counter % 6 : 0)));
data/vdr-2.4.1/shutdown.c:72:69:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        Skins.Message(mtStatus, cString::sprintf(message, *cString::sprintf("%d:%d0", counter > 0 ? counter / 6 : 0, counter > 0 ? counter % 6 : 0)));
data/vdr-2.4.1/shutdown.c:130:26:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString cmd = cString::sprintf("%s %ld %ld %d \"%s\" %d", shutdownCommand, WakeupTime, Delta, Channel, *strescape(File, "\\\"$"), UserShutdown);
data/vdr-2.4.1/shutdown.c:186:29:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     cString buf = cString::sprintf(tr("Recording in %ld minutes, shut down anyway?"), Delta / 60);
data/vdr-2.4.1/shutdown.c:201:29:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     cString buf = cString::sprintf(tr("Plugin %s wakes up in %ld min, continue?"), Plugin->Name(), Delta / 60);
data/vdr-2.4.1/skinclassic.c:282:45:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  osd->DrawText(x0, y0, WithDisk ? cString::sprintf("%s  -  %s", *title, *cVideoDiskUsage::String()) : title, Theme.Color(clrMenuTitleFg), Theme.Color(clrMenuTitleBg), font, x3 - x0 - dateWidth);
data/vdr-2.4.1/skinclassic.c:355:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString t = cString::sprintf("%s  %s - %s", *Event->GetDateString(), *Event->GetTimeString(), *Event->GetEndTimeString());
data/vdr-2.4.1/skinclassic.c:358:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     cString buffer = cString::sprintf(" VPS: %s ", *Event->GetVpsString());
data/vdr-2.4.1/skinclassic.c:365:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     cString buffer = cString::sprintf(" %s ", *Event->GetParentalRatingString());
data/vdr-2.4.1/skinclassic.c:393:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString t = cString::sprintf("%s  %s  %s", *DateString(Recording->Start()), *TimeString(Recording->Start()), Info->ChannelName() ? Info->ChannelName() : "");
data/vdr-2.4.1/skinclassic.c:397:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     cString buffer = cString::sprintf(" %s ", *Info->GetEvent()->GetParentalRatingString());
data/vdr-2.4.1/skinlcars.c:257:30:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        cString s = cString::sprintf("CAM %d", CamSlot->MasterSlotNumber());
data/vdr-2.4.1/skinlcars.c:570:29:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        ChNumber = cString::sprintf("%d%s", Channel->Number(), Number ? "-" : "");
data/vdr-2.4.1/skinlcars.c:573:26:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     ChNumber = cString::sprintf("%d-", Number);
data/vdr-2.4.1/skinlcars.c:1097:57:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        osd->DrawText(xa00, yb03 - lineHeight, cString::sprintf("%02d:%02d", cVideoDiskUsage::FreeMinutes() / 60, cVideoDiskUsage::FreeMinutes() % 60), ColorFg, ColorBg, font, xa02 - xa00, 0, taBottom | taRight | taBorder);
data/vdr-2.4.1/skinlcars.c:1113:60:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
           osd->DrawText(xa00, yb05 - lineHeight, cString::sprintf("%.1f", SystemLoad), ColorFg, ColorBg, cFont::GetFont(fontOsd), xa02 - xa00, lineHeight, taBottom | taRight | taBorder);
data/vdr-2.4.1/skinlcars.c:1216:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     Date = cString::sprintf("-%s", *TimeString(Timer->StopTime()));
data/vdr-2.4.1/skinlcars.c:1225:25:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        Date = cString::sprintf("%s %s", *Day, *Time);
data/vdr-2.4.1/skinlcars.c:1230:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     Date = cString::sprintf("VPS %s", *Date);
data/vdr-2.4.1/skinlcars.c:1509:57:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        osd->DrawText(xa00, yt06 - lineHeight, cString::sprintf("-%s", *Event->GetEndTimeString()), Theme.Color(clrChannelFrameFg), Theme.Color(clrChannelFrameBg), font, xa02 - xa00, lineHeight, taBottom | taRight | taBorder);
data/vdr-2.4.1/skinlcars.c:1643:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString t = cString::sprintf("%s  %s - %s", *Event->GetDateString(), *Event->GetTimeString(), *Event->GetEndTimeString());
data/vdr-2.4.1/skinlcars.c:1646:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     cString buffer = cString::sprintf(" VPS: %s ", *Event->GetVpsString());
data/vdr-2.4.1/skinlcars.c:1656:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     cString buffer = cString::sprintf(" %s ", *Event->GetParentalRatingString());
data/vdr-2.4.1/skinlcars.c:1690:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString t = cString::sprintf("%s  %s  %s", *DateString(Recording->Start()), *TimeString(Recording->Start()), Info->ChannelName() ? Info->ChannelName() : "");
data/vdr-2.4.1/skinlcars.c:1694:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     cString buffer = cString::sprintf(" %s ", *Info->GetEvent()->GetParentalRatingString());
data/vdr-2.4.1/skins.c:79:34:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     SetMessage(mtInfo, cString::sprintf(tr("Moving dish to %.1f..."), double(positioner->TargetLongitude()) / 10));
data/vdr-2.4.1/skinsttng.c:368:37:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
              cString dn = cString::sprintf(" %d ", DeviceNumber);
data/vdr-2.4.1/skinsttng.c:562:59:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  osd->DrawText(x3 + TextSpacing, y0, WithDisk ? cString::sprintf("%s  -  %s", *title, *cVideoDiskUsage::String()) : title, Theme.Color(clrMenuTitle), frameColor, font, x4 - w - x3 - TextSpacing);
data/vdr-2.4.1/skinsttng.c:658:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString t = cString::sprintf("%s  %s - %s", *Event->GetDateString(), *Event->GetTimeString(), *Event->GetEndTimeString());
data/vdr-2.4.1/skinsttng.c:661:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     cString buffer = cString::sprintf(" VPS: %s ", *Event->GetVpsString());
data/vdr-2.4.1/skinsttng.c:671:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     cString buffer = cString::sprintf(" %s ", *Event->GetParentalRatingString());
data/vdr-2.4.1/skinsttng.c:709:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString t = cString::sprintf("%s  %s  %s", *DateString(Recording->Start()), *TimeString(Recording->Start()), Info->ChannelName() ? Info->ChannelName() : "");
data/vdr-2.4.1/skinsttng.c:713:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     cString buffer = cString::sprintf(" %s ", *Info->GetEvent()->GetParentalRatingString());
data/vdr-2.4.1/svdrp.c:45:51:  [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 dbgsvdrp(a...) if (DumpSVDRPDataTransfer) fprintf(stderr, a)
data/vdr-2.4.1/svdrp.c:88:25:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  connection = cString::sprintf("%s:%d", *address, port);
data/vdr-2.4.1/svdrp.c:643:28:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString Dgram = cString::sprintf("SVDRP:discover name:%s port:%d vdrversion:%d apiversion:%d timeout:%d%s", Setup.SVDRPHostName, tcpPort, VDRVERSNUM, APIVERSNUM, Setup.SVDRPTimeout, (Setup.SVDRPPeering == spmOnly && *Setup.SVDRPDefaultHost) ? *cString::sprintf(" host:%s", Setup.SVDRPDefaultHost) : "");
data/vdr-2.4.1/svdrp.c:643:256:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString Dgram = cString::sprintf("SVDRP:discover name:%s port:%d vdrversion:%d apiversion:%d timeout:%d%s", Setup.SVDRPHostName, tcpPort, VDRVERSNUM, APIVERSNUM, Setup.SVDRPTimeout, (Setup.SVDRPPeering == spmOnly && *Setup.SVDRPDefaultHost) ? *cString::sprintf(" host:%s", Setup.SVDRPDefaultHost) : "");
data/vdr-2.4.1/svdrp.c:651:31:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     PollTimersCmd = cString::sprintf("POLL %s TIMERS", Setup.SVDRPHostName);
data/vdr-2.4.1/svdrp.c:660:38:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            Client->Execute(cString::sprintf("CONN name:%s port:%d vdrversion:%d apiversion:%d timeout:%d", Setup.SVDRPHostName, SVDRPTcpPort, VDRVERSNUM, APIVERSNUM, Setup.SVDRPTimeout));
data/vdr-2.4.1/svdrp.c:1075:70:  [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.
  void Reply(int Code, const char *fmt, ...) __attribute__ ((format (printf, 3, 4)));
data/vdr-2.4.1/svdrp.c:1189:37:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                 if (!Send(cString::sprintf("%03d%c%s\r\n", abs(Code), cont, s)))
data/vdr-2.4.1/svdrp.c:1227:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
             q += sprintf(q, "%*s", -MAXHELPTOPIC, topic);
data/vdr-2.4.1/svdrp.c:1431:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     return cString::sprintf("Recording \"%s\" is in use by timer %d", RecordingId, rc->Timer()->Id());
data/vdr-2.4.1/svdrp.c:1433:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     return cString::sprintf("Recording \"%s\" is being replayed", RecordingId);
data/vdr-2.4.1/svdrp.c:1435:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     return cString::sprintf("Recording \"%s\" is being edited", RecordingId);
data/vdr-2.4.1/svdrp.c:1437:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     return cString::sprintf("Recording \"%s\" is being copied/moved", RecordingId);
data/vdr-2.4.1/svdrp.c:1439:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     return cString::sprintf("Recording \"%s\" is in use", RecordingId);
data/vdr-2.4.1/svdrp.c:1532:16:  [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).
     char *p = strcpy(buf, Option);
data/vdr-2.4.1/svdrp.c:1612:12:  [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(RealFileName, slash);
data/vdr-2.4.1/svdrp.c:1698:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
     strcpy(buf, Option);
data/vdr-2.4.1/svdrp.c:1798:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
     strcpy(buf, Option);
data/vdr-2.4.1/svdrp.c:1875:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
     strcpy(buf, Option);
data/vdr-2.4.1/svdrp.c:1933:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
     strcpy(buf, Option);
data/vdr-2.4.1/svdrp.c:2364:16:  [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).
     char *p = strcpy(buf, Option);
data/vdr-2.4.1/themes.c:304:31:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString FileName = cString::sprintf("%s/%s-%s.theme", themesDirectory, SkinName, ThemeName);
data/vdr-2.4.1/themes.c:305:7:  [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(FileName, F_OK) == 0) // the file exists
data/vdr-2.4.1/themes.c:311:31:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString FileName = cString::sprintf("%s/%s-%s.theme", themesDirectory, SkinName, Theme->Name());
data/vdr-2.4.1/themes.c:312:7:  [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(FileName, F_OK) != 0) // the file does not exist
data/vdr-2.4.1/thread.c:34:26:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define dbglocking(a...) fprintf(stderr, a)
data/vdr-2.4.1/thread.c:274:36:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
     description = strdup(cString::vsprintf(Description, ap));
data/vdr-2.4.1/thread.c:476:24:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString d = cString::sprintf("%s%s%s", Module, Function ? " " : "", Function ? Function : "");
data/vdr-2.4.1/thread.c:499:26:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString cmd = cString::sprintf("addr2line --functions --demangle --inlines --basename --exe=%s 0x%llx", Module, Function ? addr : offs);
data/vdr-2.4.1/thread.c:507:31:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                 d = cString::sprintf("%s calling %s", *d, l);
data/vdr-2.4.1/thread.c:510:28:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
              d = cString::sprintf("%s at %s", *d, l);
data/vdr-2.4.1/thread.c:985:13:  [4] (shell) execl:
  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 (execl("/bin/sh", "sh", "-c", Command, NULL) == -1) {
data/vdr-2.4.1/thread.c:1068:10:  [4] (shell) execl:
  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 (execl("/bin/sh", "sh", "-c", Command, NULL) == -1) {
data/vdr-2.4.1/thread.h:120:77:  [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.
  void SetDescription(const char *Description, ...) __attribute__ ((format (printf, 2, 3)));
data/vdr-2.4.1/timers.c:187:29:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  cString buffer = cString::sprintf("%u:%s:%s:%04d:%04d:%d:%d:%s:%s", flags, UseChannelID ? *Channel()->GetChannelID().ToString() : *itoa(Channel()->Number()), *PrintDay(day, weekdays, true), start, stop, priority, lifetime, file, aux ? aux : "");
data/vdr-2.4.1/timers.c:194:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  return cString::sprintf("%d%s%s (%d %04d-%04d %s'%s')", Id(), remote ? "@" : "", remote ? remote : "", Channel()->Number(), start, stop, HasFlags(tfVps) ? "VPS " : "", file);
data/vdr-2.4.1/timers.c:929:36:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
         tl.Append(strdup(cString::sprintf("%d %s", ti->Id(), *ti->ToText(true))));
data/vdr-2.4.1/timers.c:1023:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     *Msg = cString::sprintf("%s %d@%s!", tr("Error while accessing remote timer"), Timer->Id(), Timer->Remote());
data/vdr-2.4.1/timers.c:1033:63:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
           if (!ExecSVDRPCommand(OldTimer->Remote(), cString::sprintf("DELT %d", OldTimer->Id()), &Response) || SVDRPCode(Response[0]) != 250)
data/vdr-2.4.1/timers.c:1047:60:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        if (!ExecSVDRPCommand(NewTimer->Remote(), cString::sprintf("NEWT %s", *NewTimer->ToText(true)), &Response) || SVDRPCode(Response[0]) != 250)
data/vdr-2.4.1/timers.c:1061:57:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     if (!ExecSVDRPCommand(OldTimer->Remote(), cString::sprintf("DELT %d", OldTimer->Id()), &Response) || SVDRPCode(Response[0]) != 250)
data/vdr-2.4.1/timers.c:1068:57:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     if (!ExecSVDRPCommand(OldTimer->Remote(), cString::sprintf("MODT %d %s", OldTimer->Id(), *NewTimer->ToText(true)), &Response) || SVDRPCode(Response[0]) != 250)
data/vdr-2.4.1/timers.c:1073:57:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     if (!ExecSVDRPCommand(NewTimer->Remote(), cString::sprintf("NEWT %s", *NewTimer->ToText(true)), &Response) || SVDRPCode(Response[0]) != 250)
data/vdr-2.4.1/timers.c:1079:57:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
     if (!ExecSVDRPCommand(OldTimer->Remote(), cString::sprintf("DELT %d", OldTimer->Id()), &Response) || SVDRPCode(Response[0]) != 250)
data/vdr-2.4.1/tools.c:120: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(dest, src);
data/vdr-2.4.1/tools.c:264:19:  [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).
              s = strcpy(buffer, s);
data/vdr-2.4.1/tools.c:388:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  return cString::sprintf("%s/%s", DirName && *DirName ? DirName : ".", FileName);
data/vdr-2.4.1/tools.c:418:3:  [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(buf, sizeof(buf), Format, d);
data/vdr-2.4.1/tools.c:468:13:  [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(DirName, R_OK | W_OK | X_OK) == 0)
data/vdr-2.4.1/tools.c:598:22:  [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(buffer, F_OK) == 0) {
data/vdr-2.4.1/tools.c:672:25:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
         buf = cString::sprintf("%s/vdr-%06d", *FileName ? FileName : ".", n);
data/vdr-2.4.1/tools.c:674:25:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
         buf = cString::sprintf("%s.vdr-%06d", FileName, n);
data/vdr-2.4.1/tools.c:675:11:  [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(buf, F_OK) != 0) { // the file does not exist
data/vdr-2.4.1/tools.c:1106:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
     strcpy(p, s);
data/vdr-2.4.1/tools.c:1107:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(p + l1, String);
data/vdr-2.4.1/tools.c:1127:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
cString cString::sprintf(const char *fmt, ...)
data/vdr-2.4.1/tools.c:1140:18:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
cString cString::vsprintf(const char *fmt, va_list &ap)
data/vdr-2.4.1/tools.c:1728:13:  [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).
     strcat(strcpy(tempName, fileName), ".$$$");
data/vdr-2.4.1/tools.h:70:85:  [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.
void syslog_with_tid(int priority, const char *format, ...) __attribute__ ((format (printf, 2, 3)));
data/vdr-2.4.1/tools.h:192:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  static cString sprintf(const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
data/vdr-2.4.1/tools.h:192:72:  [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.
  static cString sprintf(const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
data/vdr-2.4.1/tools.h:193:18:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  static cString vsprintf(const char *fmt, va_list &ap);
data/vdr-2.4.1/vdr.c:442:25:  [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.
          case 'L': if (access(optarg, R_OK | X_OK) == 0)
data/vdr-2.4.1/vdr.c:453:25:  [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(optarg, R_OK | X_OK) == 0)
data/vdr-2.4.1/vdr.c:498:25:  [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(Terminal, R_OK | W_OK) < 0) {
data/vdr-2.4.1/videodir.c:176:15:  [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(PrefixedName + l + 1, p + 1);
data/vdr-2.4.1/videodir.c:232:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  return cString::sprintf("%s %d%%  -  %2d:%02d %s", tr("Disk"), usedPercent, freeMinutes / 60, freeMinutes % 60, tr("free"));
data/vdr-2.4.1/PLUGINS/src/hello/hello.c:103: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, "a:b", long_options, NULL)) != -1) {
data/vdr-2.4.1/PLUGINS/src/pictures/pictures.c:89: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, "d:", long_options, NULL)) != -1) {
data/vdr-2.4.1/svdrp.c:1606:22:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
           char *r = realpath(t, RealFileName);
data/vdr-2.4.1/vdr.c:246:28:  [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.
  OverrideCharacterTable = getenv("VDR_CHARSET_OVERRIDE");
data/vdr-2.4.1/vdr.c:318: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, "a:c:dD:e:E:g:hi:l:L:mp:P:r:s:t:u:v:Vw:", long_options, NULL)) != -1) {
data/vdr-2.4.1/vdr.c:714:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
     char *LangEnv = getenv("LANG"); // last resort in case locale stuff isn't installed
data/vdr-2.4.1/PLUGINS/src/hello/hello.c:142: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).
  if      (!strcasecmp(Name, "GreetingTime"))         GreetingTime = atoi(Value);
data/vdr-2.4.1/PLUGINS/src/hello/hello.c:143: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, "UseAlternateGreeting")) UseAlternateGreeting = atoi(Value);
data/vdr-2.4.1/PLUGINS/src/pictures/menu.c:14:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char PictureDirectory[PATH_MAX] = "";
data/vdr-2.4.1/PLUGINS/src/pictures/menu.h:16:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern char PictureDirectory[PATH_MAX];
data/vdr-2.4.1/PLUGINS/src/pictures/pictures.c:22: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 newPictureDirectory[PATH_MAX];
data/vdr-2.4.1/PLUGINS/src/pictures/pictures.c:118: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, "SlideShowDelay"))   SlideShowDelay = atoi(Value);
data/vdr-2.4.1/PLUGINS/src/pictures/player.c:22:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char buf[strlen(p) + 1];
data/vdr-2.4.1/PLUGINS/src/pictures/player.c:63:11:  [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 f = open(FileName, O_RDONLY);
data/vdr-2.4.1/PLUGINS/src/servicedemo/svccli.c:39: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-2.4.1/PLUGINS/src/servicedemo/svccli.c:81: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 s[128];
data/vdr-2.4.1/PLUGINS/src/servicedemo/svcsvr.c:39: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 s[128];
data/vdr-2.4.1/PLUGINS/src/skincurses/skincurses.c:544:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char buf[16];
data/vdr-2.4.1/PLUGINS/src/status/status.c:121:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[25];
data/vdr-2.4.1/args.c:61:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      FILE *f = fopen(*fullFileName, "r");
data/vdr-2.4.1/channels.c:42:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[256];
data/vdr-2.4.1/channels.c:99: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(&__BeginData__, &Channel.__BeginData__, (char *)&Channel.__EndData__ - (char *)&Channel.__BeginData__);
data/vdr-2.4.1/channels.c:354:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char OldApidsBuf[BufferSize];
data/vdr-2.4.1/channels.c:355:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char NewApidsBuf[BufferSize];
data/vdr-2.4.1/channels.c:371:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char OldSpidsBuf[SBufferSize];
data/vdr-2.4.1/channels.c:372:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char NewSpidsBuf[SBufferSize];
data/vdr-2.4.1/channels.c:458:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char OldCaIdsBuf[MAXCAIDS * 5 + 10]; // 5: 4 digits plus delimiting ',', 10: paranoia
data/vdr-2.4.1/channels.c:459:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char NewCaIdsBuf[MAXCAIDS * 5 + 10];
data/vdr-2.4.1/channels.c:506:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[((linkChannels ? linkChannels->Count() : 0) + (LinkChannels ? LinkChannels->Count() : 0)) * 6 + 256]; // 6: 5 digit channel number plus blank, 256: other texts (see below) plus reserve
data/vdr-2.4.1/channels.c:512: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.
         q += sprintf(q, " %d", lc->Channel()->Number());
data/vdr-2.4.1/channels.c:517: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.
     q += sprintf(q, " none");
data/vdr-2.4.1/channels.c:518:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  q += sprintf(q, " to");
data/vdr-2.4.1/channels.c:523: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.
         q += sprintf(q, " %d", lc->Channel()->Number());
data/vdr-2.4.1/channels.c:528: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.
     q += sprintf(q, " none");
data/vdr-2.4.1/channels.c:548: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 FullName[strlen(Channel->name) + 1 + strlen(Channel->shortName) + 1 + strlen(Channel->provider) + 1 + 10]; // +10: paranoia
data/vdr-2.4.1/channels.c:569:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char vpidbuf[32];
data/vdr-2.4.1/channels.c:578:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char apidbuf[ABufferSize];
data/vdr-2.4.1/channels.c:587:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char tpidbuf[TBufferSize];
data/vdr-2.4.1/channels.c:594:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char caidbuf[MAXCAIDS * 5 + 10]; // 5: 4 digits plus delimiting ',', 10: paranoia
data/vdr-2.4.1/channels.c:638:18:  [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).
           sid = atoi(caidbuf);
data/vdr-2.4.1/channels.c:1116:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[256];
data/vdr-2.4.1/channels.h:106: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 alangs[MAXAPIDS][MAXLANGCODE2];
data/vdr-2.4.1/channels.h:109: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 dlangs[MAXDPIDS][MAXLANGCODE2];
data/vdr-2.4.1/channels.h:111: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 slangs[MAXSPIDS][MAXLANGCODE2];
data/vdr-2.4.1/ci.c:197:24:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                       memcpy(buffer, Data + 13, n);
data/vdr-2.4.1/ci.c:218:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
           memcpy(bufp, Data + 4, n);
data/vdr-2.4.1/ci.c:263:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
           memcpy(mtdCatBuffer, Data, TS_SIZE);
data/vdr-2.4.1/ci.c:421:52:  [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 (isnumber(s))                   action = atoi(s);
data/vdr-2.4.1/ci.c:536:16:  [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, Data, Length);
data/vdr-2.4.1/ci.c:760: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(p, Data, Length);
data/vdr-2.4.1/ci.c:1528:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[enquiry->expectedLength * 2];
data/vdr-2.4.1/ci.c:1591:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  struct tAnswer { uint8_t id; char text[256]; };//XXX
data/vdr-2.4.1/ci.c:1597:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
     memcpy(answer.text, Text, len);
data/vdr-2.4.1/ci.c:3019:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
     if (FILE *f = fopen(fileName, "r")) {
data/vdr-2.4.1/ci.c:3031:50:  [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 CamSlotNumber = atoi(q);
data/vdr-2.4.1/ci.h:130: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 *entries[MAX_CIMENU_ENTRIES];
data/vdr-2.4.1/config.c:244: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 *f = fopen(fileName, "r");
data/vdr-2.4.1/config.c:377: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(OSDSkin, "lcars");
data/vdr-2.4.1/config.c:378: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(OSDTheme, "default");
data/vdr-2.4.1/config.c:504: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(&__BeginData__, &s.__BeginData__, (char *)&s.__EndData__ - (char *)&s.__BeginData__);
data/vdr-2.4.1/config.c:569:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[I18nLanguages()->Size() * 4];
data/vdr-2.4.1/config.c:590: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 buffer[4];
data/vdr-2.4.1/config.c:607: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, "PrimaryDVB"))          PrimaryDVB         = atoi(Value);
data/vdr-2.4.1/config.c:608: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, "ShowInfoOnChSwitch"))  ShowInfoOnChSwitch = atoi(Value);
data/vdr-2.4.1/config.c:609: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, "TimeoutRequChInfo"))   TimeoutRequChInfo  = atoi(Value);
data/vdr-2.4.1/config.c:610: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, "MenuScrollPage"))      MenuScrollPage     = atoi(Value);
data/vdr-2.4.1/config.c:611: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, "MenuScrollWrap"))      MenuScrollWrap     = atoi(Value);
data/vdr-2.4.1/config.c:612: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, "MenuKeyCloses"))       MenuKeyCloses      = atoi(Value);
data/vdr-2.4.1/config.c:613: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, "MarkInstantRecord"))   MarkInstantRecord  = atoi(Value);
data/vdr-2.4.1/config.c:615: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, "InstantRecordTime"))   InstantRecordTime  = atoi(Value);
data/vdr-2.4.1/config.c:616: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, "LnbSLOF"))             LnbSLOF            = atoi(Value);
data/vdr-2.4.1/config.c:617: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, "LnbFrequLo"))          LnbFrequLo         = atoi(Value);
data/vdr-2.4.1/config.c:618: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, "LnbFrequHi"))          LnbFrequHi         = atoi(Value);
data/vdr-2.4.1/config.c:619: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, "DiSEqC"))              DiSEqC             = atoi(Value);
data/vdr-2.4.1/config.c:620: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, "UsePositioner"))       UsePositioner      = atoi(Value);
data/vdr-2.4.1/config.c:621: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, "SiteLat"))             SiteLat            = atoi(Value);
data/vdr-2.4.1/config.c:622: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, "SiteLon"))             SiteLon            = atoi(Value);
data/vdr-2.4.1/config.c:623: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, "PositionerSpeed"))     PositionerSpeed    = atoi(Value);
data/vdr-2.4.1/config.c:624: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, "PositionerSwing"))     PositionerSwing    = atoi(Value);
data/vdr-2.4.1/config.c:625: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, "PositionerLastLon"))   PositionerLastLon  = atoi(Value);
data/vdr-2.4.1/config.c:626: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, "SetSystemTime"))       SetSystemTime      = atoi(Value);
data/vdr-2.4.1/config.c:628: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, "TimeTransponder"))     TimeTransponder    = atoi(Value);
data/vdr-2.4.1/config.c:629: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, "StandardCompliance"))  StandardCompliance = atoi(Value);
data/vdr-2.4.1/config.c:630: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, "MarginStart"))         MarginStart        = atoi(Value);
data/vdr-2.4.1/config.c:631: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, "MarginStop"))          MarginStop         = atoi(Value);
data/vdr-2.4.1/config.c:633: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, "DisplaySubtitles"))    DisplaySubtitles   = atoi(Value);
data/vdr-2.4.1/config.c:635: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, "SubtitleOffset"))      SubtitleOffset     = atoi(Value);
data/vdr-2.4.1/config.c:636: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, "SubtitleFgTransparency")) SubtitleFgTransparency = atoi(Value);
data/vdr-2.4.1/config.c:637: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, "SubtitleBgTransparency")) SubtitleBgTransparency = atoi(Value);
data/vdr-2.4.1/config.c:639: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, "EPGScanTimeout"))      EPGScanTimeout     = atoi(Value);
data/vdr-2.4.1/config.c:640: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, "EPGBugfixLevel"))      EPGBugfixLevel     = atoi(Value);
data/vdr-2.4.1/config.c:641: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, "EPGLinger"))           EPGLinger          = atoi(Value);
data/vdr-2.4.1/config.c:642: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, "SVDRPTimeout"))        SVDRPTimeout       = atoi(Value);
data/vdr-2.4.1/config.c:643: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, "SVDRPPeering"))        SVDRPPeering       = atoi(Value);
data/vdr-2.4.1/config.c:646: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, "ZapTimeout"))          ZapTimeout         = atoi(Value);
data/vdr-2.4.1/config.c:647: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, "ChannelEntryTimeout")) ChannelEntryTimeout= atoi(Value);
data/vdr-2.4.1/config.c:648: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, "RcRepeatDelay"))       RcRepeatDelay      = atoi(Value);
data/vdr-2.4.1/config.c:649: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, "RcRepeatDelta"))       RcRepeatDelta      = atoi(Value);
data/vdr-2.4.1/config.c:650: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, "DefaultPriority"))     DefaultPriority    = atoi(Value);
data/vdr-2.4.1/config.c:651: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, "DefaultLifetime"))     DefaultLifetime    = atoi(Value);
data/vdr-2.4.1/config.c:652: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, "RecordKeyHandling"))   RecordKeyHandling  = atoi(Value);
data/vdr-2.4.1/config.c:653: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, "PauseKeyHandling"))    PauseKeyHandling   = atoi(Value);
data/vdr-2.4.1/config.c:654: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, "PausePriority"))       PausePriority      = atoi(Value);
data/vdr-2.4.1/config.c:655: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, "PauseLifetime"))       PauseLifetime      = atoi(Value);
data/vdr-2.4.1/config.c:656: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, "UseSubtitle"))         UseSubtitle        = atoi(Value);
data/vdr-2.4.1/config.c:657: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, "UseVps"))              UseVps             = atoi(Value);
data/vdr-2.4.1/config.c:658: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, "VpsMargin"))           VpsMargin          = atoi(Value);
data/vdr-2.4.1/config.c:659: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, "RecordingDirs"))       RecordingDirs      = atoi(Value);
data/vdr-2.4.1/config.c:660: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, "FoldersInTimerMenu"))  FoldersInTimerMenu = atoi(Value);
data/vdr-2.4.1/config.c:661: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, "AlwaysSortFoldersFirst")) AlwaysSortFoldersFirst = atoi(Value);
data/vdr-2.4.1/config.c:662: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, "RecSortingDirection")) RecSortingDirection= atoi(Value);
data/vdr-2.4.1/config.c:663: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, "DefaultSortModeRec"))  DefaultSortModeRec = atoi(Value);
data/vdr-2.4.1/config.c:664: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, "NumberKeysForChars"))  NumberKeysForChars = atoi(Value);
data/vdr-2.4.1/config.c:665: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, "ColorKey0"))           ColorKey0          = atoi(Value);
data/vdr-2.4.1/config.c:666: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, "ColorKey1"))           ColorKey1          = atoi(Value);
data/vdr-2.4.1/config.c:667: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, "ColorKey2"))           ColorKey2          = atoi(Value);
data/vdr-2.4.1/config.c:668: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, "ColorKey3"))           ColorKey3          = atoi(Value);
data/vdr-2.4.1/config.c:669: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, "VideoDisplayFormat"))  VideoDisplayFormat = atoi(Value);
data/vdr-2.4.1/config.c:670: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, "VideoFormat"))         VideoFormat        = atoi(Value);
data/vdr-2.4.1/config.c:671: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, "UpdateChannels"))      UpdateChannels     = atoi(Value);
data/vdr-2.4.1/config.c:672: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, "UseDolbyDigital"))     UseDolbyDigital    = atoi(Value);
data/vdr-2.4.1/config.c:673: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, "ChannelInfoPos"))      ChannelInfoPos     = atoi(Value);
data/vdr-2.4.1/config.c:674: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, "ChannelInfoTime"))     ChannelInfoTime    = atoi(Value);
data/vdr-2.4.1/config.c:679: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, "OSDLeft"))             OSDLeft            = atoi(Value);
data/vdr-2.4.1/config.c:680: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, "OSDTop"))              OSDTop             = atoi(Value);
data/vdr-2.4.1/config.c:681: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, "OSDWidth"))          { OSDWidth           = atoi(Value); OSDWidth &= ~0x07; } // OSD width must be a multiple of 8
data/vdr-2.4.1/config.c:682: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, "OSDHeight"))           OSDHeight          = atoi(Value);
data/vdr-2.4.1/config.c:684: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, "OSDMessageTime"))      OSDMessageTime     = atoi(Value);
data/vdr-2.4.1/config.c:685: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, "UseSmallFont"))        UseSmallFont       = atoi(Value);
data/vdr-2.4.1/config.c:686: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, "AntiAlias"))           AntiAlias          = atoi(Value);
data/vdr-2.4.1/config.c:693: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, "FontOsdSize"))         FontOsdSize        = atoi(Value);
data/vdr-2.4.1/config.c:694: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, "FontSmlSize"))         FontSmlSize        = atoi(Value);
data/vdr-2.4.1/config.c:695: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, "FontFixSize"))         FontFixSize        = atoi(Value);
data/vdr-2.4.1/config.c:696: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, "MaxVideoFileSize"))    MaxVideoFileSize   = atoi(Value);
data/vdr-2.4.1/config.c:697: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, "SplitEditedFiles"))    SplitEditedFiles   = atoi(Value);
data/vdr-2.4.1/config.c:698: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, "DelTimeshiftRec"))     DelTimeshiftRec    = atoi(Value);
data/vdr-2.4.1/config.c:699: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, "MinEventTimeout"))     MinEventTimeout    = atoi(Value);
data/vdr-2.4.1/config.c:700: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, "MinUserInactivity"))   MinUserInactivity  = atoi(Value);
data/vdr-2.4.1/config.c:701: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, "NextWakeupTime"))      NextWakeupTime     = atoi(Value);
data/vdr-2.4.1/config.c:702: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, "MultiSpeedMode"))      MultiSpeedMode     = atoi(Value);
data/vdr-2.4.1/config.c:703: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, "ShowReplayMode"))      ShowReplayMode     = atoi(Value);
data/vdr-2.4.1/config.c:704: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, "ShowRemainingTime"))   ShowRemainingTime  = atoi(Value);
data/vdr-2.4.1/config.c:705: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, "ProgressDisplayTime")) ProgressDisplayTime= atoi(Value);
data/vdr-2.4.1/config.c:706: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, "PauseOnMarkSet"))      PauseOnMarkSet     = atoi(Value);
data/vdr-2.4.1/config.c:707: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, "PauseOnMarkJump"))     PauseOnMarkJump    = atoi(Value);
data/vdr-2.4.1/config.c:708: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, "SkipEdited"))          SkipEdited         = atoi(Value);
data/vdr-2.4.1/config.c:709: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, "PauseAtLastMark"))     PauseAtLastMark    = atoi(Value);
data/vdr-2.4.1/config.c:710: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, "AdaptiveSkipInitial")) AdaptiveSkipInitial= atoi(Value);
data/vdr-2.4.1/config.c:711: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, "AdaptiveSkipTimeout")) AdaptiveSkipTimeout= atoi(Value);
data/vdr-2.4.1/config.c:712: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, "AdaptiveSkipAlternate")) AdaptiveSkipAlternate = atoi(Value);
data/vdr-2.4.1/config.c:713: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, "AdaptiveSkipPrevNext")) AdaptiveSkipPrevNext = atoi(Value);
data/vdr-2.4.1/config.c:714: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, "SkipSeconds"))         SkipSeconds        = atoi(Value);
data/vdr-2.4.1/config.c:715: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, "SkipSecondsRepeat"))   SkipSecondsRepeat  = atoi(Value);
data/vdr-2.4.1/config.c:716: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, "ResumeID"))            ResumeID           = atoi(Value);
data/vdr-2.4.1/config.c:717: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, "CurrentChannel"))      CurrentChannel     = atoi(Value);
data/vdr-2.4.1/config.c:718: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, "CurrentVolume"))       CurrentVolume      = atoi(Value);
data/vdr-2.4.1/config.c:719: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, "CurrentDolby"))        CurrentDolby       = atoi(Value);
data/vdr-2.4.1/config.c:721: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, "VolumeSteps"))         VolumeSteps        = atoi(Value);
data/vdr-2.4.1/config.c:722: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, "VolumeLinearize"))     VolumeLinearize    = atoi(Value);
data/vdr-2.4.1/config.c:723: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, "InitialVolume"))       InitialVolume      = atoi(Value);
data/vdr-2.4.1/config.c:725: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, "ChannelsWrap"))        ChannelsWrap       = atoi(Value);
data/vdr-2.4.1/config.c:726: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, "ShowChannelNamesWithSource")) ShowChannelNamesWithSource = atoi(Value);
data/vdr-2.4.1/config.c:727: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, "EmergencyExit"))       EmergencyExit      = atoi(Value);
data/vdr-2.4.1/config.h:127:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
       FILE *f = fopen(fileName, "r");
data/vdr-2.4.1/config.h:254: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 OSDLanguage[I18N_MAX_LOCALE_LEN];
data/vdr-2.4.1/config.h:255: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 OSDSkin[MaxSkinName];
data/vdr-2.4.1/config.h:256: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 OSDTheme[MaxThemeName];
data/vdr-2.4.1/config.h:264: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 NameInstantRecord[NAME_MAX + 1];
data/vdr-2.4.1/config.h:292: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 SVDRPHostName[HOST_NAME_MAX];
data/vdr-2.4.1/config.h:293: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 SVDRPDefaultHost[HOST_NAME_MAX];
data/vdr-2.4.1/config.h:324: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 FontOsd[MAXFONTNAME];
data/vdr-2.4.1/config.h:325: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 FontSml[MAXFONTNAME];
data/vdr-2.4.1/config.h:326: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 FontFix[MAXFONTNAME];
data/vdr-2.4.1/cutter.c:57: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 + length, Data, Length);
data/vdr-2.4.1/cutter.c:64:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
     memcpy(Data + Length, data, length);
data/vdr-2.4.1/device.c:463: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(FileName, O_WRONLY | O_CREAT | O_NOFOLLOW | O_TRUNC, DEFFILEMODE);
data/vdr-2.4.1/device.c:1272:27:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                          memcpy(buf + Offset, p, l);
data/vdr-2.4.1/device.c:1294: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(buf + Offset, p, l);
data/vdr-2.4.1/device.h:82: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 language[MAXLANGCODE2];  // something like either "eng" or "deu+eng"
data/vdr-2.4.1/device.h:83: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 description[32];         // something like "Dolby Digital 5.1"
data/vdr-2.4.1/dvbdevice.c:209:39:  [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 Value >= 0 && Value != 999 ? sprintf(p, "%c%d", Name, Value) : 0;
data/vdr-2.4.1/dvbdevice.c:215:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[64];
data/vdr-2.4.1/dvbdevice.c:218:21:  [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.
  ST("  S *")  q += sprintf(q, "%c", polarization);
data/vdr-2.4.1/dvbdevice.c:1868: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(FileName, Mode);
data/vdr-2.4.1/dvbdevice.c:1883:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
     int f = open(FileName, O_RDONLY);
data/vdr-2.4.1/dvbdevice.c:2132:11:  [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 f = open(FileName, O_RDWR | O_NONBLOCK);
data/vdr-2.4.1/dvbdevice.c:2377:32:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                 if (FILE *f = fopen(FileName, "r")) {
data/vdr-2.4.1/dvbdevice.c:2386:36:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                          if ((f = fopen(FileName, "r")) != NULL) {
data/vdr-2.4.1/dvbdevice.c:2393:39:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                             if ((f = fopen(FileName, "r")) != NULL) {
data/vdr-2.4.1/dvbdevice.c:2400:36:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                          if ((f = fopen(FileName, "r")) != NULL) {
data/vdr-2.4.1/dvbdevice.c:2407:39:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                             if ((f = fopen(FileName, "r")) != NULL) {
data/vdr-2.4.1/dvbspu.c:327: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(hlpDescr, pld, sizeof(aDvbSpuPalDescr));
data/vdr-2.4.1/dvbsubtitle.c:114:11:  [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 f = open(ImgName, O_WRONLY | O_CREAT, DEFFILEMODE);
data/vdr-2.4.1/dvbsubtitle.c:129:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (FILE *f = fopen("dbg-log.htm", newFile ? "w" : "a")) {
data/vdr-2.4.1/dvbsubtitle.c:412: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(topData, bs.GetData(), topLength);
data/vdr-2.4.1/dvbsubtitle.c:417: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(botData, bs.GetData() + topLength, botLength);
data/vdr-2.4.1/dvbsubtitle.c:452:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
     memcpy(topData + topIndex, bs.GetData(), (bs.Length() - bs.Index()) / 8);
data/vdr-2.4.1/dvbsubtitle.c:460:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
     memcpy(topData + 1, bs.GetData(), (bs.Length() - bs.Index()) / 8);
data/vdr-2.4.1/dvbsubtitle.c:478:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char txt[NumberOfCodes + 1];
data/vdr-2.4.1/dvbsubtitle.c:1209:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
     memcpy(data + length, Data, Length);
data/vdr-2.4.1/eit.c:273:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                       char linkName[ld->privateData.getLength() + 1];
data/vdr-2.4.1/eit.c:309:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char buffer[Utf8BufSize(256)];
data/vdr-2.4.1/eit.c:321: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 buffer[Utf8BufSize(256)];
data/vdr-2.4.1/eit.c:330: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 buffer[Utf8BufSize(ExtendedEventDescriptors->getMaximumTextLength(": ")) + 1];
data/vdr-2.4.1/epg.c:26:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[256];
data/vdr-2.4.1/epg.c:250: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 vpsbuf[64] = "";
data/vdr-2.4.1/epg.c:445: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[25];
data/vdr-2.4.1/epg.c:515:33:  [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 'R': SetParentalRating(atoi(t));
data/vdr-2.4.1/epg.c:521:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    case 'V': SetVps(atoi(t));
data/vdr-2.4.1/epg.c:626:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char buffer[1024];
data/vdr-2.4.1/epg.c:1299:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if ((f = fopen(epgDataFileName, "r")) == NULL) {
data/vdr-2.4.1/epg.h:45: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 language[MAXLANGCODE2];
data/vdr-2.4.1/font.c:77: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(bitmap, GlyphData->bitmap.buffer, rows * pitch);
data/vdr-2.4.1/interface.c:162: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.
         char Headline[256];
data/vdr-2.4.1/libsi/descriptor.h:23: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 languageCode[4];
data/vdr-2.4.1/libsi/descriptor.h:40: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 languageCode[4];
data/vdr-2.4.1/libsi/descriptor.h:111: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 languageCode[4];
data/vdr-2.4.1/libsi/descriptor.h:128: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 languageCode[4];
data/vdr-2.4.1/libsi/descriptor.h:300: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 languageCode[4];
data/vdr-2.4.1/libsi/descriptor.h:321: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 languageCode[4];
data/vdr-2.4.1/libsi/descriptor.h:394: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 languageCode[4];
data/vdr-2.4.1/libsi/descriptor.h:442: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 countryCode[4];
data/vdr-2.4.1/libsi/descriptor.h:478: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 languageCode[4]; //for backwards compatibility
data/vdr-2.4.1/libsi/descriptor.h:482: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 languageCode[4];
data/vdr-2.4.1/libsi/descriptor.h:685: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 languageCode[4];
data/vdr-2.4.1/libsi/util.c:126:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy(newdata, d, size);
data/vdr-2.4.1/lirc.c:62:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[LIRC_BUFFER_SIZE];
data/vdr-2.4.1/lirc.c:63: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-2.4.1/lirc.c:90: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.
           char KeyName[LIRC_KEY_BUF];
data/vdr-2.4.1/menu.c:168: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 name[256];
data/vdr-2.4.1/menu.c:700: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 name[PATH_MAX];
data/vdr-2.4.1/menu.c:1208:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char buffer[16];
data/vdr-2.4.1/menu.c:2158: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 t[l + 1];
data/vdr-2.4.1/menu.c:2374: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 buffer[64];
data/vdr-2.4.1/menu.c:2450: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 folder[PATH_MAX];
data/vdr-2.4.1/menu.c:2451: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 name[NAME_MAX];
data/vdr-2.4.1/menu.c:2572: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 folder[PATH_MAX];
data/vdr-2.4.1/menu.c:2573: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 name[NAME_MAX];
data/vdr-2.4.1/menu.c:3374: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 *useSmallFontTexts[3];
data/vdr-2.4.1/menu.c:3375: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 *recSortModeTexts[2];
data/vdr-2.4.1/menu.c:3376: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 *recSortDirTexts[2];
data/vdr-2.4.1/menu.c:3377: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 *keyColorTexts[4];
data/vdr-2.4.1/menu.c:3643: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 *videoDisplayFormatTexts[3];
data/vdr-2.4.1/menu.c:3644: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 *updateChannelsTexts[6];
data/vdr-2.4.1/menu.c:3645: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 *standardComplianceTexts[3];
data/vdr-2.4.1/menu.c:4065: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 *recordKeyHandlingTexts[3];
data/vdr-2.4.1/menu.c:4066: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 *pauseKeyHandlingTexts[3];
data/vdr-2.4.1/menu.c:4067: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 *delTimeshiftRecTexts[3];
data/vdr-2.4.1/menu.c:4147: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 *svdrpPeeringModeTexts[3];
data/vdr-2.4.1/menu.c:4148: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 *showChannelNamesWithSourceTexts[3];
data/vdr-2.4.1/menu.c:4310:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[64];
data/vdr-2.4.1/menu.c:5799: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-2.4.1/menu.c:5811:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(buf + len, "%c%c:%c%c", ch10, ch1, cm10, cm1);
data/vdr-2.4.1/menu.h:81: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 remote[HOST_NAME_MAX];
data/vdr-2.4.1/menu.h:165: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 *descriptions[ttMaxTrackTypes + 1]; // list is NULL terminated
data/vdr-2.4.1/menu.h:183: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 *descriptions[ttMaxTrackTypes + 1]; // list is NULL terminated
data/vdr-2.4.1/menuitems.c:89:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char buf[16];
data/vdr-2.4.1/menuitems.c:150: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[16];
data/vdr-2.4.1/menuitems.c:186:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char buf[length + 1];
data/vdr-2.4.1/menuitems.c:291: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[16];
data/vdr-2.4.1/menuitems.c:355: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[2];
data/vdr-2.4.1/menuitems.c:518:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char buf[1000];
data/vdr-2.4.1/menuitems.c:822:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char buf[255];
data/vdr-2.4.1/menuitems.c:942: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[DATEBUFFERSIZE];
data/vdr-2.4.1/menuitems.c:1155: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[16];
data/vdr-2.4.1/nit.c:49:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char NetworkName[MAXNETWORKNAME] = "";
data/vdr-2.4.1/osd.c:365:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f = fopen(FileName, "r");
data/vdr-2.4.1/osd.c:1114: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, Image.Data(), l);
data/vdr-2.4.1/osd.c:1123:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
     memcpy(data, Data, l);
data/vdr-2.4.1/osd.c:1245:10:  [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(pd, ps, w);
data/vdr-2.4.1/osd.c:1363: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(pd, ps, w); // all other lines are copied fast from the first one
data/vdr-2.4.1/osd.c:1574:16:  [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(pd, ps, w);
data/vdr-2.4.1/pat.c:52:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
     memcpy(&data[6], Data, Length);
data/vdr-2.4.1/pat.c:148:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[1024];
data/vdr-2.4.1/pat.c:150:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  q += sprintf(q, "CAM: %04X %5d %5d %04X %04X -", source, transponder, serviceId, d->getCaType(), EsPid);
data/vdr-2.4.1/pat.c:152:12:  [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.
      q += sprintf(q, " %02X", nca->Data()[i]);
data/vdr-2.4.1/pat.c:420: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 ALangs[MAXAPIDS][MAXLANGCODE2] = { "" };
data/vdr-2.4.1/pat.c:421: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 DLangs[MAXDPIDS][MAXLANGCODE2] = { "" };
data/vdr-2.4.1/pat.c:422: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 SLangs[MAXSPIDS][MAXLANGCODE2] = { "" };
data/vdr-2.4.1/pat.c:483:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                      char lang[MAXLANGCODE1] = { 0 };
data/vdr-2.4.1/pat.c:550:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                         char lang[MAXLANGCODE1] = { 0 };
data/vdr-2.4.1/pat.c:582:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                      char lang[MAXLANGCODE1] = { 0 };
data/vdr-2.4.1/plugin.c:234: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 *argv[MAXPLUGINARGS];
data/vdr-2.4.1/recording.c:272: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).
        int f = open(fileName, O_RDONLY);
data/vdr-2.4.1/recording.c:284: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).
        FILE *f = fopen(fileName, "r");
data/vdr-2.4.1/recording.c:293:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                   case 'I': resume = atoi(t);
data/vdr-2.4.1/recording.c:311: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).
        int f = open(fileName, O_WRONLY | O_CREAT | O_TRUNC, DEFFILEMODE);
data/vdr-2.4.1/recording.c:322: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).
        FILE *f = fopen(fileName, "w");
data/vdr-2.4.1/recording.c:498:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
             case 'L': lifetime = atoi(t);
data/vdr-2.4.1/recording.c:500:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
             case 'P': priority = atoi(t);
data/vdr-2.4.1/recording.c:535: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 *f = fopen(fileName, "r");
data/vdr-2.4.1/recording.c:610:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[4];
data/vdr-2.4.1/recording.c:611:30:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                             sprintf(buf, "#%02X", (unsigned char)*p);
data/vdr-2.4.1/recording.c:613:30:  [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, buf, 3);
data/vdr-2.4.1/recording.c:630:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[3];
data/vdr-2.4.1/recording.c:631:25:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                        sprintf(buf, "%c%c", *(p + 1), *(p + 2));
data/vdr-2.4.1/recording.c:865: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 *f = fopen(InfoFileName, "r");
data/vdr-2.4.1/recording.c:884: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).
        FILE *f = fopen(SummaryFileName, "r");
data/vdr-2.4.1/recording.c:887: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.
           char *data[3] = { NULL };
data/vdr-2.4.1/recording.c:895:47:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                       if (char *NewBuffer = (char *)realloc(data[line], len + 1)) {
data/vdr-2.4.1/recording.c:920:41:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                 if (char *NewBuffer = (char *)realloc(data[1], len + 1 + strlen(data[2]) + 1)) {
data/vdr-2.4.1/recording.c:987: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[32];
data/vdr-2.4.1/recording.c:1814:30:  [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 ((From = open(FileNameSrc, O_RDONLY)) < 0) {
data/vdr-2.4.1/recording.c:1818: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).
                 if ((To = open(FileNameDst, O_WRONLY | O_CREAT | O_EXCL, DEFFILEMODE)) < 0) {
data/vdr-2.4.1/recording.c:2569: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).
                 f = open(fileName, O_RDONLY);
data/vdr-2.4.1/recording.c:2597: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 ((f = open(fileName, O_WRONLY | O_CREAT | O_APPEND, DEFFILEMODE)) >= 0) {
data/vdr-2.4.1/recording.c:2643: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((void *)IndexTs, &IndexPes, sizeof(*IndexTs));
data/vdr-2.4.1/recording.c:2929: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).
         int fd = open(fileName, O_RDONLY | O_LARGEFILE, DEFFILEMODE);
data/vdr-2.4.1/recording.c:3107:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (FILE *f = fopen(AddDirectory(Directory, SORTMODEFILE), "r")) {
data/vdr-2.4.1/recording.c:3108:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char buf[8];
data/vdr-2.4.1/recording.c:3110: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).
        RecordingsSortMode = eRecordingsSortMode(constrain(atoi(buf), 0, int(rsmTime)));
data/vdr-2.4.1/recording.c:3117:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (FILE *f = fopen(AddDirectory(Directory, SORTMODEFILE), "w")) {
data/vdr-2.4.1/recording.c:3139:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
     if (FILE *f = fopen(FileName, "w")) {
data/vdr-2.4.1/recording.c:3156:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (FILE *f = fopen(FileName, "r")) {
data/vdr-2.4.1/recording.c:3157:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char buf[HOST_NAME_MAX + 10]; // +10 for numeric timer id and '@'
data/vdr-2.4.1/remote.c:126:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[32];
data/vdr-2.4.1/remote.c:329: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 bytes[4] = { 0 };
data/vdr-2.4.1/remux.c:571:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
           memcpy(p + j, q, l);
data/vdr-2.4.1/remux.c:674:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
           memcpy(pmt, Data, Length);
data/vdr-2.4.1/remux.c:686: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(pmt + pmtSize, Data, Length);
data/vdr-2.4.1/remux.c:775:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                      char lang[MAXLANGCODE1] = "";
data/vdr-2.4.1/remux.c:848:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                      char lang[MAXLANGCODE1] = { 0 };
data/vdr-2.4.1/remux.c:876:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                      char lang[MAXLANGCODE1] = { 0 };
data/vdr-2.4.1/remux.c:1069:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(data + length, Data, Length);
data/vdr-2.4.1/remux.h:365: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 alangs[MAXAPIDS][MAXLANGCODE2];
data/vdr-2.4.1/remux.h:368: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 dlangs[MAXDPIDS][MAXLANGCODE2];
data/vdr-2.4.1/remux.h:370: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 slangs[MAXSPIDS][MAXLANGCODE2];
data/vdr-2.4.1/ringbuffer.c:151: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.
         char buf[DEBUGRBLWIDTH + 10];
data/vdr-2.4.1/ringbuffer.c:323:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
           memcpy(buffer + head, Data, rest);
data/vdr-2.4.1/ringbuffer.c:325: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(buffer + margin, Data + rest, Count - rest);
data/vdr-2.4.1/ringbuffer.c:329:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
           memcpy(buffer + head, Data, Count);
data/vdr-2.4.1/ringbuffer.c:354:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
     memcpy(buffer + t, buffer + tail, rest);
data/vdr-2.4.1/ringbuffer.c:406: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(data, Data, count);
data/vdr-2.4.1/sdt.c:85:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char NameBuf[Utf8BufSize(1024)];
data/vdr-2.4.1/sdt.c:86:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char ShortNameBuf[Utf8BufSize(1024)];
data/vdr-2.4.1/sdt.c:87:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char ProviderNameBuf[Utf8BufSize(1024)];
data/vdr-2.4.1/sections.c:200:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 buf[4096]; // max. allowed size for any EIT section
data/vdr-2.4.1/skinclassic.c:511:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char buf[16];
data/vdr-2.4.1/skinlcars.c:1893:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *const *ReplaySymbols[2][2][5] = {
data/vdr-2.4.1/skins.c:116: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 buffer[1000];
data/vdr-2.4.1/skinsttng.c:873:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *const *ReplaySymbols[2][2][5] = {
data/vdr-2.4.1/sources.c:57:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[16];
data/vdr-2.4.1/svdrp.c:287:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char buf[MAXUDPBUF];
data/vdr-2.4.1/svdrp.c:420:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                     switch (atoi(input)) {
data/vdr-2.4.1/svdrp.c:555: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).
           port = atoi(p);
data/vdr-2.4.1/svdrp.c:562:31:  [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).
                    timeout = atoi(t);
data/vdr-2.4.1/svdrp.c:779:12:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  if ((f = tmpfile()) != NULL) {
data/vdr-2.4.1/svdrp.c:1031: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 topic[MAXHELPTOPIC];
data/vdr-2.4.1/svdrp.c:1221: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 buffer[TopicsPerLine * MAXHELPTOPIC + 5];
data/vdr-2.4.1/svdrp.c:1223:12:  [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.
      q += sprintf(q, "    ");
data/vdr-2.4.1/svdrp.c:1531:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char buf[strlen(Option) + 1];
data/vdr-2.4.1/svdrp.c:1560:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
              Quality = atoi(p);
data/vdr-2.4.1/svdrp.c:1570:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
           SizeX = atoi(p);
data/vdr-2.4.1/svdrp.c:1577: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).
              SizeY = atoi(p);
data/vdr-2.4.1/svdrp.c:1593:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char RealFileName[PATH_MAX];
data/vdr-2.4.1/svdrp.c:1629:21:  [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(FileName, O_WRONLY | O_CREAT | O_NOFOLLOW | O_TRUNC, DEFFILEMODE);
data/vdr-2.4.1/svdrp.c:1697:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char buf[strlen(Option) + 1];
data/vdr-2.4.1/svdrp.c:1797:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char buf[strlen(Option) + 1];
data/vdr-2.4.1/svdrp.c:1874:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char buf[strlen(Option) + 1];
data/vdr-2.4.1/svdrp.c:1932:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char buf[strlen(Option) + 1];
data/vdr-2.4.1/svdrp.c:2363:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char buf[strlen(Option) + 1];
data/vdr-2.4.1/svdrp.c:2419: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 *f = fopen(Option, "r");
data/vdr-2.4.1/svdrp.h:47:50:  [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).
inline int SVDRPCode(const char *s) { return s ? atoi(s) : 0; }
data/vdr-2.4.1/themes.c:90:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f = fopen(FileName, "r");
data/vdr-2.4.1/themes.h:23: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 *colorNames[MaxThemeColors];
data/vdr-2.4.1/thread.c:575: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 logCaller[SLL_SIZE][SLL_LENGTH];
data/vdr-2.4.1/thread.c:603: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.
         char msg[SLL_LENGTH];
data/vdr-2.4.1/thread.c:605: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.
         q += sprintf(q, "%5d", tid);
data/vdr-2.4.1/thread.c:619: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.
             q += sprintf(q, "  %c", c);
data/vdr-2.4.1/thread.c:621: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.
         q += sprintf(q, "  %c", Lock ? 'L' : 'U');
data/vdr-2.4.1/thread.c:1061: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).
        int devnull = open("/dev/null", O_RDONLY);
data/vdr-2.4.1/timers.c:264:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[DAYBUFFERSIZE];
data/vdr-2.4.1/timers.c:324:6:  [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(strn0cpy(s2, s, l2 + 1), " \n");
data/vdr-2.4.1/timers.c:339:41:  [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).
        channel = Channels->GetByNumber(atoi(channelbuffer));
data/vdr-2.4.1/timers.c:941: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).
         int nl = atoi(tl[il]);
data/vdr-2.4.1/timers.c:944:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            int nr = atoi((*RemoteTimers)[ir]);
data/vdr-2.4.1/timers.c:956:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
         AddTimer = atoi((*RemoteTimers)[ir]);
data/vdr-2.4.1/timers.c:1049: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).
        int RemoteId = atoi(SVDRPValue(Response[0]));
data/vdr-2.4.1/timers.c:1075:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
     int RemoteId = atoi(SVDRPValue(Response[0]));
data/vdr-2.4.1/timers.h:43: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.
  mutable char file[NAME_MAX * 2 + 1]; // *2 to be able to hold 'title' and 'episode', which can each be up to 255 characters long
data/vdr-2.4.1/tools.c:38: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 fmt[MAXSYSLOGBUF];
data/vdr-2.4.1/tools.c:397:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char buf[strlen(s) + 1];
data/vdr-2.4.1/tools.c:417: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[16];
data/vdr-2.4.1/tools.c:426: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[16];
data/vdr-2.4.1/tools.c:678: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).
         int f = open(buf, O_WRONLY | O_CREAT, DEFFILEMODE);
data/vdr-2.4.1/tools.c:974:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char buf[129];
data/vdr-2.4.1/tools.c:1152:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[16];
data/vdr-2.4.1/tools.c:1194:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[32];
data/vdr-2.4.1/tools.c:1205:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[32];
data/vdr-2.4.1/tools.c:1215: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[32];
data/vdr-2.4.1/tools.c:1226: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[32];
data/vdr-2.4.1/tools.c:1235: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[25];
data/vdr-2.4.1/tools.c:1343: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 buffer[HOST_NAME_MAX] = "";
data/vdr-2.4.1/tools.c:1347: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(buffer, "vdr");
data/vdr-2.4.1/tools.c:1630: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).
     return Open(open(FileName, Flags, Mode));
data/vdr-2.4.1/tools.c:1728:6:  [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(strcpy(tempName, fileName), ".$$$");
data/vdr-2.4.1/tools.c:1743:10:  [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(tempName, "w");
data/vdr-2.4.1/tools.c:1799:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open(FileName, Flags, Mode);
data/vdr-2.4.1/tools.c:2000: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).
        f = open(fileName, O_WRONLY | O_CREAT | O_EXCL, DEFFILEMODE);
data/vdr-2.4.1/tools.c:2331:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
     memcpy(buffer + used, Data, Length);
data/vdr-2.4.1/tools.h:412: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 b[offsetof(struct dirent, d_name) + NAME_MAX + 1];
data/vdr-2.4.1/tools.h:797: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 d = atoi(*(const char **)a) - atoi(*(const char **)b);
data/vdr-2.4.1/tools.h:797: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).
  int d = atoi(*(const char **)a) - atoi(*(const char **)b);
data/vdr-2.4.1/vdr.c:99:54:  [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).
     struct passwd *user = isnumber(User) ? getpwuid(atoi(User)) : getpwnam(User);
data/vdr-2.4.1/vdr.c:337: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).
                       int n = atoi(optarg);
data/vdr-2.4.1/vdr.c:411: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).
                       InstanceId = atoi(optarg);
data/vdr-2.4.1/vdr.c:422: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).
                       int l = atoi(optarg);
data/vdr-2.4.1/vdr.c:428: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).
                             int l = atoi(p + 1);
data/vdr-2.4.1/vdr.c:466:36:  [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).
                       SVDRPport = atoi(optarg);
data/vdr-2.4.1/vdr.c:524: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).
                       int t = atoi(optarg);
data/vdr-2.4.1/vdr.c:917: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).
        if (const cChannel *Channel = Channels->GetByNumber(atoi(Setup.InitialChannel)))
data/vdr-2.4.1/videodir.c:166: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 PrefixedName[strlen(FileName) + 2];
data/vdr-2.4.1/PLUGINS/src/pictures/player.c:22: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).
     char buf[strlen(p) + 1];
data/vdr-2.4.1/PLUGINS/src/pictures/player.c:66:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         length = read(f, buffer, size);
data/vdr-2.4.1/PLUGINS/src/pictures/player.c:163: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).
  lastDisplayed = Path + strlen(pictures->Name()) + 1;
data/vdr-2.4.1/PLUGINS/src/skincurses/skincurses.c:216: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).
  timeWidth = strlen("00:00");
data/vdr-2.4.1/args.c:70: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).
                     s[strlen(s) - 1] = 0;
data/vdr-2.4.1/args.c:84: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(s) > 2) && (s[0] == '-') && (s[1] != '-')) { // short option, split at first space
data/vdr-2.4.1/channels.c:548: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).
  char FullName[strlen(Channel->name) + 1 + strlen(Channel->shortName) + 1 + strlen(Channel->provider) + 1 + 10]; // +10: paranoia
data/vdr-2.4.1/channels.c:548:45:  [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).
  char FullName[strlen(Channel->name) + 1 + strlen(Channel->shortName) + 1 + strlen(Channel->provider) + 1 + 10]; // +10: paranoia
data/vdr-2.4.1/channels.c:548:78:  [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).
  char FullName[strlen(Channel->name) + 1 + strlen(Channel->shortName) + 1 + strlen(Channel->provider) + 1 + 10]; // +10: paranoia
data/vdr-2.4.1/channels.c:555:14:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
        q += sprintf(q, ",");
data/vdr-2.4.1/ci.c:399: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).
           memmove(t, t + 1, strlen(t));
data/vdr-2.4.1/ci.c:1530: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 (int(strlen(s)) == enquiry->expectedLength) {
data/vdr-2.4.1/ci.c:1537:115:  [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).
                     esyslog("CAM %d: ERROR: unexpected PIN length %d, expected %d", CamSlot()->SlotNumber(), int(strlen(s)), enquiry->expectedLength);
data/vdr-2.4.1/ci.c:1596:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
     len = min(sizeof(answer.text), strlen(Text));
data/vdr-2.4.1/config.c:195: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).
           p = s + strlen(s) - 1;
data/vdr-2.4.1/config.c:376:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
  strcpy(OSDLanguage, ""); // default is taken from environment
data/vdr-2.4.1/config.c:417:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
  strcpy(SVDRPDefaultHost, "");
data/vdr-2.4.1/config.c:578:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
         strncpy(q, s, 3);
data/vdr-2.4.1/diseqc.c:24: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).
  return *s && s[strlen(s) - 1] == ':';
data/vdr-2.4.1/dvbdevice.c:1935:48:  [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 Adapter = strtol(a->d_name + strlen(DEV_DVB_ADAPTER), NULL, 10);
data/vdr-2.4.1/dvbdevice.c:1941: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).
                          int Frontend = strtol(f->d_name + strlen(DEV_DVB_FRONTEND), NULL, 10);
data/vdr-2.4.1/epg.c:34:11:  [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.
  int n = sscanf(s, "%X %02X %7s %m[^\n]", &Stream, &Type, language, &description); // 7 = MAXLANGCODE2 - 1
data/vdr-2.4.1/epg.c:673: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 len = strlen(s);
data/vdr-2.4.1/epg.c:718: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).
           char *d = strdup(e + strlen(delim));
data/vdr-2.4.1/epg.c:737: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).
        memmove(shortText, shortText + 1, strlen(shortText));
data/vdr-2.4.1/epg.c:762: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 l = strlen(shortText);
data/vdr-2.4.1/epg.c:789: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(shortText) > MAX_USEFUL_EPISODE_LENGTH) {
data/vdr-2.4.1/epg.c:800: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(shortText) > MAX_USEFUL_EPISODE_LENGTH) {
data/vdr-2.4.1/font.c:460: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).
                  memmove(p, c, strlen(c) + 1);
data/vdr-2.4.1/font.c:522: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).
     int LtrLen = strlen(Ltr);
data/vdr-2.4.1/font.c:606: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).
            char *s = MALLOC(char, strlen(text) + 2); // The additional '\n' plus the terminating '\0'
data/vdr-2.4.1/font.c:608:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(s, text, l);
data/vdr-2.4.1/libsi/descriptor.c:83:94:  [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 getMaximumTextPlainLength()+getMaximumTextItemizedLength(separation1, separation2)+strlen(separation2);
data/vdr-2.4.1/libsi/descriptor.c:99: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).
      len = strlen(buffer+index);
data/vdr-2.4.1/libsi/descriptor.c:104: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).
   int sepLen1 = strlen(separation1);
data/vdr-2.4.1/libsi/descriptor.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).
   int sepLen2 = strlen(separation2);
data/vdr-2.4.1/libsi/descriptor.c:122: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).
         len = strlen(buffer+index);
data/vdr-2.4.1/libsi/descriptor.c:132: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).
         len = strlen(buffer+index);
data/vdr-2.4.1/libsi/descriptor.c:171: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).
      len = strlen(buffer+index);
data/vdr-2.4.1/libsi/descriptor.c:181: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).
   int sepLength=strlen(separation1)+strlen(separation2);
data/vdr-2.4.1/libsi/descriptor.c:181:38:  [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 sepLength=strlen(separation1)+strlen(separation2);
data/vdr-2.4.1/libsi/descriptor.c:200: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).
   int sepLen1 = strlen(separation1);
data/vdr-2.4.1/libsi/descriptor.c:201: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).
   int sepLen2 = strlen(separation2);
data/vdr-2.4.1/libsi/descriptor.c:210: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).
         len = strlen(buffer+index);
data/vdr-2.4.1/libsi/descriptor.c:220: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).
         len = strlen(buffer+index);
data/vdr-2.4.1/libsi/si.c:236:7:  [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(buffer, "text error", size);
data/vdr-2.4.1/libsi/si.c:247:7:  [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(buffer, "text error", sizeBuffer);
data/vdr-2.4.1/libsi/si.c:445:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(to, (const char *)from, len);
data/vdr-2.4.1/libsi/si.c:449: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).
      len = strlen(to); // might have changed
data/vdr-2.4.1/libsi/si.c:482: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).
   int len=strlen(to);
data/vdr-2.4.1/lirc.c:91:16:  [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) { // '29' in '%29s' is LIRC_KEY_BUF-1!
data/vdr-2.4.1/menu.c:1075: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).
        memmove(data.file, p, strlen(p) + 1);
data/vdr-2.4.1/menu.c:2160: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).
        l = strlen(t);
data/vdr-2.4.1/menu.c:2195:27:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
              while ((c = fgetc(p)) != EOF) {
data/vdr-2.4.1/menu.c:2353: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).
        int l = p ? p - s : strlen(s);
data/vdr-2.4.1/menu.c:2373:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
     if (ciEnquiry->ExpectedLength() < 0xFF && int(strlen(input)) != ciEnquiry->ExpectedLength()) {
data/vdr-2.4.1/menu.c:3036:141:  [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 ((!filter || filter->Filter(Recording)) && (!base || (strstr(Recording->Name(), base) == Recording->Name() && Recording->Name()[strlen(base)] == FOLDERDELIMCHAR))) {
data/vdr-2.4.1/menu.c:4523:67:  [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).
                             cRecordControls::Stop(item->Text() + strlen(tr(STOP_RECORDING)));
data/vdr-2.4.1/menu.c:5802: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(buf);
data/vdr-2.4.1/menuitems.c:205:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int l = strlen(value);
data/vdr-2.4.1/menuitems.c:211:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int l = strlen(value);
data/vdr-2.4.1/menuitems.c:416: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 l = strlen(allowed) + 1;
data/vdr-2.4.1/menuitems.c:420: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).
     l = strlen(charMap) + 1;
data/vdr-2.4.1/osd.c:450: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 (int(strlen(s)) < c) {
data/vdr-2.4.1/osd.c:475: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 (int(strlen(s)) != w * c) {
data/vdr-2.4.1/pat.c:461:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                           s += strlen(s);
data/vdr-2.4.1/pat.c:508:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                           s += strlen(s);
data/vdr-2.4.1/plugin.c:199: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).
  memmove(s, s + 1, strlen(s));
data/vdr-2.4.1/plugin.c:202: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).
           memmove(s, s + 1, strlen(s));
data/vdr-2.4.1/plugin.c:207: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).
     memmove(s, s + 1, strlen(s));
data/vdr-2.4.1/plugin.c:242:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                case '\\': memmove(p, p + 1, strlen(p));
data/vdr-2.4.1/plugin.c:328: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).
               p += strlen(SO_INDICATOR);
data/vdr-2.4.1/plugin.c:330: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).
                  char *name = FileName + strlen(LIBVDR_PREFIX);
data/vdr-2.4.1/plugin.c:332: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).
                     AddPlugin(FileName + strlen(LIBVDR_PREFIX));
data/vdr-2.4.1/recording.c:248: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).
  fileName = MALLOC(char, strlen(FileName) + strlen(Suffix) + 1);
data/vdr-2.4.1/recording.c:248:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  fileName = MALLOC(char, strlen(FileName) + strlen(Suffix) + 1);
data/vdr-2.4.1/recording.c:251: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).
     sprintf(fileName + strlen(fileName), Suffix, Setup.ResumeID ? "." : "", Setup.ResumeID ? *itoa(Setup.ResumeID) : "");
data/vdr-2.4.1/recording.c:375: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).
            else if (strlen(s) > strlen(Component->language))
data/vdr-2.4.1/recording.c:375:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            else if (strlen(s) > strlen(Component->language))
data/vdr-2.4.1/recording.c:390: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).
            else if (strlen(s) > strlen(Component->language))
data/vdr-2.4.1/recording.c:390:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            else if (strlen(s) > strlen(Component->language))
data/vdr-2.4.1/recording.c:401: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).
            else if (strlen(s) > strlen(Component->language))
data/vdr-2.4.1/recording.c:401:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            else if (strlen(s) > strlen(Component->language))
data/vdr-2.4.1/recording.c:607:68:  [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 (char *NewBuffer = (char *)realloc(s, strlen(s) + 10)) {
data/vdr-2.4.1/recording.c:612:48:  [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(p + 2, p, strlen(p) + 1);
data/vdr-2.4.1/recording.c:629: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).
                     if (strlen(p) > 2 && isxdigit(*(p + 1)) && isxdigit(*(p + 2))) {
data/vdr-2.4.1/recording.c:635: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).
                           memmove(p + 1, p + 3, strlen(p) - 2);
data/vdr-2.4.1/recording.c:673: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 Length = strlen(s);
data/vdr-2.4.1/recording.c:792: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 l = strlen(name);
data/vdr-2.4.1/recording.c:835: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).
  if (*(fileName + strlen(fileName) - 1) == '/')
data/vdr-2.4.1/recording.c:836: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).
     *(fileName + strlen(fileName) - 1) = 0;
data/vdr-2.4.1/recording.c:838: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).
     FileName += strlen(cVideoDirectory::Name()) + 1;
data/vdr-2.4.1/recording.c:855:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(name, FileName, p - FileName);
data/vdr-2.4.1/recording.c:893:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                       int len = strlen(s);
data/vdr-2.4.1/recording.c:894: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).
                       len += strlen(data[line]) + 1;
data/vdr-2.4.1/recording.c:897:27:  [1] (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 character.
                          strcat(data[line], "\n");
data/vdr-2.4.1/recording.c:918: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).
              int len = strlen(data[1]);
data/vdr-2.4.1/recording.c:920:75:  [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 (char *NewBuffer = (char *)realloc(data[1], len + 1 + strlen(data[2]) + 1)) {
data/vdr-2.4.1/recording.c:922:21:  [1] (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 character.
                    strcat(data[1], "\n");
data/vdr-2.4.1/recording.c:993: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).
        char *s = strdup(FileName() + strlen(cVideoDirectory::Name()));
data/vdr-2.4.1/recording.c:1040: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).
  int l = strlen(Path);
data/vdr-2.4.1/recording.c:1066: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).
     char *Name = LimitNameLengths(strdup(name), DirectoryPathMax - strlen(cVideoDirectory::Name()) - 1 - 42, DirectoryNameMax); // 42 = length of an actual recording directory name (generated with DATAFORMATTS) plus some reserve
data/vdr-2.4.1/recording.c:1112: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).
     s = &titleBuffer[strlen(titleBuffer) - 1];
data/vdr-2.4.1/recording.c:1269:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
     strncpy(ext, DELEXT, strlen(ext));
data/vdr-2.4.1/recording.c:1269: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).
     strncpy(ext, DELEXT, strlen(ext));
data/vdr-2.4.1/recording.c:1306:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
     strncpy(ext, RECEXT, strlen(ext));
data/vdr-2.4.1/recording.c:1306: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).
     strncpy(ext, RECEXT, strlen(ext));
data/vdr-2.4.1/recording.c:1578:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
     strncpy(ext, DELEXT, strlen(ext));
data/vdr-2.4.1/recording.c:1578: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).
     strncpy(ext, DELEXT, strlen(ext));
data/vdr-2.4.1/recording.c:1654:49:  [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).
            const char *p = Recording->Name() + strlen(OldPath);
data/vdr-2.4.1/recording.c:1670:77:  [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 (!ResumeFileName || strncmp(ResumeFileName, Recording->FileName(), strlen(Recording->FileName())) == 0)
data/vdr-2.4.1/recording.c:2897: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).
  fileName = MALLOC(char, strlen(FileName) + RECORDFILESUFFIXLEN);
data/vdr-2.4.1/recording.c:2903: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).
  pFileNumber = fileName + strlen(fileName);
data/vdr-2.4.1/recording.c:2935:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                  while (read(fd, buf, sizeof(buf)) == sizeof(buf)) {
data/vdr-2.4.1/remux.c:438:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  for (const char *End = Language + strlen(Language); Language < End; ) {
data/vdr-2.4.1/remux.c:753:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                           s += strlen(s);
data/vdr-2.4.1/remux.c:806:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                           s += strlen(s);
data/vdr-2.4.1/skins.c:128:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(buffer, a, n);
data/vdr-2.4.1/svdrp.c:250: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 Length = strlen(Dgram);
data/vdr-2.4.1/svdrp.c:268:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
           if (write(NewSock, s, strlen(s)) < 0)
data/vdr-2.4.1/svdrp.c:392: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 (safe_write(file, Command, strlen(Command) + 1) < 0) {
data/vdr-2.4.1/svdrp.c:1038:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
           strncpy(topic, HelpPage, n);
data/vdr-2.4.1/svdrp.c:1165: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 (safe_write(file, s, strlen(s)) < 0) {
data/vdr-2.4.1/svdrp.c:1531: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).
     char buf[strlen(Option) + 1];
data/vdr-2.4.1/svdrp.c:1614:48:  [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(FileName, grabImageDir, strlen(grabImageDir)) != 0) {
data/vdr-2.4.1/svdrp.c:1697: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).
     char buf[strlen(Option) + 1];
data/vdr-2.4.1/svdrp.c:1797: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).
     char buf[strlen(Option) + 1];
data/vdr-2.4.1/svdrp.c:1874: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).
     char buf[strlen(Option) + 1];
data/vdr-2.4.1/svdrp.c:1932: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).
     char buf[strlen(Option) + 1];
data/vdr-2.4.1/svdrp.c:2363: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).
     char buf[strlen(Option) + 1];
data/vdr-2.4.1/themes.c:246:70:  [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 (strstr(e->d_name, SkinName) == e->d_name && e->d_name[strlen(SkinName)] == '-') {
data/vdr-2.4.1/timers.c:159:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
     strncpy(file, Timer.file, sizeof(file));
data/vdr-2.4.1/timers.c:219: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(d) == 10) {
data/vdr-2.4.1/timers.c:249: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 ((a && a - s == 7) || strlen(s) == 7) {
data/vdr-2.4.1/timers.c:299: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(s) == 18)
data/vdr-2.4.1/timers.c:319: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).
  int l2 = strlen(s);
data/vdr-2.4.1/tools.c:56:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ssize_t p = read(filedes, buffer, size);
data/vdr-2.4.1/tools.c:117: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).
     int l = max(dest ? strlen(dest) : 0, strlen(src)) + 1; // don't let the block get smaller!
data/vdr-2.4.1/tools.c:117: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).
     int l = max(dest ? strlen(dest) : 0, strlen(src)) + 1; // don't let the block get smaller!
data/vdr-2.4.1/tools.c:157: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).
     int l  = strlen(s);
data/vdr-2.4.1/tools.c:158: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).
     int l1 = strlen(s1);
data/vdr-2.4.1/tools.c:159: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).
     int l2 = strlen(s2);
data/vdr-2.4.1/tools.c:171:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
     strncpy(sof, s2, l2);
data/vdr-2.4.1/tools.c:204: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).
     for (char *p = s + strlen(s) - 1; p >= s; p--) {
data/vdr-2.4.1/tools.c:221: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).
              memmove(p + 1, q, strlen(q) + 1);
data/vdr-2.4.1/tools.c:225: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).
        memmove(s, t, strlen(t) + 1);
data/vdr-2.4.1/tools.c:262:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              buffer = MALLOC(char, 2 * strlen(s) + 1);
data/vdr-2.4.1/tools.c:280: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 l = strlen(name);
data/vdr-2.4.1/tools.c:302: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 l = strlen(s);
data/vdr-2.4.1/tools.c:322: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).
  const char *se = s + strlen(s) - 1;
data/vdr-2.4.1/tools.c:323: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).
  const char *pe = p + strlen(p) - 1;
data/vdr-2.4.1/tools.c:397: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).
     char buf[strlen(s) + 1];
data/vdr-2.4.1/tools.c:872: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).
     return strlen(s);
data/vdr-2.4.1/tools.c:995: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 FromLength = strlen(From);
data/vdr-2.4.1/tools.c:1067:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
     strncpy(s, S, l);
data/vdr-2.4.1/tools.c:1102: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).
  int l1 = strlen(s);
data/vdr-2.4.1/tools.c:1103: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).
  int l2 = strlen(String);
data/vdr-2.4.1/tools.c:1113: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).
  int l = strlen(s);
data/vdr-2.4.1/tools.c:1207: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).
     buffer[strlen(buffer) - 1] = 0; // strip trailing newline
data/vdr-2.4.1/tools.c:1726:38:  [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).
  tempName = fileName ? MALLOC(char, strlen(fileName) + 5) : NULL;
data/vdr-2.4.1/vdr.c:519:56:  [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 (optarg && *optarg && optarg[strlen(optarg) - 1] == '/')
data/vdr-2.4.1/vdr.c:520:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                          optarg[strlen(optarg) - 1] = 0;
data/vdr-2.4.1/videodir.c:166: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).
  char PrefixedName[strlen(FileName) + 2];
data/vdr-2.4.1/videodir.c:168: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).
  const char *p = FileName + strlen(FileName); // p points at the terminating 0
data/vdr-2.4.1/videodir.c:174:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
              strncpy(PrefixedName, FileName, l);

ANALYSIS SUMMARY:

Hits = 882
Lines analyzed = 72818 in approximately 1.73 seconds (42210 lines/second)
Physical Source Lines of Code (SLOC) = 60326
Hits@level = [0] 172 [1] 165 [2] 406 [3]   6 [4] 304 [5]   1
Hits@level+ = [0+] 1054 [1+] 882 [2+] 717 [3+] 311 [4+] 305 [5+]   1
Hits/KSLOC@level+ = [0+] 17.4717 [1+] 14.6206 [2+] 11.8854 [3+] 5.15532 [4+] 5.05586 [5+] 0.0165766
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.