Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1326356

Re: [patch] bfa: use strncpy() instead of memcpy()

From "Martin K. Petersen" <martin.petersen@oracle.com>
Newsgroups linux.kernel
Subject Re: [patch] bfa: use strncpy() instead of memcpy()
Date 2016-02-04 04:00 +0100
Message-ID <qYijf-2w0-1@gated-at.bofh.it> (permalink)
References <qWEQW-4yb-11@gated-at.bofh.it>
Organization Oracle Corporation

Show all headers | View raw


>>>>> "Dan" == Dan Carpenter <dan.carpenter@oracle.com> writes:

Dan> BFA_MFG_NAME is "QLogic" which is only 7 bytes, but we are copying
Dan> 8 bytes.  It's harmless because the badding byte is likely zero but
Dan> it makes static checkers complain.

Applied to 4.6/scsi-queue.

-- 
Martin K. Petersen	Oracle Linux Engineering

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[patch] bfa: use strncpy() instead of memcpy() Dan Carpenter <dan.carpenter@oracle.com> - 2016-01-30 15:40 +0100
  RE: [patch] bfa: use strncpy() instead of memcpy() Anil Gurumurthy <Anil.Gurumurthy@qlogic.com> - 2016-02-03 08:00 +0100
  Re: [patch] bfa: use strncpy() instead of memcpy() "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-02-04 04:00 +0100

csiph-web