Red Hat Bugzilla – Bug 1011817
bridge monitor file forgets to close a file
Last modified: 2015-07-22 02:40:31 EDT
Static analysis and valgrind show a memory leak in bridge(8) tool. The reason is a missing fclose(3) call:
> iproute2-2.6.31/bridge/monitor.c:140:leaked_storage – Variable "fp" going out of scope leaks the storage it points to.
Proposed fix has been submitted to the upstream <http://thread.gmane.org/gmane.linux.network/284884>.
Created attachment 802634 [details]
Patch accepted by upstream as:
Author: Petr Písař <firstname.lastname@example.org>
Date: Wed Sep 25 09:45:45 2013 +0200
iproute2: bridge: Close file with bridge monitor file
Created attachment 805990 [details]
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.