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

.prof.os (last revision 2019-08-29 08:42 UTC by OrtizRaul042 at gmail dot com)

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
 [2019-08-29 08:42 UTC] OrtizRaul042 at gmail dot com
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
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Oct 19 07:01:27 2019 UTC