Skip to content

Conversation

@gorogoro123
Copy link
Contributor

PR対象

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

カテゴリ

  • 改善

PR の背景

CDlgAbout::OnInitDialog() で wcsncpy() 呼び出し、null 文字を設定している。

仕様・動作説明

wcsncpy() を wcsncpy_s() に置換します。

PR の影響範囲

影響なし。

テスト内容

  1. ヘルプ - バージョン情報 を実行し、szMsg の値を確認する。
  2. szMsg のサイズを変更(2048->64)して確認する。

関連 issue, PR

#2153

参考資料

@github-actions
Copy link

Test Results

622 tests  ±0   622 ✅ ±0   1m 28s ⏱️ +3s
 78 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 3be03e8. ± Comparison against base commit e84d39e.

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

Labels

None yet

1 participant