https://github.com/jsji closed https://github.com/llvm/llvm-project/pull/129922
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3555,11 +3555,12 @@ static CXIdxClientContainer
makeClientContainer(CXClientData *client_data,
clang_indexLoc_getFileLocation(loc, &file, 0, &line, &column, 0);
len = sizeof(IndexDataStringList) + strlen(name) + digitCount(line) +
-digitCount(column) + 2;
+
@@ -3555,11 +3555,12 @@ static CXIdxClientContainer
makeClientContainer(CXClientData *client_data,
clang_indexLoc_getFileLocation(loc, &file, 0, &line, &column, 0);
len = sizeof(IndexDataStringList) + strlen(name) + digitCount(line) +
-digitCount(column) + 2;
+
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/129922
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jsji updated https://github.com/llvm/llvm-project/pull/129922
>From 7d8157357b4b9ba1462e0b4d0fafa7650d7f6b40 Mon Sep 17 00:00:00 2001
From: Jinsong Ji
Date: Wed, 5 Mar 2025 11:49:19 -0800
Subject: [PATCH 1/2] c-index-test: fix buffer overflow
---
clang/tools/c-index-test/c-i
https://github.com/jsji edited https://github.com/llvm/llvm-project/pull/129922
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Jinsong Ji (jsji)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/129922.diff
1 Files Affected:
- (modified) clang/tools/c-index-test/c-index-test.c (+2-2)
``diff
diff --git a/clang/tools/c-index-test/c-inde
https://github.com/jsji created https://github.com/llvm/llvm-project/pull/129922
None
>From 7d8157357b4b9ba1462e0b4d0fafa7650d7f6b40 Mon Sep 17 00:00:00 2001
From: Jinsong Ji
Date: Wed, 5 Mar 2025 11:49:19 -0800
Subject: [PATCH] c-index-test: fix buffer overflow
---
clang/tools/c-index-test/c