String Handling

Secure Programming HOWTO contains very good chapter about string handling problems. Here's only the basics: