diff options
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/score/src/objectmp.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index f9442718be..19b183e28a 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,10 @@ 2004-07-24 Joel Sherrill <joel@OARcorp.com> + PR 661/rtems + * score/src/objectmp.c: Fix invalid dereference. + +2004-07-24 Joel Sherrill <joel@OARcorp.com> + PR 660/rtems * score/cpu/m68k/rtems/score/m68k.h, score/cpu/mips/cpu_asm.S, score/src/threadinitialize.c, score/src/threadstackallocate.c: Check diff --git a/cpukit/score/src/objectmp.c b/cpukit/score/src/objectmp.c index 15a358d51b..b71ef500a1 100644 --- a/cpukit/score/src/objectmp.c +++ b/cpukit/score/src/objectmp.c @@ -165,7 +165,7 @@ Objects_Name_or_id_lookup_errors _Objects_MP_Global_name_search ( Objects_MP_Control *the_object; uint32_t name_to_use; - name_to_use = *(uint32_t *)the_name; /* XXX only fixed length names */ + name_to_use = (uint32_t)the_name; /* XXX only fixed length names */ if ( nodes_to_search > _Objects_Maximum_nodes ) return OBJECTS_INVALID_NODE; |