|
|
Message-ID: <alpine.DEB.2.21.1910101834570.28972@www.lameter.com>
Date: Thu, 10 Oct 2019 18:35:25 +0000 (UTC)
From: Christopher Lameter <cl@...ux.com>
To: Matthew Wilcox <willy@...radead.org>
cc: Shyam Saini <mayhs11saini@...il.com>, linux-mm@...ck.org,
kernel-hardening@...ts.openwall.com, Kees Cook <keescook@...omium.org>
Subject: Re: [PATCH] slab: Redefine ZERO_SIZE_PTR to include ERR_PTR range
On Thu, 10 Oct 2019, Matthew Wilcox wrote:
> I was wondering about something like that too, but allocating zero bytes
> isn't actually an error, and if we have code that does something like:
True. But it is in a greyzone. You cannot store anything in zero bytes
after all.
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.