googleapis / googleapis/google-cloud-cpp

Incorrect credentials cause a crash while creating `Credentials`.

Offen
#15,628 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
priority: p2 type: bug
Vorherrschende Sprache
C++
Sterne
659
Forks
462
Ø Merge
1 T. 2 Std.
Gemergte PRs (30 T.)
89

Beschreibung

**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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.