#828 closed defect (fixed)

functions in msdos_misc.c use global variable without explicit locking

Reported by: snob Owned by: Jennifer Averett
Priority: high Milestone: 2
Component: fs Version: 4.6
Severity: critical Keywords:
Cc: bugs@…, vvv@… Blocked By:


Several function in cpukit/libfs/src/dosfs/msdos_misc.c use global buffer fs_info->cl_buf without explicit lock. This lead to situations when cl_buf contents are overwritten from other tasks.

4.6.4, probably all other versions


Nearly impossible. We caught this bug inside complex application.

Attachments (1)

msdos_misc.patch (6.8 KB) - added by snob on Dec 3, 2006 at 1:31:12 PM.

Download all attachments as: .zip

Change History (2)

comment:1 Changed on Oct 6, 2005 at 10:42:39 AM by Victor V. Vengerov

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: This bug is invalid. I'm changing this on behalf of
Nickolay. His comment is:

We were wrong. Semaphores are already hold before functions
from msdos_misc are called. No bug here. Sorry.

Changed on Dec 3, 2006 at 1:31:12 PM by snob

Attachment: msdos_misc.patch added


Note: See TracTickets for help on using tickets.