mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
smpmulticast01: Fix NULL pointer access
This commit is contained in:
@@ -295,7 +295,7 @@ static void test_broadcast_body(
|
|||||||
|
|
||||||
clear_ids_by_worker(ctx, worker_index);
|
clear_ids_by_worker(ctx, worker_index);
|
||||||
cpu_self = _Thread_Dispatch_disable();
|
cpu_self = _Thread_Dispatch_disable();
|
||||||
_SMP_Multicast_action(NULL, action, &ctx->id[worker_index][0]);
|
_SMP_Broadcast_action(action, &ctx->id[worker_index][0]);
|
||||||
_Thread_Dispatch_enable(cpu_self);
|
_Thread_Dispatch_enable(cpu_self);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user