|
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] [email protected]
[2006-07-26 10:06 UTC] [email protected]
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Jan 01 05:00:01 2026 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.)