From: Mark Wooding Date: Sat, 26 Oct 2019 14:51:22 +0000 (+0100) Subject: progs/pixie.c: Don't crash when trying to set an empty passphrase. X-Git-Tag: 2.4.5~9 X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/commitdiff_plain/912ebbc5f3e9f9485c476a34566c62ad11b8daa3 progs/pixie.c: Don't crash when trying to set an empty passphrase. --- diff --git a/progs/pixie.c b/progs/pixie.c index 7694d74d..3fd32081 100644 --- a/progs/pixie.c +++ b/progs/pixie.c @@ -775,7 +775,7 @@ OK\n\ goto close; } else { p_flush(tag); - p_add(tag, s, t); + p_add(tag, s ? s : "", t); if (pixserv_write(px, "OK\n")) goto close; } }