NULL terminate the parameters array
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
30976c05a4
commit
b468390155
@ -956,6 +956,7 @@ int parse_csv_file(const char *filename, char **params, int pnr, const char *csv
|
||||
tmpbuf[7] = 0;
|
||||
params[pnr++] = "time";
|
||||
params[pnr++] = strdup(tmpbuf);
|
||||
params[pnr++] = NULL;
|
||||
}
|
||||
|
||||
ptr = strstr(mem.buffer, "ZDP");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user