Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
Is memcpy secure?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="J. J. Farrell, post: 1698403"] I don't believe it does. It allows pointers to be converted to integers in implementation-defined ways. It's not clear to me that it requires that a big enough integer exists (in C89 at least) and I'd welcome chapter and verse if it does. K&R2's Reference Manual says that converting a pointer to a 'big enough' integer and back again will give a pointer that points to the original object. I can't see how to derive this from the Standard, so chapter and verse would be welcome again if it's there. The Standard does imply that this is the preferred implementation. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Is memcpy secure?
Top