Browse Source

Fix bug #2548.

experimetnal/RETURN_REF_PATCH
Andrei Zmievski 27 years ago
parent
commit
d8868ab205
  1. 2
      ext/zlib/zlib.c

2
ext/zlib/zlib.c

@ -519,7 +519,7 @@ PHP_FUNCTION(gzgetss)
}
/* strlen() can be used here since we are doing it on the return of an fgets() anyway */
_php3_strip_tags(buf, strlen(buf), ZLIBG(gzgetss_state), allow?(*allow)->value.str.val:NULL);
php_strip_tags(buf, strlen(buf), ZLIBG(gzgetss_state), allow?(*allow)->value.str.val:NULL);
RETURN_STRING(buf, 0);
}

Loading…
Cancel
Save