Skip to content

gunicode: Fix UB in gutf8.c and utf8-pointer test

nightuser requested to merge (removed):fix-utf8-pointer-test into master

There was an UB in gutf8.c when p == str.

Test utf8-pointer failed due to the UB above and aggressive optimizations of str.

Fixes #1917 (closed)

Merge request reports