forked from Imagelibrary/rtems
2011-01-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
* posix/src/psignal.c: Back port patch from head to avoid derefencing NULL.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2011-01-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||
|
||||
* posix/src/psignal.c: Back port patch from head to avoid derefencing
|
||||
NULL.
|
||||
|
||||
2011-01-19 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||
|
||||
* sapi/include/confdefs.h: Account for POSIX threads having a minimum
|
||||
|
||||
@@ -117,12 +117,10 @@ void _POSIX_signals_Post_switch_extension(
|
||||
api = the_thread->API_Extensions[ THREAD_API_POSIX ];
|
||||
|
||||
/*
|
||||
* api cannot be NULL or we would not have registered this API extension.
|
||||
* api may be NULL in case of a thread close in progress
|
||||
*/
|
||||
#if defined(RTEMS_DEBUG)
|
||||
if ( !api )
|
||||
return;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* If we invoke any user code, there is the possibility that
|
||||
|
||||
Reference in New Issue
Block a user