Changeset e8cdda4 in rtems


Ignore:
Timestamp:
Apr 25, 1997, 6:13:49 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
edd12702
Parents:
f8f5106
Message:

Corrected by adding check for NULL address passed into get_status
directive.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/rtems/src/ratemon.c

    rf8f5106 re8cdda4  
    238238  Objects_Locations              location;
    239239  Rate_monotonic_Control        *the_period;
     240
     241  if ( status == NULL )
     242    return RTEMS_INVALID_ADDRESS;
    240243
    241244  the_period = _Rate_monotonic_Get( id, &location );
  • cpukit/rtems/src/ratemon.c

    rf8f5106 re8cdda4  
    238238  Objects_Locations              location;
    239239  Rate_monotonic_Control        *the_period;
     240
     241  if ( status == NULL )
     242    return RTEMS_INVALID_ADDRESS;
    240243
    241244  the_period = _Rate_monotonic_Get( id, &location );
Note: See TracChangeset for help on using the changeset viewer.