php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57633 Segfault due twice call of ZEND_REGISTER_RESOURCE()
Submitted: 2007-04-25 06:10 UTC Modified: 2007-11-28 17:36 UTC
From: andrew at comby dot com Assigned:
Status: Closed Package: html_parse (PECL)
PHP Version: 5.2.1 OS: Linux
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: andrew at comby dot com
New email:
PHP Version: OS:

 

 [2007-04-25 06:10 UTC] andrew at comby dot com
Description:
------------
PHP_FUNCTION(html_parser_create)
{
...
    ZEND_REGISTER_RESOURCE(return_value, return_res, le_html_parser);
  } while(0);
  ZEND_REGISTER_RESOURCE(return_value, return_res, le_html_parser);
}

ZEND_REGISTER_RESOURCE() is called twice and that leads to segfault.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-11-28 17:36 UTC] hholzgra@php.net
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pecl.php.net/get/html_parse

fixed in 1.0.0 release
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 18:01:29 2024 UTC