linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: SF Markus Elfring <elfring@users.sourceforge.net>
To: Julia Lawall <julia.lawall@lip6.fr>
Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>,
	Gilles Muller <Gilles.Muller@lip6.fr>,
	netdev@vger.kernel.org, Nicolas Palix <nicolas.palix@imag.fr>,
	kernel-janitors@vger.kernel.org,
	LKML <linux-kernel@vger.kernel.org>,
	dri-devel@lists.freedesktop.org, linux-spi@vger.kernel.org,
	Michal Marek <mmarek@suse.com>,
	linux-i2c@vger.kernel.org, Coccinelle <cocci@systeme.lip6.fr>,
	linux-media@vger.kernel.org
Subject: Re: [Cocci] [PATCH v2] coccinelle: api: check for propagation of error from platform_get_irq
Date: Sun, 27 Dec 2015 17:24:02 +0100	[thread overview]
Message-ID: <568010A2.3000902@users.sourceforge.net> (raw)
In-Reply-To: <alpine.DEB.2.02.1512271239460.2038@localhost6.localdomain6>

>> https://cwe.mitre.org/data/definitions/252.html
> 
> The value is not unchecked.

Would you like to express any stronger relationship between
the function call example and the occurrence of an if statement
by the discussed SmPL script?


> I made a specific rule because the specific problem is quite common.

Can it become also interesting to generalise this search pattern?

Regards,
Markus
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

      reply	other threads:[~2015-12-27 16:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1451157891-24881-1-git-send-email-Julia.Lawall@lip6.fr>
     [not found] ` <567EF188.7020203@cogentembedded.com>
     [not found]   ` <alpine.DEB.2.02.1512262107340.2070@localhost6.localdomain6>
     [not found]     ` <alpine.DEB.2.02.1512262123500.2070@localhost6.localdomain6>
     [not found]       ` <567EF895.6080702@cogentembedded.com>
2015-12-26 20:58         ` [PATCH v2] coccinelle: api: check for propagation of error from platform_get_irq Julia Lawall
     [not found]           ` <alpine.DEB.2.02.1512262156580.2070-bi+AKbBUZKagILUCTcTcHdKyNwTtLsGr@public.gmane.org>
2015-12-26 22:26             ` Sergei Shtylyov
     [not found]               ` <567F141C.8010000-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2015-12-26 22:32                 ` Julia Lawall
2015-12-26 22:36                   ` Sergei Shtylyov
2015-12-27  6:13                     ` Julia Lawall
2015-12-27 11:18                       ` Sergei Shtylyov
2015-12-27  7:58           ` [Cocci] " SF Markus Elfring
2015-12-27 11:41             ` Julia Lawall
2015-12-27 16:24               ` SF Markus Elfring [this message]

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=568010A2.3000902@users.sourceforge.net \
    --to=elfring@users.sourceforge.net \
    --cc=Gilles.Muller@lip6.fr \
    --cc=cocci@systeme.lip6.fr \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=julia.lawall@lip6.fr \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=mmarek@suse.com \
    --cc=netdev@vger.kernel.org \
    --cc=nicolas.palix@imag.fr \
    --cc=sergei.shtylyov@cogentembedded.com \
    /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).