Make range checks in semConv (#7164)
* Remove NaN/Inf/NegInf magic * Make range checks in semConv * fix the failing line * fix `firstOrd` and `lastOrd` * fix `localError` * remove debug comment * Cleanup, fix failing test * make tests green
This commit is contained in:
parent
3a479ff53f
commit
de5c0d3aa9
9 changed files with 103 additions and 26 deletions
|
|
@ -243,7 +243,7 @@ const IPPROTO_TCP* = cint(6)
|
|||
const IPPROTO_UDP* = cint(17)
|
||||
const INADDR_ANY* = InAddrScalar(0)
|
||||
const INADDR_LOOPBACK* = InAddrScalar(2130706433)
|
||||
const INADDR_BROADCAST* = InAddrScalar(-1)
|
||||
const INADDR_BROADCAST* = InAddrScalar(4294967295)
|
||||
const INET_ADDRSTRLEN* = cint(16)
|
||||
const INET6_ADDRSTRLEN* = cint(46)
|
||||
const IPV6_JOIN_GROUP* = cint(12)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue