From 1b2392f73d091197eedcdc7e0a7ef7ecebc0081b Mon Sep 17 00:00:00 2001 From: ron Date: Fri, 17 Jul 2009 21:56:11 +0000 Subject: [PATCH] Fixed an undeclared variable bug in a currently-unused codepath. --- nselib/msrpctypes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nselib/msrpctypes.lua b/nselib/msrpctypes.lua index c3b651ca6..4eac264b4 100644 --- a/nselib/msrpctypes.lua +++ b/nselib/msrpctypes.lua @@ -2919,7 +2919,7 @@ local function marshall_srvsvc_NetShareInfo2(location, name, sharetype, comment, local max_users = marshall_basetype(location, marshall_int32, {max_users}) local current_users = marshall_basetype(location, marshall_int32, {current_users}) local path = marshall_ptr(location, marshall_unicode, {path, true}, path) - local password = marshall_ptr(location, marshall_password, {password, true}, password) + local password = marshall_ptr(location, marshall_unicode, {password, true}, password) result = name .. sharetype .. comment .. permissions .. max_users .. current_users .. path .. password