From 64f11677cbdf27cd0e47b911464d04f00d6b9ba4 Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Mon, 11 Aug 2014 18:33:10 +0000 Subject: [PATCH] net/tightvnc: allow null authentication PR: 182474 Submitted by: peter@rulingia.com Approved by: meta@vmeta.jp (maintainer timeout) --- net/tightvnc/files/patch-vncviewer__rfbproto.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 net/tightvnc/files/patch-vncviewer__rfbproto.c diff --git a/net/tightvnc/files/patch-vncviewer__rfbproto.c b/net/tightvnc/files/patch-vncviewer__rfbproto.c new file mode 100644 index 000000000000..fa93af733cb0 --- /dev/null +++ b/net/tightvnc/files/patch-vncviewer__rfbproto.c @@ -0,0 +1,12 @@ +--- vncviewer/rfbproto.c~ 2006-12-08 18:20:03.000000000 +1100 ++++ vncviewer/rfbproto.c 2013-09-29 09:19:34.782746129 +1000 +@@ -569,7 +569,7 @@ + passwd = getpass("Password: "); + } + +- if (!passwd || strlen(passwd) == 0) { ++ if (!passwd) { + fprintf(stderr, "Reading password failed\n"); + return False; + } +