From 7ce92c68df276c4321525c2f754ffe2deb9eb920 Mon Sep 17 00:00:00 2001 From: nnposter Date: Sun, 8 Sep 2019 01:47:11 +0000 Subject: [PATCH] Another instance of the same bug as in r37734 --- nselib/vnc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nselib/vnc.lua b/nselib/vnc.lua index 8b7cbc4d9..3f706173c 100644 --- a/nselib/vnc.lua +++ b/nselib/vnc.lua @@ -552,7 +552,7 @@ VNC = { return false, "ERROR: VNC:handshake failed to receive security data" end for i=1, vncsec.count do - table.insert( vncsec.types, string.unpack("B", tmp, i) ) + table.insert( vncsec.types, (string.unpack("B", tmp, i)) ) end self.vncsec = vncsec return true