Skip to content
  • Nick Mathewson's avatar
    Avoid a use-after-null-check in proto_socks.c · 8505522e
    Nick Mathewson authored
    Coverity rightly complains that early in the function we're checking
    whether username is NULL, and later we're passing it unconditionally
    to strlen().
    
    Fixes CID 1437967.  Bug not in any released Tor.
    8505522e