[RTEMS Project] #4007: Add rtems_message_queue_construct()

RTEMS trac trac at rtems.org
Mon Sep 28 05:18:00 UTC 2020


#4007: Add rtems_message_queue_construct()
-----------------------------+------------------------------
 Reporter:  Sebastian Huber  |       Owner:  Sebastian Huber
     Type:  enhancement      |      Status:  accepted
 Priority:  normal           |   Milestone:  6.1
Component:  rtems            |     Version:  6
 Severity:  normal           |  Resolution:
 Keywords:                   |  Blocked By:
 Blocking:                   |
-----------------------------+------------------------------

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

 In [changeset:"fe2cb7c47c9960cd6efbefa2347274c300959e45/rtems"
 fe2cb7c4/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="fe2cb7c47c9960cd6efbefa2347274c300959e45"
 score: Fix allocation size calculation

 The previous multiplication error check is broken on 64-bit machines.  Use
 the
 recommended check from SEI CERT C Coding Standard, "INT30-C. Ensure that
 unsigned integer operations do not wrap".

 Make sure the message size computation does not overflow.

 Update #4007.
 }}}

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


More information about the bugs mailing list