-
Notifications
You must be signed in to change notification settings - Fork 484
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix null dereference when detecting double-free.
In optimized builds, the non-null annotation may keep us from successfully checking whether GetExistingDescriptor returned null. This shouldn't happen in ordinary execution, but it defeats the hardening check. PiperOrigin-RevId: 706021893 Change-Id: Ia4af4a46db5ca8367e10905c7a769c975edd8908
- Loading branch information
1 parent
dda53ae
commit 2005940
Showing
3 changed files
with
30 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters