mirror of
https://github.com/php/php-src.git
synced 2026-03-29 11:42:17 +02:00
@- Fixed crash in gzopen(). (Thies)
# hmm - this should be rethought as one should be able to do
# gzopen("http://..")
This commit is contained in:
@@ -153,8 +153,9 @@ PHP_MINFO_FUNCTION(zlib)
|
||||
static gzFile php_gzopen_wrapper(char *path, char *mode, int options)
|
||||
{
|
||||
FILE *f;
|
||||
int issock=0, socketd=0;
|
||||
|
||||
f = php_fopen_wrapper(path, mode, options, NULL, NULL, NULL);
|
||||
f = php_fopen_wrapper(path, mode, options, &issock, &socketd, NULL);
|
||||
|
||||
if (!f) {
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user