[all-commits] [llvm/llvm-project] 3dd004: [trace][intelpt] Fix out-of-bounds access.

Richard Trieu via All-commits all-commits at lists.llvm.org
Tue May 3 16:21:15 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3dd00461f9cb91a6582653500603882ed1475e51
      https://github.com/llvm/llvm-project/commit/3dd00461f9cb91a6582653500603882ed1475e51
  Author: Weverything <rtrieu at google.com>
  Date:   2022-05-03 (Tue, 03 May 2022)

  Changed paths:
    M lldb/source/Plugins/Process/Linux/Procfs.cpp

  Log Message:
  -----------
  [trace][intelpt] Fix out-of-bounds access.

The StringRef single argument constructor expects a null-terminated
string.  Explicitly pass the size to prevent reading pass the end
of the array.


  Commit: 0e86cddf9880810444418200bcdce22a96d9e91a
      https://github.com/llvm/llvm-project/commit/0e86cddf9880810444418200bcdce22a96d9e91a
  Author: Weverything <rtrieu at google.com>
  Date:   2022-05-03 (Tue, 03 May 2022)

  Changed paths:
    M clang-tools-extra/pseudo/lib/GLR.cpp

  Log Message:
  -----------
  [psuedo] Fix for unused warning by moving code into debug macro.


Compare: https://github.com/llvm/llvm-project/compare/c4e5a24dd67b...0e86cddf9880


More information about the All-commits mailing list