What is C in practice? (Cerberus survey): Analysis of Responses

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Jul 6 11:25:56 CEST 2015


--------
In message <CABoVN9CgC0Ckap8UM1Z3GZAWprMRjG-chysRdBF9X+Ye_Z_NQQ at mail.gmail.com>, Dridi Boukelmoune writes:
>On Mon, Jul 6, 2015 at 8:06 AM, Nils Goroll <slink at schokola.de> wrote:
>> I just saw this on pgsql-hackers and think it may be of interest:
>> http://www.cl.cam.ac.uk/~pes20/cerberus/notes50-2015-05-24-survey-discussion.html
>
>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.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-dev mailing list