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: 2021-08-11 14:44 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: tim dot hentenaar at securityconfidence dot com Assigned: cmb (profile)
Status: Wont fix 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

.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
 [2021-08-11 14:44 UTC] cmb@php.net
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2021-08-11 14:44 UTC] cmb@php.net
This is laying around for more than 15 years without any feedback,
and the patches are no longer available (besides they likely would
have gone stale).  Thus, I'm closing as WONTFIX.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Oct 20 17:03:35 2021 UTC