[RTEMS Project] #4042: dosfs: Memory leak on failed mount attempts (cloned)
RTEMS trac
trac at rtems.org
Tue Aug 4 06:22:47 UTC 2020
#4042: dosfs: Memory leak on failed mount attempts (cloned)
---------------------------------+--------------------------------
Reporter: Christian Mauderer | Owner: Christian Mauderer
Type: defect | Status: assigned
Priority: normal | Milestone:
Component: fs/fat | Version: 6
Severity: normal | Keywords:
Blocked By: | Blocking:
---------------------------------+--------------------------------
Cloned from #4041:
----
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/4042>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list