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
 [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: Sun Apr 28 18:01:31 2024 UTC