Linked by Thom Holwerda on Wed 6th May 2009 17:41 UTC, submitted by diegocg
Permalink for comment 362129
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.




Member since:
2006-01-11
While it might be a good idea to put these functions in, because so many want them, I think that they are overrated: they can avoid certain classes of errors, but in many cases string truncation is an error, period, and the real flaw is the use of fixed-length buffers.