Hi all,

I need some enlightenment on buffer overflows; I know the concept and principles that make em "work", but I've never seen an actual extract of code that would be vulnerable...

1- Can anyone post a short example (in C)
2- I was wondering, from what I understand, does it mean that if you use C++ with the string class instead of char arrays (null terminated string) you are safe from buffer overflows (besides other incorrect arrays or pointer handling)?

Thanx

Ammo