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

#4041 closed defect (fixed)

dosfs: Memory leak on failed mount attempts

Reported by: Christian Mauderer Owned by: Christian Mauderer
Priority: normal Milestone:
Component: fs/fat Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

If the mount for a dosfs (FAT) fails, the converter that is used to encode and decode the file names is not destroyed. That will lead to memory leaks.

Note that there are two cases:

  1. User doesn't provide a converter. In this case a default converter is created implicitly.
  1. User does provide a converter.

Both have to be handled slightly different.

Change History (1)

comment:1 Changed on 08/04/20 at 06:27:45 by Christian Mauderer <christian.mauderer@…>

Resolution: fixed
Status: assignedclosed

In [changeset:"4a2ac5ef8d7e8bac4c63b26420d0df08ce82aa09/rtems" 4a2ac5e/rtems]:

Error: Processor CommitTicketReference failed
/data/trac/repo/rtems.git does not appear to be a Git repository.
Note: See TracTickets for help on using tickets.