com php-src: Fix bug #75279: ext/standard/dl.c
| From: | Xinchen Hui | Date: | Fri, 29 Sep 2017 12:33:54 +0000 |
| Subject: | com php-src: Fix bug #75279: ext/standard/dl.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99586@lists.php.net to get a copy of this message | ||
Commit: 8d87f6f6ddd80bd342590d6ca246d7cdd565b0c3
Author: Peter Kokot <peterkokot@gmail.com> Fri, 29 Sep 2017 03:06:16 +0200
Parents: a93fe32c1afad44ddcc1e67c3b65a2a6a16c7158
Branches: PHP-7.2 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8d87f6f6ddd80bd342590d6ca246d7cdd565b0c3
Log:
Fix bug #75279
Bugs:
https://bugs.php.net/75279
Changed paths:
M ext/standard/dl.c
Diff:
diff --git a/ext/standard/dl.c b/ext/standard/dl.c
index f740792..61cc77b 100644
--- a/ext/standard/dl.c
+++ b/ext/standard/dl.c
@@ -110,7 +110,7 @@ PHPAPI int php_load_extension(char *filename, int type, int start_now)
char *libpath;
zend_module_entry *module_entry;
zend_module_entry *(*get_module)(void);
- int error_type, slash_suffix = NULL;
+ int error_type, slash_suffix = 0;
char *extension_dir;
char *err1, *err2;