From 2ea7d06455254ad6da3707880be55752dd653521 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky <iliaa@php.net> Date: Fri, 4 Apr 2003 00:29:37 +0000 Subject: [PATCH] Fixed segv as well as info about new segvs in gd. --- TODO_SEGFAULTS | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/TODO_SEGFAULTS b/TODO_SEGFAULTS index 888361a0e9..c85f861fa7 100644 --- a/TODO_SEGFAULTS +++ b/TODO_SEGFAULTS @@ -9,10 +9,11 @@ Fixed: exif_imagetype,exif_thumbnail (Rasmus) dbase_open (Rasmus) array_pad (Rasmus) - str_repeat (Ilia) setlocale (Rasmus) unregister_tick_function (Rasmus) bcsub (Rasmus) + str_repeat (Ilia) + imagecopyresized (Ilia) mb_ereg, mb_ereg_match, mb_eregi, mb_split (Moriyoshi) xml_parser_create (Moriyoshi) ob_start (Sascha) @@ -26,6 +27,7 @@ Open: mb_strcut('', 2147483647); (2) chunk_split (3) socket_select (4) + php_imagepolygon (5) (1) heap corruption, mostly visible in malloc-related calls. Whether you see this or not might depend on your libc/compiler. Hard to track down, @@ -74,7 +76,8 @@ Methodology echo dbase_open | php do_crash.txt - +(5) integer overflow inside php_imagepolygon and possible subsequent + integer overflows inside gdlib's gdImageFilledPolygon(). Ammendment 1. -- 2.40.0