|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80048 Bug #69100 has not been fixed for Windows
Submitted: 2020-09-03 12:26 UTC Modified: 2020-09-03 12:26 UTC
From: Assigned: cmb (profile)
Status: Closed Package: Streams related
PHP Version: 7.3Git-2020-09-03 (Git) OS: Windows only
Private report: No CVE-ID: None
 [2020-09-03 12:26 UTC]
The code that implements `PHP_STREAM_OPTION_MMAP_API` is
unfortunately split for systems supporting mmap() and Windows, so
fixing the Windows specific code has been missed.  bug69100.phpt
succeeds on Windows, but only because the copying falls back to
directly reading from source and writing to destination; the
memory mapping fails for the second stream_copy_to_stream(), due
to the erroneous length calculation.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-09-03 12:26 UTC]
-Assigned To: +Assigned To: cmb
 [2020-09-03 13:47 UTC]
Automatic comment on behalf of
Log: Fix #80048: Bug #69100 has not been fixed for Windows
 [2020-09-03 13:47 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 24 09:01:30 2024 UTC