Changeset 61541f4 in rtems


Ignore:
Timestamp:
May 8, 2009, 2:13:24 AM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
199ccde
Parents:
c14c2f0
Message:

2009-05-07 Joel Sherrill <joel.sherrill@…>

  • score/src/objectgetnext.c: Add checks for NULL pointers.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rc14c2f0 r61541f4  
     12009-05-07      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * score/src/objectgetnext.c: Add checks for NULL pointers.
     4
    152009-05-07      Sebastian Huber <sebastian.huber@embedded-brains.de>
    26
  • cpukit/score/src/objectgetnext.c

    rc14c2f0 r61541f4  
    6666    Objects_Id       next_id;
    6767
     68    if ( !information )
     69      return NULL;
     70
     71    if ( !location_p )
     72      return NULL;
     73
     74    if ( !next_id_p )
     75      return NULL;
     76
    6877    if (_Objects_Get_index(id) == OBJECTS_ID_INITIAL_INDEX)
    6978        next_id = information->minimum_id;
Note: See TracChangeset for help on using the changeset viewer.