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:
Joel Sherrill
2011-01-21 19:31:34 +00:00
parent ade4940967
commit cfe2ababc0
2 changed files with 7 additions and 4 deletions

View File

@@ -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

View File

@@ -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