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] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LRH.2.20.1707121754520.1175@namei.org>
Date:   Wed, 12 Jul 2017 17:59:31 +1000 (AEST)
From:   James Morris <jmorris@...ei.org>
To:     Stefan Berger <"Stefan Bergerstefanb"@linux.vnet.ibm.com>
cc:     ebiederm@...ssion.com, containers@...ts.linux-foundation.org,
        lkp@...org, linux-kernel@...r.kernel.org,
        James.Bottomley@...senPartnership.com,
        linux-security-module@...r.kernel.org, casey@...aufler-ca.com,
        zohar@...ux.vnet.ibm.com
Subject: Re: [PATCH v2] xattr: Enable security.capability in user
 namespaces

On Tue, 11 Jul 2017, Stefan Berger wrote:

> +	buflen = sizeof("@uid=") - 1 + sizeof("4294967295") - 1 + 1;

Why not strlen() here?

-- 
James Morris
<jmorris@...ei.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ