[RTEMS Project] #4041: dosfs: Memory leak on failed mount attempts

RTEMS trac trac at rtems.org
Tue Aug 4 06:22:21 UTC 2020

#4041: dosfs: Memory leak on failed mount attempts
  Reporter:  Christian Mauderer  |      Owner:  Christian Mauderer
      Type:  defect              |     Status:  assigned
  Priority:  normal              |  Milestone:
 Component:  fs/fat              |    Version:  5
  Severity:  normal              |   Keywords:
Blocked By:                      |   Blocking:
 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.

 2. User does provide a converter.

 Both have to be handled slightly different.

Ticket URL: <http://devel.rtems.org/ticket/4041>
RTEMS Project <http://www.rtems.org/>
RTEMS Project

More information about the bugs mailing list