From f35f07fa83774826e643aa25d48d1fea6d3bb1c8 Mon Sep 17 00:00:00 2001 From: Egor Date: Tue, 21 Jan 2025 05:36:29 +0200 Subject: [PATCH] crypt_blowfish.c: don't return a string literal --- src/crypt_blowfish.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypt_blowfish.c b/src/crypt_blowfish.c index b586978..db7d2be 100644 --- a/src/crypt_blowfish.c +++ b/src/crypt_blowfish.c @@ -804,5 +804,5 @@ char *crypt_blowfish(const char *key, const char *setting, char *output) if (ok && retval) return retval; - return "*"; + return strcpy(output, "*"); } -- 2.56.0