php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67335 Segfault when passing int as workload in addTask
Submitted: 2014-05-23 12:45 UTC Modified: 2017-01-10 08:24 UTC
From: tsmgeek at gmail dot com Assigned:
Status: Suspended Package: gearman (PECL)
PHP Version: 5.4.28 OS: Centos 6.5
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tsmgeek at gmail dot com
New email:
PHP Version: OS:

 

 [2014-05-23 12:45 UTC] tsmgeek at gmail dot com
Description:
------------
If you pass an INT as the workload to addTask/addTaskLow/addTaskHigh/addTaskBackground it will segfault.
If you do the same with doNormal it does not.
Documentation states that the workload should be a string but does not enforce this on some functions and GM still continues to run correctly.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-10 08:24 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-01-10 08:24 UTC] kalle@php.net
The gearman extension have not had much activity in the past few years, so I'm taking the safe bet that this is no longer under active development (as I don't consider the typo fixes on the github repo an active development), besides that it also targets unsupported PHP versions. Please unsuspend this report in case it begins to blossom with life once more
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 11:01:33 2024 UTC