Bug #33011 [Com]: shmop: can still open segment for reading after shmop_delete
| From: | sarthakss171 at gmail dot com | Date: | Tue, 07 Dec 2021 06:30:21 +0000 |
| Subject: | Bug #33011 [Com]: shmop: can still open segment for reading after shmop_delete | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-238232@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=33011&edit=1
ID: 33011
Comment by: sarthakss171 at gmail dot com
Reported by: joe at bs0 dot com
Summary: shmop: can still open segment for reading after
shmop_delete
Status: No Feedback
Type: Bug
Package: Semaphore related
Operating System: win32 only
PHP Version: 5.2.6
Block user comment: N
Private report: N
New Comment:
I am running Php 5.6.31 on Windows 10 Pro 64 bit machine & apache 2.4.27. I am really surprised
that there is no fix available till. I am still facing the issue in 2021. It's almost 16 years
and has not been solved by the Php team.
Previous Comments:
------------------------------------------------------------------------
[2013-02-18 00:12:15] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2013-02-18 00:11:37] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2010-10-17 19:28:46] felipe@php.net
Could you attach the patch in this report? Thanks.
------------------------------------------------------------------------
[2008-06-07 02:58:13] pmvcallan at gmail dot com
Same problem running apache 2, php 5.2.6 on windows.
Attempted closing then deleting and deleting then closing the block, returns true in both cases.
Still leaves the block and contents intact regardless.
------------------------------------------------------------------------
[2007-07-18 04:01:18] sfox@php.net
Just noting two things: one, the patch is no longer online and two, Ilia doesn't really
'do' Windows any more.
I looked at it but don't have time to play right now, not least because I don't have a
current copy of PHP on board. I _think_ it probably just needs a flag setting in shmctl() (in
tsrm_win32.c) when it's called from shmop_delete() - not sure. Something like:
shm->descriptor->shm_perm.mode = IPC_EXCL;
- but again not sure, there's a copy flying around there somewhere. I'd need to test.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=33011
--
Edit this bug report at https://bugs.php.net/bug.php?id=33011&edit=1