Of course it is, as it has been in my world since C89. Otherwise memcpy is just memory corruption waiting to happen.https://twitter.com/MalwareMinigun/status/737801492808142848 …
-
-
Replying to @rob_pike
If you accept the overhead of doing the range checks, trap rather than silently doing reverse-order copying - may catch big bugs.
1 reply 0 retweets 1 like -
Replying to @RichFelker @rob_pike
It's extremely rare for overlapping copies to actually make sense, so trapping isn't just portability enforcement...
1 reply 0 retweets 1 like
Replying to @RichFelker @rob_pike
...trapping also catches real bugs where the programmer didn't intend for overlapping objects to happen at all.
5:47 PM - 31 May 2016
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.