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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: gfaieta at iname dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

History

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

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Jun 15 14:00:01 2026 UTC