[all-commits] [llvm/llvm-project] a3a455: [Object] Widen data size calculation to 64-bits to...

Igor Wodiany via All-commits all-commits at lists.llvm.org
Wed Sep 23 04:01:07 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a3a45508d77ca1fa8161c85baaf5e64bc9b8be39
      https://github.com/llvm/llvm-project/commit/a3a45508d77ca1fa8161c85baaf5e64bc9b8be39
  Author: Igor Wodiany <igor.wodiany at amd.com>
  Date:   2026-09-23 (Wed, 23 Sep 2026)

  Changed paths:
    M llvm/include/llvm/Object/DXContainer.h
    M llvm/lib/Object/DXContainer.cpp
    M llvm/lib/Object/MachOObjectFile.cpp

  Log Message:
  -----------
  [Object] Widen data size calculation to 64-bits to prevent overflow (#224635)

This patch widens selected operands of the product calculation to
`size_t`/`uint64_t` to prevent multiplication overflow when a 64-bit
data size or offset is being calculated. This fixes a number of issues
reported by a CodeQL scan.



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