[all-commits] [llvm/llvm-project] 071c62: [lldb] Modernize sprintf in FormatEntity.cpp

Pavel Labath via All-commits all-commits at lists.llvm.org
Mon Dec 19 01:54:23 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 071c62c5d3eda2836174c0de82f6c55b082e26fc
      https://github.com/llvm/llvm-project/commit/071c62c5d3eda2836174c0de82f6c55b082e26fc
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2022-12-19 (Mon, 19 Dec 2022)

  Changed paths:
    M lldb/source/Core/FormatEntity.cpp

  Log Message:
  -----------
  [lldb] Modernize sprintf in FormatEntity.cpp

Avoid buffer overflows with large indexes, and spurious nul characters
with small ones.




More information about the All-commits mailing list