[all-commits] [llvm/llvm-project] 9db0f9: [scudo] Modify header corrupption error message (#...
Christopher Ferris via All-commits
all-commits at lists.llvm.org
Tue Feb 11 17:41:37 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9db0f91ceb6c5065fa7b119888e0fe15702300d3
https://github.com/llvm/llvm-project/commit/9db0f91ceb6c5065fa7b119888e0fe15702300d3
Author: Christopher Ferris <cferris1000 at users.noreply.github.com>
Date: 2025-02-11 (Tue, 11 Feb 2025)
Changed paths:
M compiler-rt/lib/scudo/standalone/chunk.h
M compiler-rt/lib/scudo/standalone/report.cpp
M compiler-rt/lib/scudo/standalone/report.h
M compiler-rt/lib/scudo/standalone/tests/report_test.cpp
Log Message:
-----------
[scudo] Modify header corrupption error message (#126812)
Update the error message to be explicit that this is likely due to
memory corruption.
In addition, check if the chunk header is all zero, which could mean
corruption or an attempt to free a pointer after the memory has been
released to the kernel. This case results in a slightly different error
message to also indicate this could still be a double free.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list