commit 4816cdbcf0f19580c7dbda3eec4b5c7bdafb7d27 from: Stefan Sperling via: Thomas Adam date: Fri Jan 03 10:46:48 2025 UTC make got-read-gitconfig clear its imsgbuf before exit in an error case commit - cf46acf1b409f7987c7dfabdeb6b7f0bbf69a264 commit + 4816cdbcf0f19580c7dbda3eec4b5c7bdafb7d27 blob - bdc1d830b2f6378bb67d9ce8218946696a309d25 blob + 4ac05983cd59f84ead60fa06a07e955c296526be --- libexec/got-read-gitconfig/got-read-gitconfig.c +++ libexec/got-read-gitconfig/got-read-gitconfig.c @@ -357,6 +357,7 @@ main(int argc, char *argv[]) if (pledge("stdio recvfd", NULL) == -1) { err = got_error_from_errno("pledge"); got_privsep_send_error(&ibuf, err); + imsgbuf_clear(&ibuf); return 1; }