On Sun, May 4, 2014 at 8:26 PM, Jean-Philippe Ouellet
<jean-phili...@ouellet.biz> wrote:
> On Sun, May 04, 2014 at 11:30:40PM +0200, Alexander Hall wrote:
>> NULL theoretically could be != 0
>
> Umm... short of something like:
>     #undef NULL
>     #define NULL "I'm silly and want to break everything"
> or something, I don't see when that'd be the case.

I assumed from context that halex@ was asking about null pointers
having a non-zero memory representation, which is allowed by ISO C and
POSIX.  But all OpenBSD platforms guarantee that all-bits-are-zero
pointer values are null pointers.

I'm almost certain that OpenSSH probably relies on this in places too,
so I think we're fine to rely on it in LibreSSL.

Reply via email to