googleapis / googleapis/google-cloud-cpp

Incorrect credentials cause a crash while creating `Credentials`.

Open
#15,628 2 comments 0 reactions 0 assignees View on GitHub
priority: p2 type: bug
Dominant language
C++
Stars
659
Forks
462
Avg merge
1d 2h
Merged PRs (30d)
89

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.