1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 18:53:33 +02:00

Make static analyzers happy

This commit is contained in:
Rasmus Lerdorf
2011-08-07 15:38:36 +00:00
parent e8281417fd
commit cc19cc8b18
+1 -1
View File
@@ -377,7 +377,7 @@ char * php_md5_crypt_r(const char *pw, const char *salt, char *out)
/* Now make the output string */
memcpy(passwd, MD5_MAGIC, MD5_MAGIC_LEN);
strlcpy(passwd + MD5_MAGIC_LEN, sp, sl + 1);
strcat(passwd, "$");
strncat(passwd, "$", 1);
PHP_MD5Final(final, &ctx);