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

Sam Clegg via All-commits all-commits at lists.llvm.org
Tue Dec 17 01:07:14 PST 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: d2953ab0a79f9f2d2877703dbc235b92541faec9
      https://github.com/llvm/llvm-project/commit/d2953ab0a79f9f2d2877703dbc235b92541faec9
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2024-12-17 (Tue, 17 Dec 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
(cherry picked from commit 5c8fd1eece8fff69871cef57a2363dc0f734a7d1)



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