Skip to content

gregex: use correct size for pcre2_pattern_info

Mamoru TASAKA requested to merge mtasaka/glib:s390x-gregex-prce2-fix into main

man pcre2_pattern_info says that the 3rd argument must point to uint32_t variable (except for some 2nd argument value), so correctly use it. Especially using wrong size can cause unexpected result on big endian.

closes: #2699 (closed)

Merge request reports