Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Chaosvex
8 months ago
|
parent
|
context
|
favorite
| on:
Making memcpy(NULL, NULL, 0) well-defined
Yes, it potentially could be optimised out, which is why platforms provide functions like SecureZeroMemory() for cases where you want to be sure that memory is zeroed out.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: