[php-src] Issue #14141: Phar timestamp is 32-bit
| From: | nielsdos | Date: | Sun, 05 May 2024 14:45:29 +0000 |
| Subject: | [php-src] Issue #14141: Phar timestamp is 32-bit | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-246859@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/14141
Author: nielsdos
### Description
From the definition of the entry info:
```c
typedef struct _phar_entry_info {
/* first bytes are exactly as in file */
uint32_t uncompressed_filesize;
uint32_t timestamp;
```
We can see that the timestamp is 32-bit... This will give problems in the near future and we should
audit Phar's code such that this issue is gone. This might also imply changes to the file
format.
### PHP Version
All
### Operating System
_No response_