Skip to main content

Timeline for Pointer version of strcat

Current License: CC BY-SA 3.0

3 events
when toggle format what by license comment
Feb 5, 2014 at 13:10 comment added Michael Urman Good points, @Lundin. It doesn't change my stance for the general case, although I might be convinced in bottleneck code if profiles can justify the need.
Feb 5, 2014 at 9:00 comment added Lundin strcat, strcpy and similar functions have never specified or guaranteed any form of internal safety. They are perfectly fine to use, if you actually know what they do. You will indeed have to add buffer size checks outside the functions. So there is no problem with these functions, the core problem you describe is called incompetent programmer who uses functions in his program without knowing what they actually do. No safe version of a function can save you from that problem.
Feb 1, 2014 at 17:07 history answered Michael Urman CC BY-SA 3.0