lists.openwall.net   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  linux-hardening  linux-cve-announce  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]
Message-ID:
 <PRAP189MB1897261C37B1E27196F2188BC6B62@PRAP189MB1897.EURP189.PROD.OUTLOOK.COM>
Date: Fri, 11 Apr 2025 07:54:21 +0000
From: Tung Quang Nguyen <tung.quang.nguyen@....tech>
To: Tung Quang Nguyen <tung.quang.nguyen@....tech>, Kevin Paul Reddy Janagari
	<kevinpaul468@...il.com>, "jmaloy@...hat.com" <jmaloy@...hat.com>,
	"davem@...emloft.net" <davem@...emloft.net>, "edumazet@...gle.com"
	<edumazet@...gle.com>, "kuba@...nel.org" <kuba@...nel.org>,
	"pabeni@...hat.com" <pabeni@...hat.com>, "horms@...nel.org"
	<horms@...nel.org>, "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
	"tipc-discussion@...ts.sourceforge.net"
	<tipc-discussion@...ts.sourceforge.net>, "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>
Subject: RE: [PATCH net-next] Removing deprecated strncpy()

>Subject: RE: [PATCH net-next] Removing deprecated strncpy()
>
>>Subject: [PATCH net-next] Removing deprecated strncpy()
>>
>>This patch suggests the replacement of strncpy with strscpy as per
>>Documentation/process/deprecated.
>>The strncpy() fails to guarantee NULL termination, The function adds
>>zero pads which isn't really convenient for short strings as it may
>>cause performance issues.
>>
>>strscpy() is a preferred replacement because it overcomes the
>>limitations of strncpy mentioned above.
>>
>>Compile Tested
>>
>>Signed-off-by: Kevin Paul Reddy Janagari <kevinpaul468@...il.com>
Sorry, one more nit you need to change: Please append "tipc:" to your subject like this: [PATCH net-next] tipc: Removing deprecated strncpy()

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ