php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53690 5.2svn: swapped memset arguments in struct initialization
Submitted: 2011-01-08 02:35 UTC Modified: 2011-01-11 21:55 UTC
From: anthon dot pang at gmail dot com Assigned: felipe (profile)
Status: Closed Package: Zip Related
PHP Version: 5.2SVN-2011-01-08 (SVN) OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: anthon dot pang at gmail dot com
New email:
PHP Version: OS:

 

 [2011-01-08 02:35 UTC] anthon dot pang at gmail dot com
Description:
------------
This is already fixed in 5.3svn (see bug #53568).

Please backport the fix to 5.2svn:

    memset(&tm, sizeof(tm), 0);

causes:

ext/zip/lib/zip_dirent.o: In function `memset':
/usr/include/bits/string3.h:83: warning: memset used with constant zero length parameter; this could be due to transposed parameters




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-11 21:55 UTC] felipe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: felipe
 [2011-01-11 21:55 UTC] felipe@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 09:01:28 2024 UTC