On a Friday in 2026, Michal Privoznik via Devel wrote:
From: Michal Privoznik <[email protected]>

Simirarly to virAuthGetUsernamePath() check whether callback used
to collect credentials is actually set before calling it. This
bug is easily reproducible, for instance as:

 int credtype[] = { VIR_CRED_PASSPHRASE };
 virConnectPtr conn = virConnectOpenAuth("esx://[email protected]/",
                                         &(virConnectAuth){
                                         .credtype = credtype,
                                         .ncredtype = 1,
                                         .cb = NULL
                                         },
                                         0);

Signed-off-by: Michal Privoznik <[email protected]>
---
src/util/virauth.c | 6 ++++++
1 file changed, 6 insertions(+)


Reviewed-by: Ján Tomko <[email protected]>

Jano

Attachment: signature.asc
Description: PGP signature

Reply via email to