|
|
|
|
|
by Dylan16807
2607 days ago
|
|
It shouldn't be used to explain away security concerns, but it shouldn't be used to overstate security fixes either. You can memset to 0, and on your compiler it might be secure, but it's not enough to keep your security guaranteed against future compilers. There's a reason functions like SecureZeroMemory exist. In a similar situation, you try to prevent leaking secure secrets by zeroing memory before releasing it. But the compiler sees you never use the variable again, and optimizes away the zeroing. The message to take away is not "be less paranoid". It's "be more paranoid". |
|