SAT>IP: Fix bad memory access (wrong char array dimension)
This commit is contained in:
parent
a71b2e3001
commit
b8f2fa8461
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ satip_rtsp_setup_find(const char *prefix, tvh2satip_t *tbl,
|
|||
static void
|
||||
satip_rtsp_add_val(const char *name, char *buf, uint32_t val)
|
||||
{
|
||||
char sec[4];
|
||||
char sec[5];
|
||||
|
||||
sprintf(buf + strlen(buf), "&%s=%i", name, val / 1000);
|
||||
if (val % 1000) {
|
||||
|
|
Loading…
Add table
Reference in a new issue