OSDN Git Service

Enhance the security of routines for changing a master password.
[ffftp/ffftp.git] / socketwrapper.c
index caae589..5d45fdf 100644 (file)
@@ -902,7 +902,7 @@ BOOL ConvertDomainNameToPunycode(LPSTR Output, DWORD Count, LPCSTR Input)
                Length = 0;\r
                while(*InputString != '\0')\r
                {\r
-                       *p = (punycode_uint)GetNextCharM(InputString, &InputString);\r
+                       *p = (punycode_uint)GetNextCharM(InputString, NULL, &InputString);\r
                        if(*p >= 0x80)\r
                                bNeeded = TRUE;\r
                        p++;\r