PyUnicode_AsUTF8AndSize is used when renaming a custom python property, this method stores the size of the string without including the null terminator in the size. Renaming a custom python property now includes the null terminator when copying the new string name. Pull Request: https://projects.blender.org/blender/blender/pulls/107983