Commit cfb565bf authored by Claes Sjofors's avatar Claes Sjofors

sev_server bugfix in db creation

parent 5810d699
...@@ -90,7 +90,7 @@ void sev_dbms_env::passwd(const char *passwd) ...@@ -90,7 +90,7 @@ void sev_dbms_env::passwd(const char *passwd)
if (!passwd) if (!passwd)
return; return;
m_passwd = (char *)realloc(m_passwd, strlen(passwd)); m_passwd = (char *)realloc(m_passwd, strlen(passwd)+1);
strcpy(m_passwd, passwd); strcpy(m_passwd, passwd);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment