[all-commits] [llvm/llvm-project] 654612: [lldb] Fix uninitialized memory access. (#150544)

Jorge Gorbe Moya via All-commits all-commits at lists.llvm.org
Thu Jul 24 22:39:43 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 65461246ff48669f7337f57da1aba2989d6d3dfc
      https://github.com/llvm/llvm-project/commit/65461246ff48669f7337f57da1aba2989d6d3dfc
  Author: Jorge Gorbe Moya <jgorbe at google.com>
  Date:   2025-07-24 (Thu, 24 Jul 2025)

  Changed paths:
    M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.cpp

  Log Message:
  -----------
  [lldb] Fix uninitialized memory access. (#150544)

lldb/test/API/functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump64b.py
fails under msan with uninitialized memory access errors. The problem is
that a few structs are written to the dump without having been fully
initialized. This change makes them default-initialized so dumping the
fields that aren't explicitly written to won't trigger UB.



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