+++ This bug was initially created as a clone of Bug #684017 +++ Description of problem: qtree_read_dquot() calls smalloc(info->dqi_entry_size) to allocate memory that is never freed afterwards. --- Additional comment from ppisar on 2011-03-11 09:56:18 GMT --- You are right. The ddquot buffer is allocated, under a condition filled by data and its content parsed and copied into dquot, and then the function exits. So the ddquot buffer should be freed before return. Upstream development version is affected too. --- Additional comment from ppisar on 2011-03-11 10:01:28 GMT --- The same bug is in qtree_write_dquot() in the same file. [...] --- Additional comment from ppisar on 2011-03-11 11:49:18 GMT --- Created attachment 483694 [details] Fix ddquot buffer leak Fix submitted to upstream, it applies to RHEL-6 version cleanly, leaks in both functions are covered. ---- quota-4.00_pre1 in F16--15 is affected too.
quota-4.00-0.9.pre1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/quota-4.00-0.9.pre1.fc15
quota-4.00-0.9.pre1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.