No PCRE2 uses size_t and it is the same (or similar) not signed type when passed to sljit, so no Undefined Behaviour or overflow. We might keep the limit in PCRE2 though, as it should be IMHO far smaller anyway.
Carlo Car On Tue, Nov 9, 2021 at 10:28 AM Paul Eggert <egg...@cs.ucla.edu> wrote: > > Thanks for reporting that. I installed the attached somewhat-simpler patch. > > Does PCRE2 have a similar bug? If so, I suppose this should be reflected > when we merge in the patch for bug#47264.