diff options
author | Omar Polo <op@omarpolo.com> | 2021-01-31 11:50:01 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-01-31 11:50:01 +0000 |
commit | 57d0d0adba61856956191554a9624334f083c2f6 (patch) | |
tree | 1f84dd83c9472d9cbe75e6a9587cb0616427bba7 /iri.c | |
parent | ee29b5a63bbb03e6ff7fe1890f05caa9ccb75cff (diff) |
ensure iri.host isn't NULL
Diffstat (limited to 'iri.c')
-rw-r--r-- | iri.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -350,6 +350,7 @@ parse_iri(char *iri, struct iri *ret, const char **err_ret) /* initialize optional stuff to the empty string */ end = iri + strlen(iri); + p.parsed->host = end; p.parsed->port = end; p.parsed->path = end; p.parsed->query = end; |