This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
[PATCH 0/2] Memory corruption caused by failure to notice architecture change.
- From: "Andrew Burgess" <aburgess at broadcom dot com>
- To: insight at sourceware dot org
- Date: Thu, 5 Sep 2013 15:24:31 +0100
- Subject: [PATCH 0/2] Memory corruption caused by failure to notice architecture change.
- Authentication-results: sourceware.org; auth=none
Turns out that in a particular use case insight does not spot a change
of architecture, and then starts corrupting memory by accessing off the
end of the register cache.
I've got two patches,
[1/2] - Adds an assert that would detect this bug.
[2/2] - My attempt at a fix. I've only had a quick look over the tcl
code, (and I'm no tcl expert), so I suspect some feedback on this one.
Cheers,
Andrew