#1316 closed defect (fixed)

_CORE_message_queue_Broadcast truncates message size

Reported by: Nickolay Semyonov-Kolchin Owned by: Joel Sherrill
Priority: normal Milestone: 4.9
Component: score Version: unknown
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

Our partners found that "_CORE_message_queue_Broadcast" behavior is different
from "_CORE_message_queue_Submit": when message size is bigger then maximum
message size in queue:

  • broadcast truncates message to correct size and send it to queue
  • submit returns CORE_MESSAGE_QUEUE_STATUS_INVALID_SIZE

"broadcast" should behave like "submit".

RTEMS versions: all

Patch against current CVS attached.

P.S. I see, only one reason for such "broadcast" behavior: some upper interface (POSIX, ITRON, etc) require it.

Attachments (1)

queue_broadcast.patch (1.2 KB) - added by Nickolay Semyonov-Kolchin on Sep 21, 2008 at 1:37:04 PM.
quick fix

Download all attachments as: .zip

Change History (2)

Changed on Sep 21, 2008 at 1:37:04 PM by Nickolay Semyonov-Kolchin

Attachment: queue_broadcast.patch added

quick fix

comment:1 Changed on Nov 20, 2008 at 5:44:03 PM by Joel Sherrill

Resolution: fixed
Status: newclosed

This PR should have been closed on 26 September when the attached patch was committed to all active branches and the CVS head.

Note: See TracTickets for help on using tickets.