cocci.inria.fr archive mirror
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: Coccinelle <cocci@systeme.lip6.fr>
Subject: [Cocci] Checking data processing around invalidate_aliases()
Date: Tue, 5 Nov 2019 10:12:32 +0100	[thread overview]
Message-ID: <44a6d852-2e8a-f1d5-4700-c5c8b335a647@web.de> (raw)

Hello,

I would like to clarify the following source code analysis result.

elfring@Sonne:~/Projekte/Linux/next-patched> spatch -D report scripts/coccinelle/api/d_find_alias.cocci fs/ceph/caps.c
…
fs/ceph/caps.c:3051:9-11: Missing call to dput() at line 3063.


I have got the impression that a false positive is reported for
the implementation of the function “invalidate_aliases”.
https://elixir.bootlin.com/linux/v5.4-rc5/source/fs/ceph/caps.c#L3036

How do you think about it?

Regards,
Markus
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

                 reply	other threads:[~2019-11-05  9:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=44a6d852-2e8a-f1d5-4700-c5c8b335a647@web.de \
    --to=markus.elfring@web.de \
    --cc=cocci@systeme.lip6.fr \
    /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
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;
as well as URLs for NNTP newsgroup(s).