public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: Paolo Perego <pperego@suse.de>, linux-staging@lists.linux.dev
Cc: LKML <linux-kernel@vger.kernel.org>,
	Arnd Bergmann <arnd@arndb.de>,
	Dan Carpenter <dan.carpenter@linaro.org>,
	Dave Penkler <dpenkler@gmail.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Kees Bakker <kees@ijzerbout.nl>
Subject: Re: [PATCH] staging: gpib: Fix a dereference before null check issue
Date: Wed, 20 Nov 2024 17:42:06 +0100	[thread overview]
Message-ID: <84aeb85d-52da-43f2-bff2-715fc190b615@web.de> (raw)
In-Reply-To: <20241120144653.377795-1-pperego@suse.de>

…
> The check ad line 1450 suggests that a_priv can be NULL, however it has

            at?


> been derefenced before, in the interface_to_usbdev() call.
…

       dereferenced?


See also:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.12#n94

Regards,
Markus

  reply	other threads:[~2024-11-20 16:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-20 14:46 [PATCH] staging:gpib: Fix a dereference before null check issue Paolo Perego
2024-11-20 16:42 ` Markus Elfring [this message]
2024-11-20 17:04 ` Dan Carpenter
2024-11-20 19:54   ` Kees Bakker
2024-11-21  7:37     ` Dan Carpenter
2024-11-21 14:10       ` Paolo Perego
2024-11-21 14:17         ` Dan Carpenter

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=84aeb85d-52da-43f2-bff2-715fc190b615@web.de \
    --to=markus.elfring@web.de \
    --cc=arnd@arndb.de \
    --cc=dan.carpenter@linaro.org \
    --cc=dpenkler@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kees@ijzerbout.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=pperego@suse.de \
    /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