From 2ed2a2ef4a6240f1828377c351378d0f0656dfa1 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Wed, 8 Dec 2010 16:04:23 +0200 Subject: [PATCH] =?utf8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD?= =?utf8?q?=D0=BE=20=D0=BE=D0=B1=D0=BD=D1=83=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5?= =?utf8?q?=20=D0=B1=D1=83=D1=84=D0=B5=D1=80=D0=B0=20=D0=BF=D0=B5=D1=80?= =?utf8?q?=D0=B5=D0=B4=20=D0=B7=D0=B0=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5=D0=BD?= =?utf8?q?=D0=B8=D0=B5=D0=BC=20=D0=B5=D0=B3=D0=BE=20=D1=81=D1=82=D1=80?= =?utf8?q?=D0=BE=D0=BA=D0=BE=D0=B9=20=D1=81=20=D0=BF=D0=B0=D1=80=D0=BE?= =?utf8?q?=D0=BB=D0=B5=D0=BC=20=D0=B2=20=D0=B1=D0=B8=D0=B1=D0=BB=D0=B8?= =?utf8?q?=D0=BE=D1=82=D0=B5=D0=BA=D0=B5=20=D0=B4=D0=BB=D1=8F=20=D1=80?= =?utf8?q?=D0=B0=D0=B1=D0=BE=D1=82=D1=8B=20=D1=81=20=D0=BF=D1=80=D0=BE?= =?utf8?q?=D1=82=D0=BE=D0=BA=D0=BE=D0=BB=D0=BE=D0=BC=20=D0=BA=D0=BE=D0=BD?= =?utf8?q?=D1=84=D0=B8=D0=B3=D1=83=D1=80=D0=B0=D1=82=D0=BE=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- stglibs/srvconf.lib/netunit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/stglibs/srvconf.lib/netunit.cpp b/stglibs/srvconf.lib/netunit.cpp index 417db9d3..63bb8861 100644 --- a/stglibs/srvconf.lib/netunit.cpp +++ b/stglibs/srvconf.lib/netunit.cpp @@ -402,6 +402,7 @@ char buff[ENC_MSG_LEN]; char buffS[ENC_MSG_LEN]; char passwd[ADM_PASSWD_LEN]; +memset(passwd, 0, ADM_PASSWD_LEN); strncpy(passwd, password, ADM_PASSWD_LEN); memset(buff, 0, ENC_MSG_LEN); -- 2.44.2