Skip to content

オーバフロー修正 (GetMacroFilename)#2368

Open
gorogoro123 wants to merge 1 commit intosakura-editor:masterfrom
gorogoro123:feature/fix_overflow_GetMacroFilename
Open

オーバフロー修正 (GetMacroFilename)#2368
gorogoro123 wants to merge 1 commit intosakura-editor:masterfrom
gorogoro123:feature/fix_overflow_GetMacroFilename

Conversation

@gorogoro123
Copy link
Contributor

PR対象

  • アプリ(サクラエディタ本体)

カテゴリ

  • 不具合修正

PR の背景

マクロの記録開始/終了で例外が発生する(Debug build)。

仕様・動作説明

オーバフロー (GetMacroFilename) を修正します。

PR の影響範囲

影響なし。

テスト内容

ツール - マクロの記録開始 - マクロの記録終了 を実行し、例外が発生しないことを確認する。
nFolderSep = -1 になる条件の確認は、一部コードを変更して確認する。

関連 issue, PR

#2318

参考資料

https://learn.microsoft.com/en-us/cpp/c-runtime-library/crt-debug-heap-details

@github-actions
Copy link

github-actions bot commented Feb 8, 2026

Test Results

682 tests  ±0   682 ✅ ±0   2m 39s ⏱️ +19s
 83 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 0f18b8d. ± Comparison against base commit 253240f.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 8, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant