commit f3204536b82155f22d702679c1d0b0e4bfa50825 from: Stefan Sperling date: Sat Dec 28 13:52:39 2024 UTC make got-read-gotconfig clear its imsgbuf before exit in an error case commit - 4a8b2c410ecba075e6a98ad3b0d658e7037d6643 commit + f3204536b82155f22d702679c1d0b0e4bfa50825 blob - 0621ad9a6a25c713308398a2e153f6b04d0796f8 blob + c7cf9727a6e3f4be0a7d3e1b689f108ee2a99d9c --- libexec/got-read-gotconfig/got-read-gotconfig.c +++ libexec/got-read-gotconfig/got-read-gotconfig.c @@ -503,6 +503,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; } #endif