Re: access of memory beyond allocation, not causing segmentation fault...



Malcolm McLean said:
"Richard Heathfield" <rjh@xxxxxxxxxxxxxxx> wrote in message
news:AsydnR7XEIoDpN_bRVnyvAA@xxxxxxxxx
Malcolm McLean said:

<snip>

As a little intellectual exercise, can you now list some good
arguments for casting malloc()?

No. I tried hard to think of even a single good reason, and failed. P
J Plauger, however, can give one good argument for *P J Plauger*
casting malloc.

I was converted from malloc() casting to non-casting. However, as you
say, some very competent people do retain the cast.

I only know of one competent person who retains the cast. P J Plauger.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
.



Relevant Pages