• Show log

    Commit

  • Hash : 4a5804c9
    Author : Patrick Steinhardt
    Date : 2018-08-09T10:36:44

    smart_pkt: honor line length when determining packet type When we parse the packet type of an incoming packet line, we do not verify that we don't overflow the provided line buffer. Fix this by using `git__prefixncmp` instead and passing in `len`. As we have previously already verified that `len <= linelen`, we thus won't ever overflow the provided buffer length.