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
| ||
|
Message-ID: <5d335794-f8e1-c763-a81e-49413733b696@cn.fujitsu.com> Date: Tue, 12 Dec 2017 09:19:01 +0800 From: Ma Shimiao <mashimiao.fnst@...fujitsu.com> To: Tejun Heo <tj@...nel.org> CC: <lizefan@...wei.com>, <cgroups@...r.kernel.org>, <linux-kernel@...r.kernel.org> Subject: Re: [PATCH] cgroup: limit max copied char length for cgroup file name On 12/11/2017 11:05 PM, Tejun Heo wrote: > On Sat, Dec 09, 2017 at 01:47:58PM +0800, Ma Shimiao wrote: >> the result of cgroup_file_name will be used by kernfs_remove_name, >> and then by kernfs_remove_by_name_ns(). >> If reached the max length, may have problem printed by WARN() in >> kernfs_remove_by_name_ns(). >> >> Signed-off-by: Ma Shimiao <mashimiao.fnst@...fujitsu.com> > > Can we use strscpy() instead? OK, I will update the patch > > Thanks. > -- Ma Shimiao Development Dept.I Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
Powered by blists - more mailing lists