We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Here is a link to a number of suggestions I have compiled for hardening of firmware.
I'm pretty sure that a lot can be said about the list, so please post coding tips or links to pages with good information of software hardening.
iapetus.neab.net/.../hardening.html
Doesn't the realiability of systems is highly depending on the defensive codes had been written everywhere? Will systems be failed if some programmers forgot to put these code somewhere?
At least, compiler team should guarantee that the stack is put into ECC memory. Then programmers can only take care about static local variables and global variables. Otherwise, programmers should test any variables one by one everywhere. Eventually, you will not able to find people who want to maintain the source code.