Edit report at http://bugs.php.net/bug.php?id=53690&edit=1

 ID:                 53690
 Updated by:         [email protected]
 Reported by:        anthon dot pang at gmail dot com
 Summary:            5.2svn: swapped memset arguments in struct
                     initialization
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            Zip Related
 Operating System:   Linux
 PHP Version:        5.2SVN-2011-01-08 (SVN)
-Assigned To:        
+Assigned To:        felipe
 Block user comment: N
 Private report:     N

 New Comment:

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.




Previous Comments:
------------------------------------------------------------------------
[2011-01-08 02:35:34] 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







------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=53690&edit=1

Reply via email to