commit 33c550942db6fa1f76a1581d4bc0d0493aad2fff from: Stefan Sperling date: Thu Nov 21 16:16:55 2024 UTC return an error instead of calling abort() commit - eae27e22da0f76777f865b7ed519858dd06257d1 commit + 33c550942db6fa1f76a1581d4bc0d0493aad2fff blob - fa914b8ce308202083cffc789d731d76717c49d1 blob + 15d340744327d39e2984f932745f65236f95f010 --- gotd/imsg.c +++ gotd/imsg.c @@ -95,7 +95,7 @@ gotd_imsg_recv(struct imsg *imsg, struct imsgbuf *ibuf if (n == -1) return got_error_from_errno("imsg_get"); if (n == 0) - abort(); + return got_error(GOT_ERR_PRIVSEP_READ); } if (imsg->hdr.len < IMSG_HEADER_SIZE + min_datalen)