Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 563 Bytes

28625-sensitive-data-may-be-retained.md

File metadata and controls

15 lines (10 loc) · 563 Bytes
title description ms.date f1_keywords
C28625 Warning
Warning C28625 Function call used to clear sensitive data will be optimized away.
04/20/2017
C28625

C28625

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.