diff options
Diffstat (limited to 'main/php/php-crypt-fix-r315218.patch')
-rw-r--r-- | main/php/php-crypt-fix-r315218.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/main/php/php-crypt-fix-r315218.patch b/main/php/php-crypt-fix-r315218.patch new file mode 100644 index 0000000000..aaf688a2fc --- /dev/null +++ b/main/php/php-crypt-fix-r315218.patch @@ -0,0 +1,13 @@ +Index: php-src/trunk/ext/standard/php_crypt_r.c +=================================================================== +--- trunk/ext/standard/php_crypt_r.c (revision 315217) ++++ trunk/ext/standard/php_crypt_r.c (revision 315218) +@@ -377,7 +377,7 @@ + /* Now make the output string */ + memcpy(passwd, MD5_MAGIC, MD5_MAGIC_LEN); + strlcpy(passwd + MD5_MAGIC_LEN, sp, sl + 1); +- strlcat(passwd, "$", 1); ++ strcat(passwd, "$"); + + PHP_MD5Final(final, &ctx); + |