mirror of
https://github.com/php/php-src.git
synced 2024-11-28 04:14:26 +08:00
- Fixed bug #53568 (swapped memset arguments in struct initialization).
This commit is contained in:
parent
9cb1b1e948
commit
2070f153f9
4
NEWS
4
NEWS
@ -64,6 +64,10 @@
|
||||
- Streams:
|
||||
. Implemented FR #26158 (open arbitrary file descriptor with fopen). (Gustavo)
|
||||
|
||||
- Zip extension
|
||||
. Fixed bug #53568 (swapped memset arguments in struct initialization).
|
||||
(crrodriguez at opensuse dot org)
|
||||
|
||||
|
||||
09 Dec 2010, PHP 5.3.4
|
||||
- Upgraded bundled Sqlite3 to version 3.7.3. (Ilia)
|
||||
|
@ -473,10 +473,8 @@ _zip_dirent_write(struct zip_dirent *zde, FILE *fp, int localp,
|
||||
static time_t
|
||||
_zip_d2u_time(int dtime, int ddate)
|
||||
{
|
||||
struct tm tm;
|
||||
struct tm tm = {0};
|
||||
|
||||
memset(&tm, sizeof(tm), 0);
|
||||
|
||||
/* let mktime decide if DST is in effect */
|
||||
tm.tm_isdst = -1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user