lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 28 Jul 2014 08:39:35 -0700
From:	Stephen Hemminger <>
To:	Rickard Strandqvist <>
Cc:	Jeff Kirsher <>,
	Jesse Brandeburg <>,
	Bruce Allan <>,
	Carolyn Wyborny <>,
	Don Skidmore <>,
	Greg Rose <>,
	Alex Duyck <>,
	John Ronciak <>,
	Mitch Williams <>,
	Linux NICS <>,,,
Subject: Re: [PATCH] net: ethernet: intel: ixgbe: ixgbe_main.c:  Cleaning up
 missing null-terminate in conjunction with strncpy

On Sat, 26 Jul 2014 16:24:36 +0200
Rickard Strandqvist <> wrote:

> Replacing strncpy with strlcpy to avoid strings that lacks null terminate.
> Signed-off-by: Rickard Strandqvist <>
> ---
			   hw->mac.type, hw->phy.type, hw->phy.sfp_type,

This patch doesn't change anything.
Netdev is already zeroed when allocated therefore doing strncpy() guarantees
it will be null terminated.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists