Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

feat: harden encoding/decoding functions against panics #243

Merged
merged 2 commits into from
Apr 18, 2022

Commits on Apr 18, 2022

  1. feat: harden encoding/decoding functions against panics

    Part of libp2p/go-libp2p#1389
    
    These kinds of functions:
    
    1. Handle user input.
    2. Often have out-of-bounds, null pointer, etc bugs.
    3. Have completely isolated logic where local panics are unlikely to
       cause memory corruption elsewhere.
    Stebalien committed Apr 18, 2022
    Configuration menu
    Copy the full SHA
    ef3e50c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8e16a4a View commit details
    Browse the repository at this point in the history