Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler. Number of rules (primarily dangerous function names) in C/C++ ruleset: 223 Examining data/vdr-plugin-infosatepg-0.0.12/filter.h Examining data/vdr-plugin-infosatepg-0.0.12/global.h Examining data/vdr-plugin-infosatepg-0.0.12/status.h Examining data/vdr-plugin-infosatepg-0.0.12/filter.cpp Examining data/vdr-plugin-infosatepg-0.0.12/readline.h Examining data/vdr-plugin-infosatepg-0.0.12/setup.cpp Examining data/vdr-plugin-infosatepg-0.0.12/process.h Examining data/vdr-plugin-infosatepg-0.0.12/infosatepg.cpp Examining data/vdr-plugin-infosatepg-0.0.12/status.cpp Examining data/vdr-plugin-infosatepg-0.0.12/setup.h Examining data/vdr-plugin-infosatepg-0.0.12/global.cpp Examining data/vdr-plugin-infosatepg-0.0.12/infosatepg.h Examining data/vdr-plugin-infosatepg-0.0.12/readline.cpp Examining data/vdr-plugin-infosatepg-0.0.12/process.cpp FINAL RESULTS: data/vdr-plugin-infosatepg-0.0.12/filter.cpp:203:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(file,"%s/%03i.dat",dir,pktnr); data/vdr-plugin-infosatepg-0.0.12/global.cpp:26:9: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (access(file,R_OK | W_OK)==0) data/vdr-plugin-infosatepg-0.0.12/global.cpp:97: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(file,R_OK | W_OK)==-1) data/vdr-plugin-infosatepg-0.0.12/global.cpp:183:9: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (access (Directory,W_OK | R_OK | X_OK) ==-1) data/vdr-plugin-infosatepg-0.0.12/global.cpp:191: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 (Directory,W_OK | R_OK| X_OK) ==-1) return false; data/vdr-plugin-infosatepg-0.0.12/infosatepg.cpp:373:31: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. cString head=cString::sprintf("InfosatEPG state:\n Switched: %s",global->Switched() ? "yes" : "no"); data/vdr-plugin-infosatepg-0.0.12/infosatepg.cpp:378:26: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. lcc=cString::sprintf(" Switchback to: %i\n", global->LastCurrentChannel); data/vdr-plugin-infosatepg-0.0.12/infosatepg.cpp:387:27: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. rall=cString::sprintf(" Received all: yes (%02i.%02i.)",day,month); data/vdr-plugin-infosatepg-0.0.12/infosatepg.cpp:392:23: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. pall=cString::sprintf(" Processed all: %s\n Prevent shutdown until ready: %s\n", data/vdr-plugin-infosatepg-0.0.12/infosatepg.cpp:400:26: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. wut=cString::sprintf(" WakeupTime: %s %s",ctime(&wakeup),global->NoWakeup ? "(blocked)" : ""); data/vdr-plugin-infosatepg-0.0.12/infosatepg.cpp:417:27: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. mstr=cString::sprintf("%c %i | %02i.%02i. | %3i | %3i | %s | %3i\n", data/vdr-plugin-infosatepg-0.0.12/infosatepg.cpp:427:25: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. output=cString::sprintf("%s%s%s%s%s%s%s",*head,*lcc,*rall,*pall,*wut,*head2,fmstr); data/vdr-plugin-infosatepg-0.0.12/process.cpp:24:9: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(dest, src); data/vdr-plugin-infosatepg-0.0.12/process.cpp:29: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-plugin-infosatepg-0.0.12/process.cpp:660: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(file,R_OK)==-1) data/vdr-plugin-infosatepg-0.0.12/setup.cpp:26:31: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. cString buffer = cString::sprintf("%s:\t%s",tr("Source"), "S19.2E"); // just for info data/vdr-plugin-infosatepg-0.0.12/setup.cpp:36:27: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. buffer = cString::sprintf("-> %s:\t%i",tr("Using channel"), global->Channel()); data/vdr-plugin-infosatepg-0.0.12/setup.cpp:40:27: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. buffer = cString::sprintf("-> %s:\t%s",tr("Using channel"),tr("none")); data/vdr-plugin-infosatepg-0.0.12/setup.cpp:63:39: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. cString buffer = cString::sprintf ("%s:\t%s",chan->Name(),chanuse ? tr ("used") : ""); data/vdr-plugin-infosatepg-0.0.12/setup.cpp:71:31: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. cString buffer = cString::sprintf("---- %s ----", s); data/vdr-plugin-infosatepg-0.0.12/setup.cpp:124:43: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. cString buffer = cString::sprintf ("%s:\t%s",chan->Name(),chanuse ? tr ("used") : ""); data/vdr-plugin-infosatepg-0.0.12/setup.cpp:184:31: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. cString buffer = cString::sprintf("---- %s ----", channel->Name()); data/vdr-plugin-infosatepg-0.0.12/setup.cpp:204:29: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. cString name = cString::sprintf("Channel-%s",*ChannelID); data/vdr-plugin-infosatepg-0.0.12/infosatepg.cpp:67:17: [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-plugin-infosatepg-0.0.12/filter.cpp:147: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 file[1024]; data/vdr-plugin-infosatepg-0.0.12/filter.cpp:179: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(file,O_RDWR|O_CREAT,0664); data/vdr-plugin-infosatepg-0.0.12/filter.cpp:204:7: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). f=open(file,O_RDWR|O_CREAT,0664); data/vdr-plugin-infosatepg-0.0.12/global.cpp:110: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 file[1024]; data/vdr-plugin-infosatepg-0.0.12/global.cpp:288: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 file[1024]; data/vdr-plugin-infosatepg-0.0.12/global.cpp:291: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 (file,O_RDWR|O_CREAT|O_TRUNC,0664); data/vdr-plugin-infosatepg-0.0.12/global.cpp:331: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 file[1024]; data/vdr-plugin-infosatepg-0.0.12/global.cpp:334: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 (file,O_RDONLY); data/vdr-plugin-infosatepg-0.0.12/global.h:40: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 file[1024]; data/vdr-plugin-infosatepg-0.0.12/infosatepg.cpp:281:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char buffer[1024]; data/vdr-plugin-infosatepg-0.0.12/infosatepg.cpp:301:51: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (!strcasecmp(Name,"Pid")) global->Pid=atoi(Value); data/vdr-plugin-infosatepg-0.0.12/infosatepg.cpp:302:63: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). else if (!strcasecmp(Name,"Frequency")) global->Frequency=atoi(Value); data/vdr-plugin-infosatepg-0.0.12/infosatepg.cpp:303:69: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). else if (!strcasecmp(Name,"Polarization")) global->Polarization=atoi(Value); data/vdr-plugin-infosatepg-0.0.12/infosatepg.cpp:304:55: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if 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,"Srate")) global->Srate=atoi(Value); data/vdr-plugin-infosatepg-0.0.12/infosatepg.cpp:305:61: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). else if (!strcasecmp(Name,"NoWakeup")) global->NoWakeup=atoi(Value); data/vdr-plugin-infosatepg-0.0.12/infosatepg.cpp:306:81: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if 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,"NoDeferredShutdown")) global->NoDeferredShutdown=atoi(Value); data/vdr-plugin-infosatepg-0.0.12/infosatepg.cpp:307:69: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). else if (!strcasecmp(Name,"HideMainMenu")) global->HideMainMenu=atoi(Value); data/vdr-plugin-infosatepg-0.0.12/infosatepg.cpp:308:61: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). else if (!strcasecmp(Name,"WaitTime")) global->WaitTime=atoi(Value); data/vdr-plugin-infosatepg-0.0.12/infosatepg.cpp:314:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if 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 val=atoi(Value); data/vdr-plugin-infosatepg-0.0.12/process.cpp:523: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 fmt[100]; data/vdr-plugin-infosatepg-0.0.12/process.cpp:553:9: [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(fmt,"Year: %i\n",year); data/vdr-plugin-infosatepg-0.0.12/process.cpp:570:9: [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(fmt,"FSK: %i\n",fsk); data/vdr-plugin-infosatepg-0.0.12/process.cpp:633:7: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). f=fopen(file,"r"); data/vdr-plugin-infosatepg-0.0.12/process.cpp:1240: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). ievent->SetYear(atoi(pCY)); data/vdr-plugin-infosatepg-0.0.12/process.cpp:1251:40: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int year = atoi(pSP); data/vdr-plugin-infosatepg-0.0.12/process.cpp:1262: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). year=atoi(s); data/vdr-plugin-infosatepg-0.0.12/process.cpp:1278:40: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ievent->SetDuration(60*atoi(s)); data/vdr-plugin-infosatepg-0.0.12/global.cpp:74:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t ret=read (fd,&receivedall,sizeof (receivedall)); data/vdr-plugin-infosatepg-0.0.12/global.cpp:76:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret=read (fd,&receivedpercent,sizeof(receivedpercent)); data/vdr-plugin-infosatepg-0.0.12/global.cpp:78:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret=read (fd,&Processed,sizeof (Processed)); data/vdr-plugin-infosatepg-0.0.12/global.cpp:80:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret=read (fd,&day,sizeof (day)); data/vdr-plugin-infosatepg-0.0.12/global.cpp:82:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret=read (fd,&month,sizeof (month)); data/vdr-plugin-infosatepg-0.0.12/global.cpp:84:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret=read (fd,&pktcnt,sizeof (pktcnt)); data/vdr-plugin-infosatepg-0.0.12/global.cpp:86:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret=read (fd,&missed,sizeof (missed)); data/vdr-plugin-infosatepg-0.0.12/global.cpp:88:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret=read (fd,&Unlocated,sizeof (Unlocated)); data/vdr-plugin-infosatepg-0.0.12/global.cpp:90:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret=read (fd,&bitfield,sizeof (bitfield)); data/vdr-plugin-infosatepg-0.0.12/global.cpp:92:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret=read (fd,&file,sizeof (file)); data/vdr-plugin-infosatepg-0.0.12/global.cpp:345:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret=read (f,&this_day,sizeof (this_day)); data/vdr-plugin-infosatepg-0.0.12/global.cpp:350:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret=read (f,&this_month,sizeof (this_month)); data/vdr-plugin-infosatepg-0.0.12/global.cpp:355:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret=read (f,&wakeuptime,sizeof (wakeuptime)); data/vdr-plugin-infosatepg-0.0.12/infosatepg.cpp:311: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). if (strlen(Name)<10) return false; data/vdr-plugin-infosatepg-0.0.12/process.cpp:20: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). size_t l = (dest ? strlen(dest) : 0) + strlen(src) + 1; data/vdr-plugin-infosatepg-0.0.12/process.cpp:20:44: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t l = (dest ? strlen(dest) : 0) + strlen(src) + 1; data/vdr-plugin-infosatepg-0.0.12/process.cpp:600: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(extepg); data/vdr-plugin-infosatepg-0.0.12/process.cpp:803: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). if (strlen(iDescr)>strlen(oDescr)) data/vdr-plugin-infosatepg-0.0.12/process.cpp:803:40: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(iDescr)>strlen(oDescr)) data/vdr-plugin-infosatepg-0.0.12/process.cpp:985: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)==16) && (!strcmp(s,"Erstausstrahlung"))) data/vdr-plugin-infosatepg-0.0.12/process.cpp:989: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). else if ((strlen(s)==20) && (!strcmp(s,"Deutschland-Premiere"))) data/vdr-plugin-infosatepg-0.0.12/process.cpp:993: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). else if ((strlen(s)>=16) && (!strncmp(s,"Free-TV-Premiere",16))) data/vdr-plugin-infosatepg-0.0.12/process.cpp:997: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). else if ((strlen(s)>=9) && (!strncmp(s,"Highlight",9))) data/vdr-plugin-infosatepg-0.0.12/process.cpp:1001: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). else if ((strlen(s)>=9) && (!strncmp(s,"TAGESTIPP",9))) data/vdr-plugin-infosatepg-0.0.12/process.cpp:1005: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). else if ((strlen(s)>=10) && (!strncmp(s,"Tagestipp!",10))) data/vdr-plugin-infosatepg-0.0.12/process.cpp:1009: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). else if ((strlen(s)>=10) && (!strncmp(s,"Start der ",10))) data/vdr-plugin-infosatepg-0.0.12/process.cpp:1013: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). else if ((strlen(s)>=15) && (!strncmp(s,"CARTOON NETWORK",15))) data/vdr-plugin-infosatepg-0.0.12/process.cpp:1017: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). else if ((strlen(s)>=11) && (!strncmp(s,"SAT.1-SERIE",11))) data/vdr-plugin-infosatepg-0.0.12/process.cpp:1022: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). else if ((strlen(s)>=16) && (!strncmp(s,"kabel eins Trick",16))) data/vdr-plugin-infosatepg-0.0.12/process.cpp:1026: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). else if ((strlen(s)>=5) && (!strncmp(s,"JETIX",5))) data/vdr-plugin-infosatepg-0.0.12/process.cpp:1030: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). else if ((strlen(s)>=11) && (!strncmp(s,"DISNEY TIME",11))) data/vdr-plugin-infosatepg-0.0.12/process.cpp:1145: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). title = (char *)malloc(strlen(s)); data/vdr-plugin-infosatepg-0.0.12/process.cpp:1177: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). ievent->SetEventID(DoSum(ieventnr++,ievent->Title(),strlen(ievent->Title()))); data/vdr-plugin-infosatepg-0.0.12/process.cpp:1274: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). len=strlen(s); data/vdr-plugin-infosatepg-0.0.12/readline.cpp:61: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). while ((n = strlen(tempbuffer)) >= tempsize - 1 && ANALYSIS SUMMARY: Hits = 86 Lines analyzed = 3587 in approximately 0.09 seconds (41154 lines/second) Physical Source Lines of Code (SLOC) = 3035 Hits@level = [0] 12 [1] 35 [2] 27 [3] 1 [4] 23 [5] 0 Hits@level+ = [0+] 98 [1+] 86 [2+] 51 [3+] 24 [4+] 23 [5+] 0 Hits/KSLOC@level+ = [0+] 32.29 [1+] 28.3361 [2+] 16.804 [3+] 7.90774 [4+] 7.57825 [5+] 0 Dot directories skipped = 1 (--followdotdir overrides) Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code! See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.