Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#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:
Blocking:

Description

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:

2577
2589

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 06/13/10 at 14:20:18.
proposed patch

Download all attachments as: .zip

Change History (3)

Changed on 06/13/10 at 14:20:18 by Joel Sherrill

Attachment: fd.diff added

proposed patch

comment:1 Changed on 06/14/10 at 12:00:31 by Joel Sherrill

Milestone: 4.114.10

comment:2 Changed on 06/14/10 at 12:06:08 by Joel Sherrill

Resolution: fixed
Status: newclosed

committed

Note: See TracTickets for help on using tickets.