Skip to content

Commit

Permalink
Merge pull request freifunk-gluon#2624 from freifunk-gluon/backport-2…
Browse files Browse the repository at this point in the history
…594-to-v2021.1.x
  • Loading branch information
mweinelt authored Aug 29, 2022
2 parents 0c17f5f + 77dfea9 commit f1f7f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/gluon-mesh-vpn-fastd/src/respondd.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ static struct json_object * get_fastd_version(void) {
}

const char *version = line;
if (strncmp(version, "fastd ", 6) == 0)
if (version && strncmp(version, "fastd ", 6) == 0)
version += 6;

struct json_object *ret = gluonutil_wrap_string(version);
Expand Down

0 comments on commit f1f7f61

Please sign in to comment.