Bug 43217 - All-ones IPv6 subnet mask not accepted
Summary: All-ones IPv6 subnet mask not accepted
Status: NEW
Alias: None
Product: APR
Classification: Unclassified
Component: APR (show other bugs)
Version: 1.2.7
Hardware: All Linux
: P4 minor (vote)
Target Milestone: ---
Assignee: Apache Portable Runtime bugs mailinglist
Keywords: PatchAvailable
Depends on:
Reported: 2007-08-26 23:06 UTC by Ted Percival
Modified: 2007-10-12 11:53 UTC (History)
0 users

Patch to test suite (2.29 KB, patch)
2007-08-26 23:09 UTC, Ted Percival
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ted Percival 2007-08-26 23:06:27 UTC
apr_ipsubnet_create accepts "128" as a subnet mask for IPv6 addresses but not
"ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff". The equivalent IPv4 values of "32"
and "" are accepted.
Comment 1 Ted Percival 2007-08-26 23:09:24 UTC
Created attachment 20712 [details]
Patch to test suite

Adds some tests for this behaviour. Lines 16 and 33 of the patch cause test