Skip to content

Fix crash running in restricted environment.

When pwd.h header is not available (i.e. not using glibc) and environment variables are not set (e.g. running via env --ignore-environment) client library would crash due to uninitialized variable in pa_get_home_dir().

Add missing initialization to fix that.

Fixes: #3792 (closed)

Merge request reports