public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Colin Ian King <colin.i.king@gmail.com>
Cc: "James E . J . Bottomley" <James.Bottomley@HansenPartnership.com>,
	"Martin K . Petersen" <martin.petersen@oracle.com>,
	Bart Van Assche <bvanassche@acm.org>,
	Naresh Kumar Inna <naresh@chelsio.com>,
	linux-scsi@vger.kernel.org, kernel-janitors@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] scsi: csiostor: Fix dereference of null pointer rn
Date: Tue, 03 Feb 2026 22:34:12 -0500	[thread overview]
Message-ID: <yq1343hnpws.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <20260129155332.196338-1-colin.i.king@gmail.com> (Colin Ian King's message of "Thu, 29 Jan 2026 15:53:32 +0000")


Colin,

> The error exit path when rn is NULL ends up deferencing the null
> pointer rn via the use of the macro CSIO_INC_STATS. Fix this by
> adding a new error return path label after the use of the macro
> to avoid the deference.

Applied to 6.20/scsi-staging, thanks!

-- 
Martin K. Petersen

  reply	other threads:[~2026-02-04  3:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-29 15:53 [PATCH] scsi: csiostor: Fix dereference of null pointer rn Colin Ian King
2026-02-04  3:34 ` Martin K. Petersen [this message]
2026-02-08  2:01 ` Martin K. Petersen

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=yq1343hnpws.fsf@ca-mkp.ca.oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=bvanassche@acm.org \
    --cc=colin.i.king@gmail.com \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=naresh@chelsio.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