[all-commits] [llvm/llvm-project] e8b6fa: [WebAssembly] Add bounds check in parseCodeSection...
DavidKorczynski via All-commits
all-commits at lists.llvm.org
Tue Dec 26 13:32:28 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e8b6fa5f301de4688b7a4bd6c41d30f29f0e2ddd
https://github.com/llvm/llvm-project/commit/e8b6fa5f301de4688b7a4bd6c41d30f29f0e2ddd
Author: DavidKorczynski <david at adalogics.com>
Date: 2023-12-26 (Tue, 26 Dec 2023)
Changed paths:
M llvm/lib/Object/WasmObjectFile.cpp
Log Message:
-----------
[WebAssembly] Add bounds check in parseCodeSection (#76407)
This is needed as otherwise `Ctx.Ptr` will be incremented to a position
outside it's available buffer, which is being used to read values e.g.
https://github.com/llvm/llvm-project/blob/966d564e43e650b9c34f9c67829d3947f52add91/llvm/lib/Object/WasmObjectFile.cpp#L1469
Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28856
Signed-off-by: David Korczynski <david at adalogics.com>
More information about the All-commits
mailing list