gh-111089: PyUnicode_AsUTF8AndSize() sets size on error (#111106)
On error, PyUnicode_AsUTF8AndSize() now sets the size argument to -1, to avoid undefined value.
V
Victor Stinner committed
f1e751e933aa8c39c0e9cfa4cdc3f8f9f0538202
Parent: d8f32be
Committed by GitHub <noreply@github.com>
on 10/20/2023, 6:03:11 PM