libgit2 / pygit2

Python bindings for libgit2
https://www.pygit2.org/
Other
1.58k stars 382 forks source link

Do not access freed memory in test_push_options() #1304

Closed kempniu closed 2 weeks ago

kempniu commented 2 weeks ago

Fixes #1301

kempniu commented 2 weeks ago

@anatol, could you please test whether this addresses the issue you reported in #1301?

anatol commented 2 weeks ago

This patch makes the ASAN-enabled tests happy. Thank you for the fix.