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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
24 - 6 = ?
Subscribe to this entry?

 
 [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)

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 00:01:36 2025 UTC