[all-commits] [llvm/llvm-project] b8aa19: [Object][DirectX] Fix UB when parsing a DXContaine...

Ilia Kuklin via All-commits all-commits at lists.llvm.org
Mon Jun 1 16:00:46 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8aa19be4846132525b4f65e7bc5369c6693232f
      https://github.com/llvm/llvm-project/commit/b8aa19be4846132525b4f65e7bc5369c6693232f
  Author: Ilia Kuklin <ikuklin at accesssoftek.com>
  Date:   2026-06-02 (Tue, 02 Jun 2026)

  Changed paths:
    M llvm/lib/Object/DXContainer.cpp
    M llvm/unittests/Object/DXContainerTest.cpp

  Log Message:
  -----------
  [Object][DirectX] Fix UB when parsing a DXContainer from a null buffer (#200865)

Adds an additional check that `Src != nullptr` before doing other
operations on it, which caused a UB in one test with #200413.



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