forked from Imagelibrary/rtems
2010-09-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
* posix/src/psignal.c: Fixed NULL pointer access.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2010-09-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* posix/src/psignal.c: Fixed NULL pointer access.
|
||||
|
||||
2010-09-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* libfs/src/defaults/default_close.c: Return 0 instead of an error
|
||||
|
||||
@@ -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 ( !api )
|
||||
return;
|
||||
|
||||
/*
|
||||
* If we invoke any user code, there is the possibility that
|
||||
|
||||
Reference in New Issue
Block a user