Re: Fwd: New Defects reported by Coverity Scan for git
- From
Jeff King <peff@peff.net>
- Date
- Oct 20, 2016, 21:40 UTC
- Message-ID
- <20161020214045.gpe352xnw5oc36ur@sigill.intra.peff.net>
- In-Reply-To
- <CAGZ79kabVPhp0_z-e_4jJOFq+jzSE2SsgmFuY-2RUgrEviGKyA@mail.gmail.com>
On Thu, Oct 20, 2016 at 10:05:38AM -0700, Stefan Beller wrote:
> Not sure what triggered the new finding of coverity as seen below as the > parse_commit() was not touched. Junios series regarding the merge base > optimization touches a bit of code nearby though.
I have noticed that "old" problems sometimes reappear when nearby code changes. I assume that they have some kind of heuristic to identify the location of a defect, that it probably includes the line number in the file, and that it can be fooled by too much code appearing nearby.
-Peff