php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #36876 [PATCH] SysV Message Queue Enhancement
Submitted: 2006-03-27 19:56 UTC Modified: 2011-02-21 21:30 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: tim dot hentenaar at securityconfidence dot com Assigned:
Status: Open Package: Semaphore related
PHP Version: 5CVS-2006-03-27 (CVS) OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-03-27 19:56 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-02-21 21:30 UTC] jani@php.net
-Package: Feature/Change Request +Package: Semaphore related
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu May 23 23:01:26 2019 UTC