[RTEMS Project] #3437: Replace use of printk() in free() with a fatal error

RTEMS trac trac at rtems.org
Tue Jun 5 07:13:27 UTC 2018


#3437: Replace use of printk() in free() with a fatal error
-----------------------------+------------------------------
 Reporter:  Sebastian Huber  |       Owner:  Sebastian Huber
     Type:  enhancement      |      Status:  assigned
 Priority:  normal           |   Milestone:  5.1
Component:  unspecified      |     Version:  5
 Severity:  normal           |  Resolution:
 Keywords:                   |  Blocked By:
 Blocking:                   |
-----------------------------+------------------------------

Comment (by Sebastian Huber <sebastian.huber@…>):

 In [changeset:"de9b7d712bf5da6593386fd4fbca0d5f8b8431d8/rtems"
 de9b7d7/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="de9b7d712bf5da6593386fd4fbca0d5f8b8431d8"
 Add RTEMS_FATAL_SOURCE_INVALID_HEAP_FREE

 An invalid heap usage such as a double free is usually a fatal error
 since this indicates a use after free.  Replace the use of printk() in
 free() with a fatal error.

 Update #3437.
 }}}

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


More information about the bugs mailing list