|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patch phar_tar_writeheaders.patch for PHAR related Bug #77586Patch version 2019-02-08 11:16 UTC Return to Bug #77586 | Download this patchThis patch is obsolete Obsoleted by patches: Patch Revisions:Developer: jordy@simplyhacker.com
--- tar.c 2019-02-08 12:13:02.000000000 +0100
+++ tar_patched.c 2019-02-08 12:13:23.000000000 +0100
@@ -764,7 +764,7 @@
header.typeflag = entry->tar_type;
if (entry->link) {
- strncpy(header.linkname, entry->link, strlen(entry->link));
+ strncpy(header.linkname, entry->link, strlen(header->linkname));
}
strncpy(header.magic, "ustar", sizeof("ustar")-1);
|
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 23:00:01 2025 UTC |