mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-25 22:50:12 -05:00
If there is no client secret specified for the OIDC client, don't push it to oidc_child via stdin. oidc_child does only expect client secret if --client-secret-stdin option was specified and we already specify it only if client secret is not empty. In addition, if client secret is empty (it is a public OIDC client), then strlen(NULL) would crash in glibc internals. Avoid that! Fixes: https://pagure.io/freeipa/issue/9734 Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com>