#35978 [Opn->Fbk]: %n format string specifier wrongly implemented
| From: | tony2001@php.net | Date: | Thu, 12 Jan 2006 13:22:51 +0000 |
| Subject: | #35978 [Opn->Fbk]: %n format string specifier wrongly implemented | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-91799@lists.php.net to get a copy of this message | ||
ID: 35978
Updated by: tony2001@php.net
Reported By: sesser@php.net
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: irrelevant
PHP Version: 6CVS-2006-01-12 (CVS)
Assigned To: helly
New Comment:
Reproduce case and gdb backtrace are highly welcome.
Previous Comments:
------------------------------------------------------------------------
[2006-01-12 14:12:32] sesser@php.net
Description:
------------
%n is wrongly implemented in our low level printf functions.
When %n is used, it does not only write the char counter but also
agains outputs whatever is in the current string buffer. => crash when
%n is used first.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35978&edit=1