From: Matheus Tavares <matheus.bernardino@usp.br> To: git@vger.kernel.org Cc: phil.hord@gmail.com, dstolee@microsoft.com, jonathantanmy@google.com, stefanbeller@gmail.com Subject: [PATCH 0/2] Fix race condition and memory leak in delta base cache Date: Mon, 28 Sep 2020 13:50:33 -0300 [thread overview] Message-ID: <cover.1601311803.git.matheus.bernardino@usp.br> (raw) In-Reply-To: <CABURp0puC324750dZUpeXBricWizy9Ldaz_=JzdvdOkUp8V4pA@mail.gmail.com> The first patch fixes the race condition problem reported by Phil, which ocasionally caused a segmentation fault during git-grep executions. The second patch fixes a memory leak in the same code. Matheus Tavares (2): packfile: fix race condition on unpack_entry() packfile: fix memory leak in add_delta_base_cache() packfile.c | 51 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 31 insertions(+), 20 deletions(-) -- 2.28.0
next prev parent reply other threads:[~2020-09-28 16:51 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-09-25 2:36 RFC - concurrency causes segfault in git grep since 2.26.0 Phil Hord 2020-09-25 5:52 ` Matheus Tavares 2020-09-25 19:53 ` Phil Hord 2020-09-28 16:50 ` Matheus Tavares [this message] 2020-09-28 16:50 ` [PATCH 1/2] packfile: fix race condition on unpack_entry() Matheus Tavares 2020-09-28 18:05 ` Junio C Hamano 2020-09-28 16:50 ` [PATCH 2/2] packfile: fix memory leak in add_delta_base_cache() Matheus Tavares 2020-09-28 18:22 ` Junio C Hamano 2020-09-29 0:01 ` [PATCH v2 0/2] Fix race condition and memory leak in delta base cache Matheus Tavares 2020-09-29 0:01 ` [PATCH v2 1/2] packfile: fix race condition on unpack_entry() Matheus Tavares 2020-10-02 20:06 ` Phil Hord 2020-09-29 0:01 ` [PATCH v2 2/2] packfile: fix memory leak in add_delta_base_cache() Matheus Tavares
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=cover.1601311803.git.matheus.bernardino@usp.br \ --to=matheus.bernardino@usp.br \ --cc=dstolee@microsoft.com \ --cc=git@vger.kernel.org \ --cc=jonathantanmy@google.com \ --cc=phil.hord@gmail.com \ --cc=stefanbeller@gmail.com \ --subject='Re: [PATCH 0/2] Fix race condition and memory leak in delta base cache' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).