This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/14546] DWARF unwinder can corrupt probe memory


http://sourceware.org/bugzilla/show_bug.cgi?id=14546

--- Comment #2 from Mark Wielaard <mjw at redhat dot com> 2012-09-05 17:39:26 UTC ---
The following "fixes" it for me:

diff --git a/runtime/unwind/unwind.h b/runtime/unwind/unwind.h
index a11dc48..36a9046 100644
--- a/runtime/unwind/unwind.h
+++ b/runtime/unwind/unwind.h
@@ -332,6 +332,7 @@ struct unwind_state {
 struct unwind_context {
     struct unwind_frame_info info;
     struct unwind_state state;
+    char filler[64];
 };

 static const struct cfa badCFA = { ARRAY_SIZE(reg_info), 1 };

So something is definitely writing beyond the end of the unwind_context.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]