mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-10-21 07:41:28 +02:00
Every place that compares a stored address as INET guards the cast with a character test first, so a value that is not an address reads as NULL instead of raising 22P02 — except the IPs ordering, which cast straight to INET. The guard is written once as predicates.inet_of and the four copies of its regex are gone: the host, ip, software and vulnerability compilers, and now the sort. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DafWxfoWZXVDgr9KroJBDZ