php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68832 Unchecked return value in spl_directory.c
Submitted: 2015-01-14 18:39 UTC Modified: 2015-01-19 04:40 UTC
From: bugreports at internot dot info Assigned: laruence (profile)
Status: Closed Package: SPL related
PHP Version: master-Git-2015-01-14 (Git) OS: Linux Ubuntu 14.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
44 + 39 = ?
Subscribe to this entry?

 
 [2015-01-14 18:39 UTC] bugreports at internot dot info
Description:
------------
Hi,

In /ext/spl/spl_directory.c:

2083        zend_get_parameters_array_ex(pass_num_args, params + (arg2 ? 2 : 1));

the return value is not checked, as it is done everywhere else.


Thanks,


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-01-18 04:21 UTC] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=4b3ae843fc378ad7ce27492cc337a30485d8ec75
Log: Fixed #68832 (Unchecked return value)
 [2015-01-18 04:21 UTC] laruence@php.net
-Status: Open +Status: Closed
 [2015-01-19 04:40 UTC] stas@php.net
-Summary: Unchecked return value +Summary: Unchecked return value in spl_directory.c -Assigned To: +Assigned To: laruence
 [2016-07-20 11:39 UTC] davey@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=4b3ae843fc378ad7ce27492cc337a30485d8ec75
Log: Fixed #68832 (Unchecked return value)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 21:01:27 2024 UTC