Req #36876 [PATCH]: [PATCH] SysV Message Queue Enhancement
| From: | OrtizRaul042@gmail.com | Date: | Thu, 29 Aug 2019 08:42:31 +0000 |
| Subject: | Req #36876 [PATCH]: [PATCH] SysV Message Queue Enhancement | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-222481@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=36876&edit=1
ID: 36876
Patch added by: OrtizRaul042@gmail.com
Reported by: tim dot hentenaar at securityconfidence dot com
Summary: [PATCH] SysV Message Queue Enhancement
Status: Open
Type: Feature/Change Request
Package: Semaphore related
Operating System: Linux
PHP Version: 5CVS-2006-03-27 (CVS)
Block user comment: N
Private report: N
New Comment:
The following patch has been added/updated:
Patch Name: .prof.os
Revision: 1567068151
URL: https://bugs.php.net/patch-display.php?bug=36876&patch=.prof.os&revision=1567068151
Previous Comments:
------------------------------------------------------------------------
[2006-03-27 19:56:30] tim dot hentenaar at securityconfidence dot com
Description:
------------
This patch adds the function msg_id_to_queue() which converts a message queue ID number into a
message queue resource. I wrote this primarily for easy access to already-created queues.
Patch for PHP5 CVS:
http://portal.sec-con.net/patches/sysvmsg-5dev.patch
Patch for PHP6 CVS:
http://portal.sec-con.net/patches/sysvmsg-6.patch
Tim
Reproduce code:
---------------
Example:
$queue = msg_id_to_queue(10759);
Would return queue 10759 as a resource, or false if unable to open it.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=36876&edit=1