diff options
author | pi <pi@FreeBSD.org> | 2014-08-12 02:33:10 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2014-08-12 02:33:10 +0800 |
commit | 889207b53ec0edc04ef9fc1f8df34e4c451d7080 (patch) | |
tree | e5f07605eb18e39cca5bee5a0692a78b48192fce | |
parent | a49a24bec624cb7b7b0940759508c1bccec2d51b (diff) | |
download | freebsd-ports-gnome-889207b53ec0edc04ef9fc1f8df34e4c451d7080.tar.gz freebsd-ports-gnome-889207b53ec0edc04ef9fc1f8df34e4c451d7080.tar.zst freebsd-ports-gnome-889207b53ec0edc04ef9fc1f8df34e4c451d7080.zip |
net/tightvnc: allow null authentication
PR: 182474
Submitted by: peter@rulingia.com
Approved by: meta@vmeta.jp (maintainer timeout)
-rw-r--r-- | net/tightvnc/files/patch-vncviewer__rfbproto.c | 12 |
1 files changed, 12 insertions, 0 deletions
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; + } + |