This is the mail archive of the ecos-bugs@sources.redhat.com mailing list for the eCos 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 1000170] SuperH context switch code vulnerable to stack corruption by ISR


http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000170





------- Additional Comments From nickg@ecoscentric.com  2005-18-04 16:30 -------
You are suggesting that certain threads with small stacks might elect to run
with interrupts disabled to avoid having to have enough stack space to handle
interrupts. While that's possible, I'm not sure anyone would do that in real
life since it would play havoc with the realtime response of the system.

However, your suggested patch would allow the above scenario to be implemented,
and it is no worse that any other patch, so yes, no reason not to do it that way.



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


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