• Martin Blix Grydeland's avatar
    Take sizeof pool_task into account when reserving WS in SES_Wait · e703aa1a
    Martin Blix Grydeland authored
    The assert on WS_ReserveSize() in ses_handle() can not trip because
    sizeof (struct pool_task) is less than sizeof (struct waited). But to safe
    guard against future problems if that were to change, this patch makes
    sure that the session workspace can hold the largest of them before
    entering the waiter, erroring out if not.
    e703aa1a
cache_session.c 14.7 KB