From f83ff46b6b1e12163a6921b980a56db7a5a48d50 Mon Sep 17 00:00:00 2001 From: default Date: Fri, 23 Dec 2022 12:20:54 +0100 Subject: [PATCH] Fixed crash on some webfinger errors. --- activitypub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activitypub.c b/activitypub.c index dcefa87..17b038f 100644 --- a/activitypub.c +++ b/activitypub.c @@ -620,8 +620,8 @@ d_char *msg_note(snac *snac, char *content, char *rcpts, char *in_reply_to, char to = xs_list_append(to, a); /* add this author to the tag list as a mention */ - xs *t_href; - xs *t_name; + xs *t_href = NULL; + xs *t_name = NULL; if (!xs_is_null(a) && valid_status(webfinger_request(a, &t_href, &t_name))) { xs *t = xs_dict_new();