Skip to content

Commit

Permalink
Merge branch 'PHP-8.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen committed Jun 21, 2024
2 parents 6847036 + 04418ed commit c1c2914
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added ext/phar/tests/gh14603.phpt
Binary file not shown.
2 changes: 1 addition & 1 deletion ext/phar/zip.c
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ int phar_parse_zipfile(php_stream *fp, char *fname, size_t fname_len, char *alia
}
}

zend_hash_str_add_ptr(&(PHAR_G(phar_alias_map)), actual_alias, mydata->alias_len, mydata);
zend_hash_str_add_ptr(&(PHAR_G(phar_alias_map)), alias, alias_len, mydata);
mydata->alias = pestrndup(alias, alias_len, mydata->is_persistent);
mydata->alias_len = alias_len;
} else {
Expand Down

0 comments on commit c1c2914

Please sign in to comment.