From: Junio C Hamano <gitster@pobox•com>
To: Jeff King <peff@peff•net>
Cc: git@vger•kernel.org, Stefan Beller <stefanbeller@gmail•com>
Subject: Re: [PATCH 0/5] coverity mixed bag
Date: Thu, 24 Jul 2014 13:33:03 -0700 [thread overview]
Message-ID: <xmqqd2cu8pkw.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <20140724043940.GA31282@peff.net> (Jeff King's message of "Thu, 24 Jul 2014 00:39:41 -0400")
Jeff King <peff@peff•net> writes:
> 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
Thanks, they all make sense to me. I'd probably have to wiggle 4/5
a bit to port the fix over to both maint and master, though.
next prev parent reply other threads:[~2014-07-24 20:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-24 4:39 [PATCH 0/5] coverity mixed bag Jeff King
2014-07-24 4:40 ` [PATCH 1/5] receive-pack: don't copy "dir" parameter Jeff King
2014-07-24 4:41 ` [PATCH 2/5] free ref string returned by dwim_ref Jeff King
2014-07-24 4:41 ` [PATCH 3/5] transport: fix leaks in refs_from_alternate_cb Jeff King
2014-07-24 4:42 ` [PATCH 4/5] fix memory leak parsing core.commentchar Jeff King
2014-07-24 4:43 ` [PATCH 5/5] apply: avoid possible bogus pointer Jeff King
2014-07-24 20:33 ` Junio C Hamano [this message]
2014-07-29 5:36 ` [PATCH 0/5] coverity mixed bag Stefan Beller
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=xmqqd2cu8pkw.fsf@gitster.dls.corp.google.com \
--to=gitster@pobox$(echo .)com \
--cc=git@vger$(echo .)kernel.org \
--cc=peff@peff$(echo .)net \
--cc=stefanbeller@gmail$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox