This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
[SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.3-257-g435f53a
- From: fche at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 2 Nov 2010 03:13:04 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.3-257-g435f53a
- Reply-to: systemtap at sourceware dot org
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "systemtap: system-wide probe/trace tool".
The branch, master has been updated
via 435f53a7d750fa27c9a73de4716a62c9363b5a91 (commit)
from af6a67d0f801ad6dbcbd01d4712cba77f1098adf (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 435f53a7d750fa27c9a73de4716a62c9363b5a91
Author: Frank Ch. Eigler <fche@elastic.org>
Date: Mon Nov 1 23:05:56 2010 -0400
fix memory double-free in module_cache
The kmodule.stp test case could evoke a double-free of module-info
structs, since these were shared pointers, and not managed by GC.
Oh yeah, what GC, in the year 2010.
* dwflpp.cxx (dwflpp dtor): Don't delete shared mod_info ptr.
(module_cache dtor): New function.
* dwflpp.h: Declare.
* tapsets.cxx (delete_session_module_cache): New function.
(several::build_no_more): Call it.
(dwarf_build_no_more): Use delete_map<> template.
-----------------------------------------------------------------------
Summary of changes:
dwflpp.cxx | 10 +++++++++-
dwflpp.h | 1 +
tapsets.cxx | 43 ++++++++++++++++++++++++-------------------
3 files changed, 34 insertions(+), 20 deletions(-)
hooks/post-receive
--
systemtap: system-wide probe/trace tool