[all-commits] [llvm/llvm-project] f4c248: [MC] Prevent multiplication overflow when calling ...

Igor Wodiany via All-commits all-commits at lists.llvm.org
Thu Sep 24 02:44:01 PDT 2026


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

  Changed paths:
    M llvm/lib/MC/MCDwarf.cpp

  Log Message:
  -----------
  [MC] Prevent multiplication overflow when calling `encodeULEB128` (#224647)

`encodeULEB128` takes its `Value` as a 64-bit integer but the
multiplication is done using 32 bits. This fixes two issues reported by
a CodeQL scan however it's unclear how realistic an overflow is in this
case.



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