php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #487 Incompatibility with GD 1.3
Submitted: 1998-06-28 14:21 UTC Modified: 1998-07-01 03:01 UTC
From: gfaieta at iname dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0 Final Release OS: Linux/x86 2.0.34
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
12 + 17 = ?
Subscribe to this entry?

 
 [1998-06-28 14:21 UTC] gfaieta at iname dot com
in file functions/gd.c, line 436 

                RETURN_LONG(im->pixels[x->value.lval][y->value.lval]);

should be replaced by

#if HAVE_LIBGD13
                RETURN_LONG(im->pixels[y->value.lval][x->value.lval]);
#else
                RETURN_LONG(im->pixels[x->value.lval][y->value.lval]);
#endif

to make it compatible with gd 1.3

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-07-01 03:01 UTC] ssb
Fixed in CVS.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 14 14:01:33 2024 UTC