• Show log

    Commit

  • Hash : 39706ded
    Author : Patrick Steinhardt
    Date : 2018-09-03T10:49:46

    config_parse: refactor error handling when parsing multiline variables
    
    The current error handling for the multiline variable parser is a bit
    fragile, as each error condition has its own code to clear memory.
    Instead, unify error handling as far as possible to avoid this
    repetitive code. While at it, make use of `GITERR_CHECK_ALLOC` to
    correctly handle OOM situations and verify that the buffer we print into
    does not run out of memory either.
    
    (cherry picked from commit bc63e1ef521ab5900dc0b0dcd578b8bf18627fb1)