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-2024 The PHP Group All rights reserved. |
Last updated: Sat Dec 07 03:01:28 2024 UTC |