From: Dan Carpenter <dan.carpenter@oracle.com>
To: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Rashika Kheria <rashika.kheria@gmail.com>,
devel@driverdev.osuosl.org, Stefan Hajnoczi <stefanha@gmail.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: line6: toneport.c: Fix for possible null pointer dereference
Date: Wed, 21 May 2014 01:04:35 +0300 [thread overview]
Message-ID: <20140520220435.GR15585@mwanda> (raw)
In-Reply-To: <1400535540-5959-1-git-send-email-rickard_strandqvist@spectrumdigital.se>
On Mon, May 19, 2014 at 11:39:00PM +0200, Rickard Strandqvist wrote:
> There is otherwise a risk of a possible null pointer dereference.
>
> Was largely found by using a static code analysis program called cppcheck.
>
> Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
This one is called from line6_disconnect() and the caller checks that
usb_get_intfdata(interface); returns non-NULL. So it's messy code but
not a real bug.
For the lustre ones, I don't know if they are real bugs or not.
regards,
dan carpenter
next prev parent reply other threads:[~2014-05-20 22:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-19 21:39 [PATCH] staging: line6: toneport.c: Fix for possible null pointer dereference Rickard Strandqvist
2014-05-20 7:34 ` Stefan Hajnoczi
2014-05-20 22:04 ` Dan Carpenter [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-12-21 22:43 Rickard Strandqvist
2014-12-22 7:34 ` Stefan Hajnoczi
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=20140520220435.GR15585@mwanda \
--to=dan.carpenter@oracle.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rashika.kheria@gmail.com \
--cc=rickard_strandqvist@spectrumdigital.se \
--cc=stefanha@gmail.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