mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue