• Show log

    Commit

  • Hash : f3273725
    Author : lhchavez
    Date : 2020-02-25T20:58:09

    pack: Improve error handling for get_delta_base()
    
    This change moves the responsibility of setting the error upon failures
    of get_delta_base() to get_delta_base() instead of its callers. That
    way, the caller chan always check if the return value is negative and
    mark the whole operation as an error instead of using garbage values,
    which can lead to crashes if the .pack files are malformed.