diff options
Diffstat (limited to 'uring.c')
-rw-r--r-- | uring.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -386,6 +386,8 @@ uring_tbuf_read_until(struct cfg *cfg, struct uring_task *task, static int uring_tbuf_eof(struct cfg *cfg, struct uring_task *task, int res) { + assert_task_alive_or(DBG_UR, task, return -EINTR); + if (task->tbuf->len + 1 >= sizeof(task->tbuf->buf)) return -E2BIG; |