From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Bart Van Assche <bart.vanassche@wdc.com>
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>,
"James E . J . Bottomley" <jejb@linux.vnet.ibm.com>,
linux-scsi@vger.kernel.org,
Himanshu Madhani <himanshu.madhani@cavium.com>
Subject: Re: [PATCH] qla2xxx: Avoid triggering undefined behavior in qla2x00_mbx_completion()
Date: Tue, 30 Jan 2018 21:33:59 -0500 [thread overview]
Message-ID: <yq1bmhag3jc.fsf@oracle.com> (raw)
In-Reply-To: <20180125162429.7962-1-bart.vanassche@wdc.com> (Bart Van Assche's message of "Thu, 25 Jan 2018 08:24:29 -0800")
Bart,
> A left shift must shift less than the bit width of the left argument.
> Avoid triggering undefined behavior if ha->mbx_count == 32.
Applied to 4.16/scsi-fixes. Thank you!
--
Martin K. Petersen Oracle Linux Engineering
prev parent reply other threads:[~2018-01-31 2:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-25 16:24 [PATCH] qla2xxx: Avoid triggering undefined behavior in qla2x00_mbx_completion() Bart Van Assche
2018-01-25 16:55 ` Laurence Oberman
2018-01-26 17:17 ` Madhani, Himanshu
2018-01-31 2:33 ` Martin K. Petersen [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=yq1bmhag3jc.fsf@oracle.com \
--to=martin.petersen@oracle.com \
--cc=bart.vanassche@wdc.com \
--cc=himanshu.madhani@cavium.com \
--cc=jejb@linux.vnet.ibm.com \
--cc=linux-scsi@vger.kernel.org \
/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