• Show log

    Commit

  • Hash : 7e1f0b22
    Author : Kim Altintop
    Date : 2020-08-31T21:54:17

    Return false instead of segfaulting when checking for default port
    
    `default_port_for_scheme` returns NULL if the scheme is not one of the
    builtin ones. This may cause a segmentation fault if a custom transport
    URL happens to contain a port number, and this code path is triggered
    (e.g. by setting git_fetch_options->update_fetchhead to 1).