[PATCH] D25199: [ubsan] Sanitize deleted pointers

Matt Gingell via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 4 11:43:40 PDT 2016


Hi Richard,

Thanks for your analysis. 

This patch is intended to mitigate use-after-free bugs. In that context a “define strict behavior for invalid pointer values” we could deploy in production code would be very useful. Maybe calling this a sanitizer is misleading, and instead it could be presented as “change implementation defined behavior to be less convenient but more security friendly."

Matt



More information about the cfe-commits mailing list