Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Courgette]: Fix applying non-zero offset 255 to null pointer.
Report: "courgette/disassembler_win32.cc:241:44: runtime error: applying non-zero offset 255 to null pointer" courgette::DisassemblerWin32::ParseRelocs courgette::DisassemblerWin32::ExtractAbs32Locations courgette::Disassembler::CreateProgram The fix seems to move bounds check on |relocs_start| before computing |relocs_end|. Bug: 1027893 Change-Id: Iec3f81ab0db077467d28dd8e122aa33d92d52a89 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1960548 Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org> Reviewed-by: Samuel Huang <huangs@chromium.org> Cr-Commit-Position: refs/heads/master@{#723563}
- Loading branch information