Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82858 - libtar-1.2.11 has a memory leak
Summary: libtar-1.2.11 has a memory leak
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: SpanKY
URL: http://www.feep.net/libtar/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-21 11:39 UTC by S.Caglar Onur
Modified: 2005-03-01 22:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
libtar-1.2.11.ebuild.diff (libtar-1.2.11.ebuild.diff,714 bytes, patch)
2005-02-21 11:40 UTC, S.Caglar Onur
Details | Diff
libtar-1.2.11.patch (libtar-1.2.11.patch,3.01 KB, patch)
2005-02-21 11:41 UTC, S.Caglar Onur
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description S.Caglar Onur 2005-02-21 11:39:26 UTC
libtar-1.2.11 has a memory leak, attached patch and ebuild solves this problem...
Comment 1 S.Caglar Onur 2005-02-21 11:40:50 UTC
Created attachment 51803 [details, diff]
libtar-1.2.11.ebuild.diff

New ebuild...
Comment 2 S.Caglar Onur 2005-02-21 11:41:16 UTC
Created attachment 51804 [details, diff]
libtar-1.2.11.patch

Memory leak patch...
Comment 3 SpanKY gentoo-dev 2005-02-22 15:02:34 UTC
did you make this patch ?  if not, where did it come from ?

has it been sent upstream ?
Comment 4 S.Caglar Onur 2005-02-23 00:02:14 UTC
Per Lid
Comment 5 S.Caglar Onur 2005-02-23 00:02:14 UTC
Per Lidén [http://www.fukt.bth.se/~per/] wrote this patch, i found it on one of the mailing lists, but not sure which [ saw in a google search ].

I don't know is it send or not to the upstream, but libtar seems me a dead project without a activity for a while [ https://lists.feep.net:8080/pipermail/libtar/index.html ]
Comment 6 SpanKY gentoo-dev 2005-02-28 16:01:00 UTC
only thing about the patch that i noticed after a quick scan is that it isnt thread safe (sticking the memory issues into a func-local static buffer like that is bad for threads)

added it to 1.2.11-r1 ... if you feel like fixing up the patch properly, feel free to re-open :)
Comment 7 S.Caglar Onur 2005-03-01 22:55:00 UTC
I'll be try whenever i found some free-time ( maybe on weekend )