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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

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: Mon Apr 29 07:01:30 2024 UTC