#1261 closed defect (fixed)

POSIX Semaphore Create -- do not assume memory is zeroed

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

Description

When running on a BSP with dirty memory (e.g. not zeroed at boot time), we discovered that POSIX semaphore create was not initializing all fields in the control block. This could also be tripped by reusing a semaphore control block.

Attachments (2)

pr1261.diff (685 bytes) - added by Joel Sherrill on Sep 14, 2007 at 1:53:55 PM.
fix for 4.7 and CVS head
pr1261-46.diff (686 bytes) - added by Joel Sherrill on Sep 14, 2007 at 1:54:23 PM.
Patch for 4.6 branch

Download all attachments as: .zip

Change History (3)

Changed on Sep 14, 2007 at 1:53:55 PM by Joel Sherrill

Attachment: pr1261.diff added

fix for 4.7 and CVS head

Changed on Sep 14, 2007 at 1:54:23 PM by Joel Sherrill

Attachment: pr1261-46.diff added

Patch for 4.6 branch

comment:1 Changed on Sep 14, 2007 at 1:55:14 PM by Joel Sherrill

Resolution: fixed
Status: newclosed

Patches applied to 4.6 and 4.7 branches as well as CVS head.

Note: See TracTickets for help on using tickets.