|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-02-26 02:12 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sun Mar 29 17:00:01 2026 UTC |
Description: ------------ Current 5_2 seems to have a buffer overflow this issue is not present in released versions. this can be reproduced with php compiled in debug mode. Reproduce code: --------------- I dont have reproduce code atm, but it is as easy to load phpmyadmin,log-in (auth type cookie) and the error happends inmediately and permanent. Expected result: ---------------- no error Actual result: -------------- Script: '/srv/www/htdocs/sql/index.php' --------------------------------------- /home/cristian/php5/ext/standard/head.c(140) : Block 0x00EA1EC8 status: Beginning: OK (allocated on /home/cristian/php5/main/spprintf.c:222, 79 bytes) Start: OK End: Overflown (magic=0x00000073 instead of 0xBBA15242) At least 4 bytes overflown --------------------------------------- [Sun Feb 25 22:49:43 2007] Script: '/srv/www/htdocs/sql/index.php' --------------------------------------- /home/cristian/php5/ext/standard/head.c(140) : Block 0x010914A8 status: Invalid pointer: ((size=0x000000A9) != (next.prev=0x74617020)) --------------------------------------- hell:~ # rclighttpd restart Shutting down lighttpd done Starting lighttpd done hell:~ # [Sun Feb 25 22:50:07 2007] Script: '/srv/www/htdocs/sql/index.php' --------------------------------------- /home/cristian/php5/ext/standard/head.c(140) : Block 0x00EA1EC8 status: Beginning: OK (allocated on /home/cristian/php5/main/spprintf.c:222, 79 bytes) Start: OK End: Overflown (magic=0x00000073 instead of 0x7B97D628) At least 4 bytes overflown --------------------------------------- [Sun Feb 25 22:50:08 2007] Script: '/srv/www/htdocs/sql/index.php' --------------------------------------- /home/cristian/php5/ext/standard/head.c(140) : Block 0x010914A8 status: Invalid pointer: ((size=0x000000A9) != (next.prev=0x3D687461)) ---------------------------------------