mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
2004-07-24 Joel Sherrill <joel@OARcorp.com>
PR 661/rtems * src/objectmp.c: Fix invalid dereference.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user