---
attrib/interactive.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/attrib/interactive.c b/attrib/interactive.c
index 52edeac..a171833 100644
--- a/attrib/interactive.c
+++ b/attrib/interactive.c
@@ -698,7 +698,9 @@ int interactive(gchar *dst, int psm)
opt_sec_level = strdup("low");
- opt_dst = strdup(dst);
+ if (dst)
+ opt_dst = strdup(dst);
+
opt_psm = psm;
prompt = g_string_new(NULL);
--
1.7.1