mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 07:46:20 +08:00
2010-08-29 Joel Sherrill <joel.sherrilL@OARcorp.com>
* posix/src/killinfo.c: Ensure interested is non-NULL before using it.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2010-08-29 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||
|
||||
* posix/src/killinfo.c: Ensure interested is non-NULL before using it.
|
||||
|
||||
2010-08-29 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||
|
||||
* libcsupport/src/privateenv.c: Add macro to test status when
|
||||
|
||||
@@ -265,7 +265,7 @@ int killinfo(
|
||||
* If the interested thread is ready, don't think about changing.
|
||||
*/
|
||||
|
||||
if ( !_States_Is_ready( interested->current_state ) ) {
|
||||
if ( interested && !_States_Is_ready( interested->current_state ) ) {
|
||||
/* preferred ready over blocked */
|
||||
DEBUG_STEP("5");
|
||||
if ( _States_Is_ready( the_thread->current_state ) ) {
|
||||
|
||||
Reference in New Issue
Block a user