]> granicus.if.org Git - python/commit
bpo-32402: io: Add missing NULL check. (GH-4971)
authorINADA Naoki <methane@users.noreply.github.com>
Sun, 24 Dec 2017 01:29:19 +0000 (10:29 +0900)
committerGitHub <noreply@github.com>
Sun, 24 Dec 2017 01:29:19 +0000 (10:29 +0900)
commit4856b0f34a6f4074cd86e66f11a635422374ae98
tree2be2f21d4fcc0535f469e17a2a3c005b425bc66a
parent719ccbca69b21013a783b829de3404b5aa243827
bpo-32402: io: Add missing NULL check. (GH-4971)

_PyUnicode_FromId() may return NULL.

Reported by coverity scan: CID 14268681426867.
Modules/_io/textio.c