php.net |  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: [email protected] 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] [email protected]
Description:
------------
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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-09-03 12:26 UTC] [email protected]
-Assigned To: +Assigned To: cmb
 [2020-09-03 13:47 UTC] [email protected]
Automatic comment on behalf of [email protected]
Revision: http://git.php.net/?p=php-src.git;a=commit;h=1848ccdae2b9fbdfbbe8de56f8eda8b8869c825e
Log: Fix #80048: Bug #69100 has not been fixed for Windows
 [2020-09-03 13:47 UTC] [email protected]
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jun 12 20:01:26 2025 UTC