Bug #68809 [Opn->Csd]: Unchecked return value

From: Date: Sun, 18 Jan 2015 04:21:52 +0000
Subject: Bug #68809 [Opn->Csd]: Unchecked return value
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190007@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68809&edit=1 ID: 68809 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=89beb12fefdfe9a9b56f1db9027d9bfaeb895b31 Log: Fixed bug #68809 (Unchecked return value) Previous Comments: ------------------------------------------------------------------------ [2015-01-12 11:11:50] bugreports at internot dot info Description: ------------ Hi, In /ext/phar/tar.c: 484 newentry = zend_hash_str_add_mem(&myphar->manifest, entry.filename, entry.filename_len, (void*)&entry, sizeof(phar_entry_info)); 'newentry' is not checked if it's NULL, as it is does every other time zend_hash_str_add_mem() is used. Thanks ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68809&edit=1

« previous php.bugs (#190007) next »