From 6dcba6bb2c8f8d96093d0942bb59dece22fdf7ac Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 14 Jun 2024 18:17:59 +0200 Subject: Merging upstream version 3.3.6. Signed-off-by: Daniel Baumann --- src/utils/kdig/kdig_params.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/kdig') diff --git a/src/utils/kdig/kdig_params.c b/src/utils/kdig/kdig_params.c index 310e890..c8fd83f 100644 --- a/src/utils/kdig/kdig_params.c +++ b/src/utils/kdig/kdig_params.c @@ -1982,7 +1982,7 @@ static int parse_name(const char *value, list_t *queries, const query_t *conf) char *ascii_name = (char *)value; char *fqd_name = NULL; - if (value != NULL) { + if (value != NULL && value[0] != '\0') { if (conf->idn) { ascii_name = name_from_idn(value); if (ascii_name == NULL) { -- cgit v1.2.3