* [Bug 49461] scsi/bfa/bfad.c:1037: possible off by one in strncpy ?
[not found] <bug-49461-11613@https.bugzilla.kernel.org/>
@ 2012-10-25 10:51 ` bugzilla-daemon
2013-08-29 4:44 ` bugzilla-daemon
2013-11-19 22:35 ` bugzilla-daemon
2 siblings, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2012-10-25 10:51 UTC (permalink / raw)
To: linux-scsi
https://bugzilla.kernel.org/show_bug.cgi?id=49461
Alan <alan@lxorguk.ukuu.org.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alan@lxorguk.ukuu.org.uk
Component|Other |SCSI
AssignedTo|drivers_other@kernel-bugs.o |linux-scsi@vger.kernel.org
|sdl.org |
Product|Drivers |IO/Storage
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug 49461] scsi/bfa/bfad.c:1037: possible off by one in strncpy ?
[not found] <bug-49461-11613@https.bugzilla.kernel.org/>
2012-10-25 10:51 ` [Bug 49461] scsi/bfa/bfad.c:1037: possible off by one in strncpy ? bugzilla-daemon
@ 2013-08-29 4:44 ` bugzilla-daemon
2013-11-19 22:35 ` bugzilla-daemon
2 siblings, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2013-08-29 4:44 UTC (permalink / raw)
To: linux-scsi
https://bugzilla.kernel.org/show_bug.cgi?id=49461
Jeff Zhou <jz.researcher@yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jz.researcher@yahoo.com
--- Comment #1 from Jeff Zhou <jz.researcher@yahoo.com> ---
In 3.10.9, it is correct:
scsi/bfa/bfad.c : 1036
strncpy(driver_info.os_device_name, bfad->pci_name,
sizeof(driver_info.os_device_name) - 1);
scsi/bfa/bfad.c : 1014
struct bfa_fcs_driver_info_s driver_info;
scsi/bfa/bfa_fcs.h : 672
struct bfa_fcs_driver_info_s {
u8 version[BFA_VERSION_LEN]; /* Driver Version */
u8 host_machine_name[BFA_FCS_OS_STR_LEN];
u8 host_os_name[BFA_FCS_OS_STR_LEN]; /* OS name and version */
u8 host_os_patch[BFA_FCS_OS_STR_LEN]; /* patch or service pack */
u8 os_device_name[BFA_FCS_OS_STR_LEN]; /* Driver Device Name */
};
The copy length here is (BFA_FCS_OS_STR_LEN - 1), which should be.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug 49461] scsi/bfa/bfad.c:1037: possible off by one in strncpy ?
[not found] <bug-49461-11613@https.bugzilla.kernel.org/>
2012-10-25 10:51 ` [Bug 49461] scsi/bfa/bfad.c:1037: possible off by one in strncpy ? bugzilla-daemon
2013-08-29 4:44 ` bugzilla-daemon
@ 2013-11-19 22:35 ` bugzilla-daemon
2 siblings, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2013-11-19 22:35 UTC (permalink / raw)
To: linux-scsi
https://bugzilla.kernel.org/show_bug.cgi?id=49461
Alan <alan@lxorguk.ukuu.org.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |CODE_FIX
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-19 22:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <bug-49461-11613@https.bugzilla.kernel.org/>
2012-10-25 10:51 ` [Bug 49461] scsi/bfa/bfad.c:1037: possible off by one in strncpy ? bugzilla-daemon
2013-08-29 4:44 ` bugzilla-daemon
2013-11-19 22:35 ` bugzilla-daemon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).