mirror of
https://github.com/php/php-src.git
synced 2025-08-16 22:18:50 +02:00
Improve fix for #72520
This commit is contained in:
parent
7521149193
commit
8ebdb1f5fd
1 changed files with 2 additions and 2 deletions
|
@ -101,13 +101,13 @@ static int php_zip_ops_stat(php_stream *stream, php_stream_statbuf *ssb TSRMLS_D
|
|||
{
|
||||
struct zip_stat sb;
|
||||
const char *path = stream->orig_path;
|
||||
int path_len = strlen(stream->orig_path);
|
||||
size_t path_len = strlen(stream->orig_path);
|
||||
char *file_basename;
|
||||
size_t file_basename_len;
|
||||
char file_dirname[MAXPATHLEN];
|
||||
struct zip *za;
|
||||
char *fragment;
|
||||
int fragment_len;
|
||||
size_t fragment_len;
|
||||
int err;
|
||||
|
||||
fragment = strchr(path, '#');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue