Page MenuHomeVyOS Platform

Segmentation fault when checking incorrect IP ranges with ipaddrcheck
Open, LowPublic

Description

ipaddrcheck doesn't consider bad IP ranges valid, but checking ranges with good-looking but out of range addresses makes it crash with a segfault.

vyos@vyos# ipaddrcheck --is-ipv4-range 192.0.2.400-192.0.2.800 && echo y
Segmentation fault

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)