|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-09-30 17:18 UTC] hholzgra@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 28 09:00:01 2025 UTC |
error_log("'%eagle'"); produces in the apache error_log: [Wed Dec 22 11:28:26 1999] [error] '5.318473e-315agle' other printf strings. In a sql statement of length it crashes repeatedly on any query that has a %e %f %g %h %n My guess is error_log is taking from the next set of arguments, the values for %. Thus it is causing a buffer overflow from time to time. though error_log("'%etttt'"); shows the same scientific number as eagle. I have tested this under Redhat 6.0, Apache/1.3.9, PHP 3.0.12. FreeBSd with Apache/1.3.3, PHP 3.0.6, and Redhat 5.1, Red Hat Secure/2.0, PHP3.0.8. a '%%' prints % just fine. I have added a note to the error_log page.