epggrab: eit - coverity fix
This commit is contained in:
parent
a90285c03d
commit
6d594118d1
1 changed files with 1 additions and 0 deletions
|
@ -367,6 +367,7 @@ static int _eit_desc_crid
|
|||
if (crid) {
|
||||
if (strstr(buf, "crid://") == buf) {
|
||||
strncpy(crid, buf, clen);
|
||||
crid[clen-1] = '\0';
|
||||
} else if ( *buf != '/' ) {
|
||||
snprintf(crid, clen, "crid://%s", buf);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue