Bug #68814 [Opn->Csd]: Unchecked return value
| From: | laruence@php.net | Date: | Sun, 18 Jan 2015 04:21:54 +0000 |
| Subject: | Bug #68814 [Opn->Csd]: Unchecked return value | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-190008@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68814&edit=1
ID: 68814
Updated by: laruence@php.net
Reported by: bugreports at internot dot info
Summary: Unchecked return value
-Status: Open
+Status: Closed
Type: Bug
Package: PHAR related
Operating System: Linux Ubuntu 14.04
PHP Version: master-Git-2015-01-12 (Git)
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=ad32e033274ea49d05164418241946d2f1798894
Log: Fixed bug #68814 (Unchecked return value)
Previous Comments:
------------------------------------------------------------------------
[2015-01-12 16:22:03] bugreports at internot dot info
Description:
------------
Hi,
In /ext/phar/phar_object.c:
2069 oldname = zend_memrchr(phar->fname, '/', phar->fname_len);
zend_memrchr() may return NULL, but it is not checked for NULL, as it is everywhere else it is used.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=68814&edit=1