It differs from the Oniguruma patch in that it dosen't use onigenc_get_prev_char_head()
because this function's signature has been changed by Oniguruma and the change is not ported
in Onigmo for now. This patch respects the current Onigmo implementation.
Port a Oniguruma patch: Integer overflow in onig_search_gpos()
https://github.com/kkos/oniguruma/commit/778a43dd56925ed58bbe26e3a7bb8202d72c3f3f
It differs from the Oniguruma patch in that it dosen't use
onigenc_get_prev_char_head()
because this function's signature has been changed by Oniguruma and the change is not ported
in Onigmo for now. This patch respects the current Onigmo implementation.
Co-Authored-By: K.Kosako kkos@users.noreply.github.com