googleapis / googleapis/google-cloud-cpp

Incorrect credentials cause a crash while creating `Credentials`.

オープン
#15,628 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
priority: p2 type: bug
主要言語
C++
スター
659
フォーク
462
平均マージ
1日 2時間
マージ済み PR(30日)
89

説明

**Does this issue affect the google-cloud-cpp project?**
Yes

**What component of `google-cloud-cpp` is this related to?**
Authentication
**Describe the bug**
Providing an incorrect credential file causes a crash.

**To Reproduce** Steps to reproduce the behavior:

1. Call `::google::cloud::MakeServiceAccountCredentials` with unparsable file contents.
2. It will crash.

**Expected behavior**
There should be no crash.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

::google::cloud::MakeServiceAccountCredentials から開始し、解析できない認証情報ファイルの内容がどのように処理されるかを追跡します。無効なファイル内容でクラッシュを再現し、その後、認証情報の作成パスがクラッシュせずに完了することを確認し、該当するテスト箇所が見つかった場合はこのケースのカバレッジを追加または更新します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
cpp
領域
authentication
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。