php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22014 html_entity_decode with unset variable results in segfault
Submitted: 2003-02-02 14:00 UTC Modified: 2003-07-09 11:39 UTC
From: bs@php.net Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 4.3.0 OS: Debian Linux&FreeBSD 4.7-STABLE
Private report: No CVE-ID: None
 [2003-02-02 14:00 UTC] bs@php.net
<?php html_entity_decode($notset); ?>

this results in a segfault, tested on Debian, FreeBSD 4.7-STABLE & and Gentoo with Apache/1.3.27 & PHP 4.3.0

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-02 14:06 UTC] derick@php.net
seems already fixed in CVS, can't reproduce with 4.3.1dev but it was reproducable with 4.3.0.

Derick
 [2003-07-09 10:18 UTC] msw at altexa dot com
reproducible in 4.3.1 on mandrake 9.1 with empty string
 [2003-07-09 11:39 UTC] philip@php.net
Just a FYI: 4.3.0 == 4.3.1 (except one tiny security change to the CGI).  Dericks comment was written before the 4.3.1 security release issue came up, so he actually refers to this being fixed in 4.3.2
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Aug 16 10:01:28 2024 UTC