forked from cerc-io/plugeth
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_test.go | ||
idscheme.go | ||
iter_test.go | ||
iter.go | ||
localnode_test.go | ||
localnode.go | ||
node_test.go | ||
node.go | ||
nodedb_test.go | ||
nodedb.go | ||
urlv4_test.go | ||
urlv4.go |