diff options
author | Miguel Arroz <750683+arroz@users.noreply.github.com> | 2021-09-02 18:59:19 -0700 |
---|---|---|
committer | Miguel Arroz <750683+arroz@users.noreply.github.com> | 2021-09-02 18:59:19 -0700 |
commit | 27f50a66124054518d5febe984bccad02ee0846b (patch) | |
tree | 57de85537333cc610708b08dcfb130e2523e5a9d /src/commit_graph.c | |
parent | 4fd32be01c79a5c003bb47674ac1d76d948518b7 (diff) | |
download | libgit2-27f50a66124054518d5febe984bccad02ee0846b.tar.gz |
#6028: Check if `threadstate->error_t.message` is not `git_buf__initbuf` before freeing.
This follows the same principle as `buffer.c` where the same check is done before freeing the buffer. It fixes the crash described in #6028.
Diffstat (limited to 'src/commit_graph.c')
0 files changed, 0 insertions, 0 deletions