Files
rengine/shared/services/surface_query
Yogesh OjhaandClaude Opus 5 816f0f1f98 fix(ips): the address sort casts the way the filters do
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
2026-09-16 12:50:27 +05:30
..