|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-07-26 07:04 UTC] tony2001@php.net
[2006-07-26 10:06 UTC] pajoye@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 09:00:02 2025 UTC |
Description: ------------ imagegif() does not product interlaced gif images when interlace bit is on. memset() overwrites actual value of interlace bit in php-5.1.4\ext\gd\libgd\gd_gif_out.c at line 270. Reproduce code: --------------- php-5.1.4\ext\gd\libgd\gd_gif_out.c:268 ctx.Interlace = GInterlace; ctx.in_count = 1; memset(&ctx, 0, sizeof(ctx)); Expected result: ---------------- memset(&ctx, 0, sizeof(ctx)); ctx.Interlace = GInterlace; (ctx.in_count is later assigned to 1 in function compress() at line 514.)