Table of contents
TOC
Collapse the table of content
Expand the table of content

C28625

Last Updated: 11/22/2016

warning C28625: Function call used to clear sensitive data will be optimized away

The current function call might be optimized during compilation, which could make sensitive data stay in memory. Use the SecureZeroMemory or RtlSecureZeroMemory functions instead. A heuristic looks for identifier names that contain items such as "key" or "pass" to trigger this warning.

Send comments about this topic to Microsoft

© 2017 Microsoft