[rtems commit] smpmulticast01: Fix NULL pointer access
Sebastian Huber
sebh at rtems.org
Tue Nov 10 12:05:41 UTC 2020
Module: rtems
Branch: master
Commit: dfe6b84d030ab24e4afda7fd357e0bab0778f1e7
Changeset: http://git.rtems.org/rtems/commit/?id=dfe6b84d030ab24e4afda7fd357e0bab0778f1e7
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Nov 10 13:04:55 2020 +0100
smpmulticast01: Fix NULL pointer access
---
testsuites/smptests/smpmulticast01/init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testsuites/smptests/smpmulticast01/init.c b/testsuites/smptests/smpmulticast01/init.c
index 3d24124..96462e3 100644
--- a/testsuites/smptests/smpmulticast01/init.c
+++ b/testsuites/smptests/smpmulticast01/init.c
@@ -295,7 +295,7 @@ static void test_broadcast_body(
clear_ids_by_worker(ctx, worker_index);
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);
}
}
More information about the vc
mailing list