• Show log

    Commit

  • Hash : 1a8c11f4
    Author : Patrick Steinhardt
    Date : 2016-03-10T10:40:47

    diff_tform: fix potential NULL pointer access
    
    When the user passes in a diff which has no repository associated
    we may call `git_config__get_int_force` with a NULL-pointer
    configuration. Even though `git_config__get_int_force` is
    designed to swallow errors, it is not intended to be called with
    a NULL pointer configuration.
    
    Fix the issue by only calling `git_config__get_int_force` only
    when configuration could be retrieved from the repository.