Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Feb 2023 15:20:51 -0500
From:      Ed Maste <emaste@freebsd.org>
To:        Ed Maste <emaste@freebsd.org>, src-committers@freebsd.org,  dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: 2c709ee70ade - main - libc: handle zero alignment in memalign()
Message-ID:  <CAPyFy2A-dnbrivwZiFoJv4sYL9qyXvoZX2SK-bcd9pEdf30qQg@mail.gmail.com>
In-Reply-To: <20230225012736.PT3cH%steffen@sdaoden.eu>
References:  <202302241821.31OIL4ux075893@gitrepo.freebsd.org> <20230224205001.Fbn1A%steffen@sdaoden.eu> <CAPyFy2D3T6AtK-TYU2HZ9R8QvemC%2B_2pZ52vqANoPOtHhnyuiw@mail.gmail.com> <20230225012736.PT3cH%steffen@sdaoden.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 24 Feb 2023 at 20:27, Steffen Nurpmeso <steffen@sdaoden.eu> wrote:
>
> Me too.  'Was just thinking of allocators which give back valid
> but inaccessible memory for 0 bytes so that each access would
> fault.

The size is not (necessarily) zero though. The alignment requested is.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2A-dnbrivwZiFoJv4sYL9qyXvoZX2SK-bcd9pEdf30qQg>