Skip to content

Commit

Permalink
[fix] fixed a bug where oidc-token would segfault
Browse files Browse the repository at this point in the history
  • Loading branch information
zachmann committed Oct 7, 2024
1 parent 0f237ef commit e1b066b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,19 @@
<!-- ### Dependencies -->
<!-- -->

## oidc-agent 5.2.3

### Bugfixes

- Fixed a bug where `oidc-token` would segfault if the account was not known.

## oidc-agent 5.2.2

### Bugfixes

- Fixed a bug where `oidc-agent` would crash due to a segmentation fault if `~/.config/oidc-agent/issuer.config` was not present.

- Fixed a bug where `oidc-agent` would crash due to a segmentation fault if `~/.config/oidc-agent/issuer.config` was not
present.

## oidc-agent 5.2.1

### Bugfixes
Expand Down
2 changes: 1 addition & 1 deletion src/ipc/ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ oidc_error_t ipc_client_init(struct connection* con, unsigned char remote) {
char* path = getRegistryValue(env_var_name);
#else
char* path = oidc_strcopy(getenv(env_var_name));
if (path == NULL) {
if (path == NULL && remote == 0) {
path = defaultSocketPath();
usedDefault = 1;
}
Expand Down

0 comments on commit e1b066b

Please sign in to comment.