Viktor Dukhovni: > On Thu, May 14, 2020 at 10:04:44AM -0400, Wietse Venema wrote: > > > Once a program runs out of stack space, that is is an unrecoverable > > error. > > A cursory glance at the PCRE2 docs suggests that we can ask libpcre > to enforce more conservative limits before it runs out of stack, and > it would presumably then unwind and return a recoverable error.
That looks like a guessing game to me, because I doubt that libpcre really knows how much stack space remains available, as that depends on stack canaries and so on. Who know what happens when it runs out. Then, it will access an invalid page and receive SIGSEGV. Wietse