summaryrefslogtreecommitdiffstats
path: root/cpukit/score
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2004-07-24 17:39:24 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2004-07-24 17:39:24 +0000
commit8c829996c34cdc80461ca1653f5118b4c294ee32 (patch)
tree6e8d2b845d2018cecbdd53155ac66ff8e0126a07 /cpukit/score
parent2004-07-24 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-8c829996c34cdc80461ca1653f5118b4c294ee32.tar.bz2
2004-07-24 Joel Sherrill <joel@OARcorp.com>
PR 661/rtems * src/objectmp.c: Fix invalid dereference.
Diffstat (limited to 'cpukit/score')
-rw-r--r--cpukit/score/ChangeLog5
-rw-r--r--cpukit/score/src/objectmp.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/score/ChangeLog b/cpukit/score/ChangeLog
index 735ae4e420..6182760b21 100644
--- a/cpukit/score/ChangeLog
+++ b/cpukit/score/ChangeLog
@@ -1,5 +1,10 @@
2004-07-24 Joel Sherrill <joel@OARcorp.com>
+ PR 661/rtems
+ * src/objectmp.c: Fix invalid dereference.
+
+2004-07-24 Joel Sherrill <joel@OARcorp.com>
+
PR 660/rtems
* src/threadinitialize.c, src/threadstackallocate.c: Check for
overflow when allocating stack.
diff --git a/cpukit/score/src/objectmp.c b/cpukit/score/src/objectmp.c
index 1984c8de3f..3fce537a1b 100644
--- a/cpukit/score/src/objectmp.c
+++ b/cpukit/score/src/objectmp.c
@@ -165,7 +165,7 @@ Objects_Name_to_id_errors _Objects_MP_Global_name_search (
Objects_MP_Control *the_object;
unsigned32 name_to_use;
- name_to_use = *(unsigned32 *)the_name; /* XXX only fixed length names */
+ name_to_use = (unsigned32)the_name; /* XXX only fixed length names */
if ( nodes_to_search > _Objects_Maximum_nodes )
return OBJECTS_INVALID_NODE;