This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: seekdir dereferences null


> -----Original Message-----
> From: newlib-owner@sourceware.org 
> [mailto:newlib-owner@sourceware.org] On Behalf Of duane ellis
> Sent: Friday, December 05, 2008 01:33
> Part of me wants this though... Perhaps - NULL check *COULD* be in a 
> #ifdef DEBUG build ....
> 
> or maybe something like:
> 
>     #if    defined( DEBUG ) || defined( PARMCHECKING_ENABLED)
>     #define    __parmcheck_NOT_NULL(  PTR )   ...
>     #endif
> 

assert (p);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]