]> git.pld-linux.org Git - packages/php.git/blobdiff - php-crypt-null.patch
- rel 13; fix php bug 68486 visible under apache 2.4
[packages/php.git] / php-crypt-null.patch
index ee02006281d6d65cb5997d5cdd6ba0a7ce29fbd8..9cf79d070e9651c5303b523d2720ded1ce5eaeba 100644 (file)
@@ -1,5 +1,13 @@
 --- php-5.2.17/ext/standard/crypt.c~   2013-03-25 17:26:27.000000000 +0100
 +++ php-5.2.17/ext/standard/crypt.c    2013-03-25 17:27:42.866436012 +0100
+@@ -118,6 +118,7 @@
+    Encrypt a string */
+ PHP_FUNCTION(crypt)
+ {
++      char *crypt_res;
+       char salt[PHP_MAX_SALT_LEN+1];
+       char *str, *salt_in = NULL;
+       int str_len, salt_in_len;
 @@ -163,7 +163,12 @@
                RETURN_STRING(crypt_r(str, salt, &buffer), 1);
        }
This page took 0.042394 seconds and 4 git commands to generate.