Skip to content
Commit bc575f6d authored by Anton Bikineev's avatar Anton Bikineev Committed by Chromium LUCI CQ
Browse files

PCScan: Detect and crash on double-frees

With quarantine bitmaps there is an easy way to check for double frees.
The cost is only a single extra check on the quarantined free() path.

Big thanks to the Microsoft Offensive Security Research team (Viktor
Brange, Lurene Grenier and Johnathan Norman) for suggesting the idea!

Bug: 11297512
Change-Id: I942f6807337d9929850f5d7dae6ac81d50d7084a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2725511


Commit-Queue: Anton Bikineev <bikineev@chromium.org>
Reviewed-by: default avatarMichael Lippautz <mlippautz@chromium.org>
Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#858965}
parent ad3c6a57
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment