Skip to content

Commit 04418ed

Browse files
committed
Merge branch 'PHP-8.2' into PHP-8.3
2 parents 19ddb5f + 686afc1 commit 04418ed

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ PHP NEWS
22
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
33
?? ??? ????, PHP 8.3.10
44

5+
- Phar:
6+
. Fixed bug GH-14603 (null string from zip entry).
7+
(David Carlier)
8+
59
- PHPDBG:
610
. Fixed bug GH-14596 (crashes with ASAN and ZEND_RC_DEBUG=1).
711
(David Carlier)

ext/phar/tests/gh14603.phpt

1.17 KB
Binary file not shown.

ext/phar/zip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ int phar_parse_zipfile(php_stream *fp, char *fname, size_t fname_len, char *alia
770770
}
771771
}
772772

773-
zend_hash_str_add_ptr(&(PHAR_G(phar_alias_map)), actual_alias, mydata->alias_len, mydata);
773+
zend_hash_str_add_ptr(&(PHAR_G(phar_alias_map)), alias, alias_len, mydata);
774774
mydata->alias = pestrndup(alias, alias_len, mydata->is_persistent);
775775
mydata->alias_len = alias_len;
776776
} else {

0 commit comments

Comments
 (0)