Re: QUESTIONS ANSWERED

From: Mike Wahler (mkwahler_at_mkwahler.net)
Date: 06/30/04


Date: Wed, 30 Jun 2004 18:01:50 GMT


<fannyrogers@nc.rr.com> wrote in message
news:U7DEc.73779$2o2.4974000@twister.southeast.rr.com...
> What really causes crop circles?

void main()

> Can a full moon really cause people to act strangely?

Yes, it causes them to dereference null pointers.

> How does mint make your mouth cool?

I dunno, but lint makes my C cool.

-Mike



Relevant Pages

  • Re: Avoiding dereference of NULL pointer
    ... catch-all solution. ... Properly designed code automatically ensures that pointers are not null when de-referenced; there's no need to insert large numbers of explicit tests for NULL except during debugging, when you're trying to figure out the way in which your code is improperly designed. ... I guarantee you that the kind of mistakes that result in attempts to dereference null pointers will not be minor, ... Fix the problems that cause such attempts to happen. ...
    (comp.lang.c)
  • Re: 64b Windows - crashes not detected
    ... address in a 32-bit app running on Win64, but it requires actually having allocated ... at places where I had ever seen a null pointer dereference. ... I have found that some bugs in my code that would happily crash on 32bit windows (Invalid pointers) do not crash on 64bit. ...
    (microsoft.public.vc.mfc)
  • Re: [PATCH 1 of 3] Introduce __memcpy_toio32
    ... it just so happens that GCC will happily treat math on void ... pointers as if they were char pointers. ... the dereference on s above _is_ a compile error - it's void ...
    (Linux-Kernel)
  • Re: Questions about mmap
    ... When I try to dereference those pointers in user space I get a segfault:( ... and will give you an array of kernel pointers. ... If you try to dereference those kernel pointers, yes you should get a segfault ...
    (Linux-Kernel)
  • Re: Wills. How much is?
    ... Just looking over some wills as possible pointers. ... Think I found my 5GGF will, or, as NationalArchives call em, Death Duty Registers.... ... dunno if its the same thing. ...
    (soc.genealogy.britain)