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
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: tim dot hentenaar at securityconfidence dot com
New email:
PHP Version: OS:

 

 [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: Sat Aug 24 13:01:27 2019 UTC