Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Ticket #4403: timercreate.patch

File timercreate.patch, 430 bytes (added by Frank Kuehndel, on 05/06/21 at 14:19:12)

Patch which fixes the issue.

  • cpukit/rtems/src/timercreate.c

    diff --git a/cpukit/rtems/src/timercreate.c b/cpukit/rtems/src/timercreate.c
    index a3ece5cc4d..f55cd728d9 100644
    a b rtems_status_code _Timer_Fire_when( 
    140140  if ( !routine )
    141141    return RTEMS_INVALID_ADDRESS;
    142142
     143  if ( !wall_time )
     144    return RTEMS_INVALID_ADDRESS;
     145
    143146  if ( !_TOD_Validate( wall_time ) )
    144147    return RTEMS_INVALID_CLOCK;
    145148