[all-commits] [llvm/llvm-project] 5c8fd1: [lld][WebAssembly] Fix use of uninitialized stack ...

Sam Clegg via All-commits all-commits at lists.llvm.org
Mon Sep 9 09:28:30 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5c8fd1eece8fff69871cef57a2363dc0f734a7d1
      https://github.com/llvm/llvm-project/commit/5c8fd1eece8fff69871cef57a2363dc0f734a7d1
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2024-09-09 (Mon, 09 Sep 2024)

  Changed paths:
    M lld/wasm/SyntheticSections.cpp

  Log Message:
  -----------
  [lld][WebAssembly] Fix use of uninitialized stack data with --wasm64 (#107780)

In the case of `--wasm64` we were setting the type of the init expression
to be 64-bit but were only setting the low 32-bits of the value (by
assigning to Int32).

Fixes: https://github.com/emscripten-core/emscripten/issues/22538



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