packages: php/php-crypt-bugfix-55439.patch (NEW) - fix bug 55439 (crypt() r...
adamg
adamg at pld-linux.org
Mon Aug 22 21:05:27 CEST 2011
Author: adamg Date: Mon Aug 22 19:05:27 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- fix bug 55439 (crypt() returns only the salt for MD5); release 2
---- Files affected:
packages/php:
php-crypt-bugfix-55439.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/php/php-crypt-bugfix-55439.patch
diff -u /dev/null packages/php/php-crypt-bugfix-55439.patch:1.1
--- /dev/null Mon Aug 22 21:05:27 2011
+++ packages/php/php-crypt-bugfix-55439.patch Mon Aug 22 21:05:22 2011
@@ -0,0 +1,11 @@
+--- PHP_5_3/ext/standard/php_crypt_r.c 2011/08/19 22:45:43 315217
++++ PHP_5_3/ext/standard/php_crypt_r.c 2011/08/19 22:49:18 315218
+@@ -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);
+
================================================================
More information about the pld-cvs-commit
mailing list