diff --git a/CHANGELOG.md b/CHANGELOG.md index af231ca1..1847a132 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,12 +12,19 @@ +## 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 diff --git a/src/ipc/ipc.c b/src/ipc/ipc.c index 9fff9e83..3fb59a36 100644 --- a/src/ipc/ipc.c +++ b/src/ipc/ipc.c @@ -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; }