#1890 closed defect (fixed)

mq_receive and mq_timedreceive NULL dereference

Reported by: dufault Owned by: Joel Sherrill
Priority: normal Milestone: 4.11
Component: score Version: 4.11
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

Open group says:
"If the argument msg_prio is not NULL, the priority of the selected message shall be stored in the location referenced by msg_prio"

RTEMS implementation stomps on it. Should go on 4.10 also.

Attachments (2)

mqueurecvsupp.c.patch (694 bytes) - added by dufault on 08/04/11 at 16:59:20.
Don't dereference NULL pointers.
pr1890.diff (2.1 KB) - added by Joel Sherrill on 08/21/11 at 18:32:06.
Adds test case

Download all attachments as: .zip

Change History (5)

Changed on 08/04/11 at 16:59:20 by dufault

Attachment: mqueurecvsupp.c.patch added

Don't dereference NULL pointers.

Changed on 08/21/11 at 18:32:06 by Joel Sherrill

Attachment: pr1890.diff added

Adds test case

comment:1 Changed on 08/21/11 at 18:32:06 by Joel Sherrill

attachments.isobsolete: 01

comment:2 Changed on 08/21/11 at 19:02:39 by Joel Sherrill

Resolution: fixed
Status: newclosed

Committed with test change to all applicable branches.

comment:3 Changed on 11/24/14 at 18:58:28 by Gedare Bloom

Version: HEAD4.11

Replace Version=HEAD with Version=4.11 for the tickets with Milestone >= 4.11

Note: See TracTickets for help on using tickets.