Changeset 72dfb96 in rtems


Ignore:
Timestamp:
Jul 14, 2004, 2:32:23 PM (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
e18303d9
Parents:
469c41a
Message:

2004-07-14 Joel Sherrill <joel@…>

PR 651/core

  • src/taskident.c: Add NULL check for id.
Location:
cpukit/rtems
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/ChangeLog

    r469c41a r72dfb96  
     12004-07-14      Joel Sherrill <joel@OARcorp.com>
     2
     3        PR 651/core
     4        * src/taskident.c: Add NULL check for id.
     5
    162004-06-29      Joel Sherrill <joel@OARcorp.com>
    27
  • cpukit/rtems/src/taskident.c

    r469c41a r72dfb96  
    5555  Objects_Name_to_id_errors  status;
    5656
     57  if ( !id )
     58    return RTEMS_INVALID_ADDRESS;
     59
    5760  if ( name == OBJECTS_ID_OF_SELF ) {
    5861    *id = _Thread_Executing->Object.id;
Note: See TracChangeset for help on using the changeset viewer.