googleapis / googleapis/google-cloud-cpp

Incorrect credentials cause a crash while creating `Credentials`.

Aperta
#15,628 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
priority: p2 type: bug
Lingua principale
C++
Stelle
659
Fork
462
Merge medio
1g 2h
PR unite (30g)
89

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.