about summary refs log tree commit diff
path: root/third_party/impermanence
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2022-05-17T21·50+0000
committerclbot <clbot@tvl.fyi>2022-05-18T15·27+0000
commite579aa66030bde44f2b0f7d3031c08af0f7d3a3c (patch)
tree83e8de8c5d52cf36fa7e01d6b8a104506ab897b7 /third_party/impermanence
parent045cf244b51a90bfd7d67ba9d3e60ac950ba5c65 (diff)
fix(3p/cgit): Fix bad free in cgit_diff_tree r/4093
Since git commit 244c27242f44e6b88e3a381c90bde08d134c274b,

> diff.[ch]: have diff_free() call clear_pathspec(opts.pathspec)

calling diff_flush calls free(3) on opts.pathspec.items, so it can't
be a pointer to a stack variable.

(cherry-picked from commit
https://git.causal.agency/cgit-pink/commit/?id=cc167887f1ee6907103533187ff9679f01006a1f)

Change-Id: I3054b0839f46465e8a5ce0da52a87357c7d77128
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5631
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'third_party/impermanence')
0 files changed, 0 insertions, 0 deletions