Recently I’ve re-learning C, partly for fun but also in case I ever need it for work – at my current job or a later one. In the process I’ve come across some articles which may be of use to others who are already programmers but not C experts.
- CERT article on why your compiler might optimise away security functions
- Stackoverflow thread about whether using SecureZeroMemory() makes your program more secure
- Setting pointers to NULL after call to free() – Stackoverflow thread on avoiding dangling pointers
- Open source development using C99
- Visual Studio 2010 doesn’t support variable length arrays (and other parts of C99)
- Top 10 Ways to get screwed by the C programming language
- What is C For?
- Writing Insecure C, Part 1
- Writing Insecure C, Part 2
- Writing Insecure C, Part 3
- Linus Torvalds on Why C++ is a horrible language and C is the only sane choice (not sure I agree with everything he said, but it’s an interesting thread)
- A response to Linus Torvalds on C++
Feel free to leave a comment if I’ve missed off any particularly useful links.