[all-commits] [llvm/llvm-project] 6e28ec: [Object][ELF] Ensure offset to locate dyn section ...

Antonio Frighetto via All-commits all-commits at lists.llvm.org
Fri Mar 22 08:34:03 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e28ecd79995a72a8dbde8f16a1afc18309442a1
      https://github.com/llvm/llvm-project/commit/6e28ecd79995a72a8dbde8f16a1afc18309442a1
  Author: Antonio Frighetto <me at antoniofrighetto.com>
  Date:   2024-03-22 (Fri, 22 Mar 2024)

  Changed paths:
    M llvm/lib/Object/ELF.cpp

  Log Message:
  -----------
  [Object][ELF] Ensure offset to locate dyn section does not go past size

Validate `p_offset` in `dynamicEntries` before computing the entry offset.

Fixes: https://github.com/llvm/llvm-project/issues/85568.



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