#1553 closed defect (fixed)

flashdisk.c does not appear to return on errors

Reported by: Joel Sherrill Owned by: Chris Johns
Priority: normal Milestone: 4.10
Component: fs Version: 4.10
Severity: normal Keywords:
Cc: Blocked By:


Coverity is running again. Please check the issues related to this file for more details. There are a couple of places where rtems_fdisk_error() is called
that are not returns but memory is freed:


These are Coverity Views 36 and 37.

I propose the attachment as a solution but have not run it through Coverity. If you approve the fix, I will.

Attachments (1)

fd.diff (772 bytes) - added by Joel Sherrill on Jun 13, 2010 at 2:20:18 PM.
proposed patch

Download all attachments as: .zip

Change History (3)

Changed on Jun 13, 2010 at 2:20:18 PM by Joel Sherrill

Attachment: fd.diff added

proposed patch

comment:1 Changed on Jun 14, 2010 at 12:00:31 PM by Joel Sherrill

Milestone: 4.114.10

comment:2 Changed on Jun 14, 2010 at 12:06:08 PM by Joel Sherrill

Resolution: fixed
Status: newclosed


Note: See TracTickets for help on using tickets.