commit 912520f90924e85004de91b61dd405d5f0f34390 from: Omar Polo date: Sun Jan 16 15:18:00 2022 UTC kamid: always reply to auth with a struct kd_auth_proc even when the authentication fails commit - 62f663bb4928e430e95b54f7b4f93e3dca991ccf commit + 912520f90924e85004de91b61dd405d5f0f34390 blob - 557c6c924bcce97c4ceaf63fc047a06bab004705 blob + 19d3ae0db232749db5b440e252cf48f93478ad2d --- kamid/kamid.c +++ kamid/kamid.c @@ -384,8 +384,9 @@ err: free(user); if (free_home) free(home); + memset(&rauth, 0, sizeof(rauth)); main_imsg_compose_listener(IMSG_AUTH, -1, imsg->hdr.peerid, - NULL, 0); + &rauth, sizeof(rauth)); } void