seekdir dereferences null
Schwarz, Konrad
konrad.schwarz@siemens.com
Fri Dec 5 19:54:00 GMT 2008
> -----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);
More information about the Newlib
mailing list