From MSDN Magazine: Test Your Security IQ
Most C/C++ developers should be able to spot all of the security bugs illustrated in the examples; C# coders would find this very informative.
Try this book:
C++ Gotchas: Avoiding Common Problems in Coding and Design
www.amazon.com/.../0321125185