On Mon, Jul 6, 2015 at 11:25 AM, Poul-Henning Kamp <[email protected]> wrote:
> --------
> In message 
> <cabovn9cgc0ckap8um1z3gzawprmrjg-chysrdbf9x+ye_z_...@mail.gmail.com>, Dridi 
> Boukelmoune writes:
>>So, miniobj.h is undefined behaviour, huh.
>
> Uhm no ?
>
> miniobj.h is always used on valid pointers and only cast to the
> type the pointer is supposed to be.
>
> Only if things have already gone horribly wrong would miniobj.h
> risk doing something undefined.

I was referring to question 13 (Null pointer representations)

One of the responses suggests that NULL does not imply (void*)0, which
miniobj.h assumes with memset.

_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to