• Show log

    Commit

  • Hash : b5b7c303
    Author : Patrick Steinhardt
    Date : 2018-08-09T11:03:37

    smart_pkt: fix "ng" parser accepting non-space character
    
    When parsing "ng" packets, we blindly assume that the character
    immediately following the "ng" prefix is a space and skip it. As the
    calling function doesn't make sure that this is the case, we can thus
    end up blindly accepting an invalid packet line.
    
    Fix the issue by using `git__prefixncmp`, checking whether the line
    starts with "ng ".
    
    (cherry picked from commit b5ba7af2d30c958b090dcf135749d9afe89ec703)