This is a list of resources about programming practices for writing safety-critical software. Disclaimer: I don’t work on safety-critical software so the resources presented here are not necessarily authoritative or latest documents on topic.
https://github.com/stanislaw/awesome-safety-critical
On a related note, SEI just made their Secure C and Secure C++ books freely-available (registration required), those are worth reading:
http://www.sei.cmu.edu/news/article.cfm?assetID=495412
