[all-commits] [llvm/llvm-project] 560cfd: c-index-test: fix buffer overflow (#129922)

Jinsong Ji via All-commits all-commits at lists.llvm.org
Wed Mar 5 17:52:33 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 560cfd509916cd75bcd79143a91def5f3d8b9ba1
      https://github.com/llvm/llvm-project/commit/560cfd509916cd75bcd79143a91def5f3d8b9ba1
  Author: Jinsong Ji <jinsong.ji at intel.com>
  Date:   2025-03-05 (Wed, 05 Mar 2025)

  Changed paths:
    M clang/tools/c-index-test/c-index-test.c

  Log Message:
  -----------
  c-index-test: fix buffer overflow (#129922)

We should not try to overwrite the pointer of struct, also need to add 1
for end of line.



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