Re: [PATCH 0/5] coverity mixed bag
- From
Stefan Beller <stefanbeller@gmail.com>
- Date
- Jul 29, 2014, 05:36 UTC
- Message-ID
- <53D732EC.8010302@gmail.com>
- In-Reply-To
- <20140724043940.GA31282@peff.net>
On 24.07.2014 06:39, Jeff King wrote:
Show 14 quoted lines
> Since Stefan has recently started feeding git builds to coverity, I > spent a few minutes poking through the results. There are tons of false > positives, so there is some work to be done there with tweaking our > coverity models. But there are some real issues, too. Here are fixes for > the handful that I looked at. > > [1/5]: receive-pack: don't copy "dir" parameter > [2/5]: free ref string returned by dwim_ref > [3/5]: transport: fix leaks in refs_from_alternate_cb > [4/5]: fix memory leak parsing core.commentchar > [5/5]: apply: avoid possible bogus pointer > > -Peff >
As this patchset is in, we have coverity scan now finding 10 defects fixed.
Thanks, Stefan