public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Memory corruption caused by failure to notice architecture change.
@ 2013-09-05 14:24 Andrew Burgess
  2013-09-05 14:26 ` [PATCH 1/2] Add an assert that we're not overflowing the register cache Andrew Burgess
  2013-09-05 14:27 ` [PATCH 2/2] Notice architecture changes even when the register window is not open Andrew Burgess
  0 siblings, 2 replies; 8+ messages in thread
From: Andrew Burgess @ 2013-09-05 14:24 UTC (permalink / raw)
  To: insight

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-09-06  9:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-05 14:24 [PATCH 0/2] Memory corruption caused by failure to notice architecture change Andrew Burgess
2013-09-05 14:26 ` [PATCH 1/2] Add an assert that we're not overflowing the register cache Andrew Burgess
2013-09-05 18:55   ` Keith Seitz
2013-09-06  9:36     ` Andrew Burgess
2013-09-05 14:27 ` [PATCH 2/2] Notice architecture changes even when the register window is not open Andrew Burgess
2013-09-05 19:53   ` Keith Seitz
2013-09-06  9:21     ` Andrew Burgess
2013-09-06  9:40     ` Andrew Burgess

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).