mirror of https://github.com/status-im/op-geth.git
817a3fb562
The database panicked for invalid IPs. This is usually no problem because all code paths leading to node DB access verify the IP, but it's dangerous because improper validation can turn this panic into a DoS vulnerability. The quick fix here is to just turn database accesses using invalid IP into a noop. This isn't great, but I'm planning to remove the node DB for discv5 long-term, so it should be fine to have this quick fix for half a year. Fixes #21849 |
||
---|---|---|
.. | ||
idscheme.go | ||
idscheme_test.go | ||
iter.go | ||
iter_test.go | ||
localnode.go | ||
localnode_test.go | ||
node.go | ||
node_test.go | ||
nodedb.go | ||
nodedb_test.go | ||
urlv4.go | ||
urlv4_test.go |