php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3706 ImageArc causes core dump (patch included :-)
Submitted: 2000-03-02 08:16 UTC Modified: 2000-03-03 09:16 UTC
From: oliver at billix dot franken dot de Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Latest CVS (02/03/2000) OS: linux 2.0.39 libc5
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: oliver at billix dot franken dot de
New email:
PHP Version: OS:

 

 [2000-03-02 08:16 UTC] oliver at billix dot franken dot de
ImageArc causes a core dump. Here's the fix:

*** gd.c.org    Tue Feb 29 23:23:35 2000
--- gd.c        Thu Mar  2 14:10:56 2000
***************
*** 1103,1109 ****
        GDLS_FETCH();
  
        if (ARG_COUNT(ht) != 8 ||
!               zend_get_parameters_ex(ht, 8, &IM, &CX, &CY, &W, &H, &ST, &E, &COL) == FAILURE)
        {
                WRONG_PARAM_COUNT;
        }
--- 1103,1109 ----
        GDLS_FETCH();
  
        if (ARG_COUNT(ht) != 8 ||
!               zend_get_parameters_ex(8, &IM, &CX, &CY, &W, &H, &ST, &E, &COL) == FAILURE)
        {
                WRONG_PARAM_COUNT;
        }

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-03 09:16 UTC] jah at cvs dot php dot net
Fixed. Thanks for catching it.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 07:00:01 2026 UTC