Comment Comment by huhtenberg > Dammit, it is not safe. It hides bugs in programs. If a string is too long for an allocated memory block the copying must not simply silently stop.This is spot on. There are very few cases when silently truncating a copy of a string is an OK thing to do. parent huhtenberg 8 years ago
This is spot on. There are very few cases when silently truncating a copy of a string is an OK thing to do.