http://sourceware.org/bugzilla/show_bug.cgi?id=15356
Bug #: 15356 Summary: BFD's decompress_contents can maybe leak memory Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassig...@sourceware.org ReportedBy: tro...@redhat.com Classification: Unclassified BFD's compress.c:decompress_contents has a couple of return paths that do not call inflateReset. I think this can leak memory. A simple fix seems to be replacing "return FALSE" with "break" in both places it appears in the loop; or alternatively calling inflateEnd before each return. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils