• Show log

    Commit

  • Hash : 08699541
    Author : Patrick Steinhardt
    Date : 2019-08-08T10:46:42

    trailer: check for memory allocation errors
    
    The "trailer.c" code has been copied mostly verbatim from git.git with
    minor adjustments, only. As git.git's `xmalloc` function, which aborts
    on memory allocation errors, has been swapped out for `git_malloc`,
    which doesn't abort, we may inadvertently access `NULL` pointers.
    
    Add checks to fix this.