diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-05-16 15:13:47 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-05-16 15:13:47 +0000 |
commit | 7e2a99d0916f3d5fd398a39028e49f2a0df68f3a (patch) | |
tree | b021e5123aa6d8aa55f98aa8598bcdb19bd3308d | |
parent | 27b8c453b9c9f1cd3818cfca8923c16f67cffb1d (diff) | |
download | php-git-7e2a99d0916f3d5fd398a39028e49f2a0df68f3a.tar.gz |
Fixed bug #23657 (Missing initialization in browscap module init)
-rw-r--r-- | ext/standard/browscap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/browscap.c b/ext/standard/browscap.c index e1a398f942..40c44ebdee 100644 --- a/ext/standard/browscap.c +++ b/ext/standard/browscap.c @@ -156,6 +156,8 @@ PHP_MINIT_FUNCTION(browscap) } fh.handle.fp = VCWD_FOPEN(browscap, "r"); + fh.opened_path = NULL; + fh.free_filename = 0; if (!fh.handle.fp) { php_error_docref(NULL TSRMLS_CC, E_CORE_WARNING, "Cannot open '%s' for reading", browscap); return FAILURE; |