We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3624a9c commit 20eb8e4Copy full SHA for 20eb8e4
NEWS
@@ -31,6 +31,9 @@ PHP NEWS
31
. Fixed bug #49634 (Segfault throwing an exception in a XSL registered
32
function). (Mike)
33
34
+- ZIP:
35
+ . Fixed Bug #66321 (ZipArchive::open() ze_obj->filename_len not real). (Remi)
36
+
37
12 Dec 2013, PHP 5.4.23
38
39
- Core:
ext/zip/php_zip.c
@@ -1537,7 +1537,7 @@ static ZIPARCHIVE_METHOD(open)
1537
RETURN_LONG((long)err);
1538
}
1539
ze_obj->filename = estrdup(resolved_path);
1540
- ze_obj->filename_len = filename_len;
+ ze_obj->filename_len = strlen(resolved_path);
1541
ze_obj->za = intern;
1542
RETURN_TRUE;
1543
0 commit comments