The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: Qasim Ijaz <qasdev00@gmail.com>, linux-fpga@vger.kernel.org
Cc: stable@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
	Marco Pagani <marpagan@redhat.com>,
	Moritz Fischer <mdf@kernel.org>,
	Russ Weight <russ.weight@linux.dev>, Tom Rix <trix@redhat.com>,
	Wu Hao <hao.wu@intel.com>, Xu Yilun <yilun.xu@intel.com>
Subject: Re: [PATCH] fpga: fix potential null pointer deref in fpga_mgr_test_img_load_sgt()
Date: Wed, 12 Mar 2025 14:01:48 +0100	[thread overview]
Message-ID: <27efccdc-3400-46b9-9359-4b2a6c8254e9@web.de> (raw)
In-Reply-To: <20250311234509.15523-1-qasdev00@gmail.com>

…
> zero it out. If the allocation fails then sgt will be NULL and the
…
                                 failed?


Can a summary phrase like “Prevent null pointer dereference
in fpga_mgr_test_img_load_sgt()” be nicer?

Regards,
Markus

  reply	other threads:[~2025-03-12 13:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-11 23:45 [PATCH] fpga: fix potential null pointer deref in fpga_mgr_test_img_load_sgt() Qasim Ijaz
2025-03-12 13:01 ` Markus Elfring [this message]
2025-03-12 15:07   ` Greg KH
2025-03-16 22:00 ` Marco Pagani

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=27efccdc-3400-46b9-9359-4b2a6c8254e9@web.de \
    --to=markus.elfring@web.de \
    --cc=hao.wu@intel.com \
    --cc=linux-fpga@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marpagan@redhat.com \
    --cc=mdf@kernel.org \
    --cc=qasdev00@gmail.com \
    --cc=russ.weight@linux.dev \
    --cc=stable@vger.kernel.org \
    --cc=trix@redhat.com \
    --cc=yilun.xu@intel.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