good morning!!!!

Skip to content
Snippets Groups Projects
Forked from github / maticnetwork / bor
Source project has a limited visibility.
  • Felix Lange's avatar
    817a3fb5
    p2p/enode: avoid crashing for invalid IP (#21981) · 817a3fb5
    Felix Lange authored
    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
    817a3fb5
    History
    p2p/enode: avoid crashing for invalid IP (#21981)
    Felix Lange authored
    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
Code owners
Assign users and groups as approvers for specific file changes. Learn more.