aboutsummaryrefslogtreecommitdiffstats
path: root/lang/php53
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php53')
-rw-r--r--lang/php53/files/patch-ext_standard_php_crypt_r.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/php53/files/patch-ext_standard_php_crypt_r.c b/lang/php53/files/patch-ext_standard_php_crypt_r.c
new file mode 100644
index 000000000000..e2e5ed8e04ae
--- /dev/null
+++ b/lang/php53/files/patch-ext_standard_php_crypt_r.c
@@ -0,0 +1,11 @@
+--- ext/standard/php_crypt_r.c.orig 2011-08-22 09:54:16.000000000 +0200
++++ ext/standard/php_crypt_r.c 2011-08-22 09:54:49.000000000 +0200
+@@ -382,7 +382,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);
+