|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74699 Missing range for FILTER_FLAG_NO_RES_RANGE
Submitted: 2017-06-05 20:44 UTC Modified: 2021-08-05 16:38 UTC
From: Assigned: cmb (profile)
Status: Not a bug Package: Filter related
PHP Version: 7.1.5 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2017-06-05 20:44 UTC]
The patch applied for removed the block from the reserved list. 

RFC 6890 [] calls out as a "Reserved" block. Bug mistakenly claimed that RFC 6890 does not list this as a reserved block. You will find it on page 12 of that RFC.

Test script:

Expected result:

Actual result:
string(9) ""


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-06-06 15:36 UTC]
-Status: Open +Status: Verified
 [2017-06-06 15:36 UTC]
> Bug mistakenly claimed
> that RFC 6890 does not list this as a reserved block. You will
> find it on page 12 of that RFC.

Indeed, you're right.
 [2017-06-06 15:40 UTC]
-Status: Verified +Status: Not a bug -Assigned To: +Assigned To: cmb
 [2017-06-06 15:40 UTC]
> Indeed, you're right.

No, nonsense. is reserved, but is not
reserved. Therefore the behavior of your test script is expected.
 [2017-06-06 16:07 UTC]
-Status: Not a bug +Status: Re-Opened
 [2017-06-06 16:07 UTC]
I apologize for mixing up those ranges.

Nevertheless, the range is reserved for multicast.

"The range of addresses between and, inclusive,
is reserved for the use of routing protocols and other low-level
topology discovery or maintenance protocols, such as gateway discovery
and group membership reporting.  Multicast routers should not forward
any multicast datagram with destination addresses in this range,
regardless of its TTL."
 [2017-06-06 16:38 UTC]
-Assigned To: cmb +Assigned To:
 [2017-06-07 11:37 UTC] andrew dot nester dot dev at gmail dot com
I've just added PR fixing this issue.
 [2017-07-18 20:18 UTC]
Automatic comment on behalf of
Log: Fixed #74699 - Broken ArrayIterator unserializing
 [2017-07-18 20:18 UTC]
-Status: Re-Opened +Status: Closed
 [2017-07-18 20:21 UTC]
-Status: Closed +Status: Re-Opened
 [2017-07-18 20:21 UTC]
Ooops, wrong bug ID in commit...
 [2021-08-05 16:38 UTC]
-Status: Re-Opened +Status: Not a bug -Assigned To: +Assigned To: cmb
 [2021-08-05 16:38 UTC]
FILTER_FLAG_NO_RES_RANGE only considers addresses as reserved
which are reserved-by-protocol according to RFC 6890.
isn't even mentioned in that RFC.  This also matches the
documentation, so I don't see a bug here.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 17:01:28 2024 UTC