• Show log

    Commit

  • Hash : 20e58aac
    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.
    
    (cherry picked from commit 4a5804c983317100eed509537edc32d69c8d7aa2)