Re: X windows vulnerability



Strong typing is for weak minds! :-) I do wish compilers would treat
comparing a pointer to scalar 0 as a type mismatch, though... That's
what NULL is defined for!

.



Relevant Pages

  • Re: X windows vulnerability
    ... comparing a pointer to scalar 0 as a type mismatch, ... On some machines the NULL pointer was not represent by all ...
    (comp.os.vms)
  • Re: X windows vulnerability
    ... comparing a pointer to scalar 0 as a type mismatch, ... On some machines the NULL pointer was not represent by all ...
    (comp.os.vms)
  • Re: Stupid tcl/tcom newbie question
    ... Roy Terry is certainly right that the type mismatch error is a COM ... I'm only a very bad programmer, but 'BYREF' looks to me like a pointer ... Why the index of my tcl book doesn't even contain the word ... clearly the data type returned by the method. ...
    (comp.lang.tcl)
  • Re: Using &array with scanf
    ... Richard Heathfield wrote: ... were it read back into scanf using a %p ... would allow the retrieval of a pointer value which would ... the type mismatch means the behaviour is undefined. ...
    (comp.lang.c)
  • Re: is a pointer memset to zero necessarily eqal to NULL?
    ... They are more worth than the posts from heathfield clique. ... The representation of a null pointer may not be all-bits-zero, ... against 0 is equivalent to comparing against a null pointer). ...
    (comp.lang.c)