[RTEMS Project] #4874: Undefined behaviour

RTEMS trac trac at rtems.org
Thu Mar 9 12:54:46 UTC 2023

#4874: Undefined behaviour
 Reporter:  Daniel Páscoa  |       Owner:  (none)
     Type:  defect         |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  admin          |     Version:
 Severity:  normal         |  Resolution:  wontfix
 Keywords:                 |  Blocked By:
 Blocking:                 |
Changes (by Sebastian Huber):

 * status:  new => closed
 * resolution:   => wontfix


 This was discussed on the RTEMS mailing list some time ago:


 Quite frankly, someone passing a NULL pointer to functions like `void
 rtems_clock_get_monotonic_bintime(struct bintime *time_point)` will also
 use the NULL pointer later. The next release of the pre-qualified RTEMS
 will probably contain the `clock_get()` function which performs these NULL
 pointer checks.

Ticket URL: <http://devel.rtems.org/ticket/4874#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project

More information about the bugs mailing list