|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-06-17 08:38 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 16:00:01 2025 UTC |
Description: ------------ because below codes char *next is always NULL. Reproduce code: --------------- ext/gd/libgd/gdft.c line: 890 #ifndef JISX0208 if (!font->have_char_map_sjis) { next = string; } else #endif tmpstr = (char *) gdMalloc(BUFSIZ); while (*next) { /* segmenntation fault at here */ ch = *next; Expected result: ---------------- #ifndef JISX0208 if (!font->have_char_map_sjis) { next = string; } else #endif tmpstr = (char *) gdMalloc(BUFSIZ); next = string; /* my fixed */ while (*next) { ch = *next;