upbound / function-cidr

Composition Function that transforms CIDRs
Apache License 2.0
4 stars 3 forks source link

Fix segmentation fault in cidrsubnets function #31

Closed mproffitt closed 1 month ago

mproffitt commented 1 month ago

This change is necessary to prevent the cidrsubnets function segfault when overflowing the available range

fixes: https://github.com/upbound/function-cidr/issues/30

I have:

How has this code been tested

humoflife commented 1 month ago

Thanks for catching this. LGTM.