On Thu, Aug 4, 2016 at 3:30 PM, Rainer Jung <[email protected]> wrote:
>
> - apr_ipsubnet_create() has some logic, that for instance accepts "192.168"
> as input with NULL mask_or_numbits and returns sub 192.168.0.0 and mask
> 255.255.0.0.

Hmm, indeed, but this looks buggy to me.
Shouldn't apr_ipsubnet_create() be fixed with:

-    rv = parse_ip(*ipsub, ipstr, mask_or_numbits == NULL);
+    rv = parse_ip(*ipsub, ipstr, mask_or_numbits != NULL);

?

Reply via email to