On 2008-03-03 12:37:06 +0100, Sébastien Hinderer wrote: > Vincent Lefevre (2008/03/03 11:32 +0100): > > And what if a part of the code changes? Such tests would allow > > problem detection after such changes. > > Do you mean that every locally-allocated pointer should always be > checked, because the code may change in such a way that the pointer > becomes non-locally allocated, hence risking to be NULL ?
Not all of them. But is there any reason why the check was added here? -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)