mirror of
https://github.com/python/cpython
synced 2024-10-14 11:03:18 +00:00
bpo-38236: Fix init_dump_ascii_wstr() (GH-16333)
Add missing "return;" (to not dereference NULL pointer).
This commit is contained in:
parent
fcdb027234
commit
88e6447451
|
@ -2547,6 +2547,7 @@ init_dump_ascii_wstr(const wchar_t *str)
|
|||
{
|
||||
if (str == NULL) {
|
||||
PySys_WriteStderr("(not set)");
|
||||
return;
|
||||
}
|
||||
|
||||
PySys_WriteStderr("'");
|
||||
|
|
Loading…
Reference in a new issue