Bug 43217

Summary: All-ones IPv6 subnet mask not accepted
Product: APR Reporter: Ted Percival <ted>
Component: APRAssignee: Apache Portable Runtime bugs mailinglist <bugs>
Status: NEW ---    
Severity: minor Keywords: PatchAvailable
Priority: P4    
Version: 1.2.7   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Attachments: Patch to test suite

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